en:user:rss
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Next revision | |||
— | en:user:rss [2015/06/10 23:29] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== RSS ====== | ||
+ | [[http:// | ||
+ | syndicate your collection' | ||
+ | of new content in their RSS/News Feeds. | ||
+ | |||
+ | If you will be frequently adding new content to a collection, consider enabling RSS. This will | ||
+ | allow your users to ' | ||
+ | |||
+ | ===== Turn on RSS ===== | ||
+ | <TABAREA tabs=" | ||
+ | <TAB> | ||
+ | To turn on RSS for a collection, go to the **Format Features** section of GLI's Format Panel. | ||
+ | Select which page(s) on which you want the RSS link to appear (choose ' | ||
+ | on all pages of the collection). Add the following as the child of the root node (This simply means, | ||
+ | do not put it inside any of the '' | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | In the default interface, the RSS icon will appear in the upper right-hand corner of the web page, | ||
+ | as shown in the screenshot below. Clicking on the icon will present the list of updated content, and allow users to subscribe to the | ||
+ | RSS feed for the collection. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | </ | ||
+ | <TAB> | ||
+ | To turn on RSS for a collection, go to GLI's Format panel' | ||
+ | |||
+ | < | ||
+ | package Global | ||
+ | _optrsslink_ { | ||
+ | _rsslink_ | ||
+ | } | ||
+ | </ | ||
+ | Alternatively, | ||
+ | |||
+ | |||
+ | The RSS icon will appear in the upper right-hand corner of the web page, | ||
+ | as shown in the screenshot below. Clicking on the icon will present the list of updated content, and allow users to subscribe to the | ||
+ | RSS feed for the collection. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ===== Configuring RSS feed info ===== | ||
+ | |||
+ | The data for the RSS feed is generated when the collection is (re)built. A file is created in the index folder of the collection: rss-items.rdf. The format is like: | ||
+ | |||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | The _httpdomain_ and _httpcollection_ macros get replaced with the appropriate url components at runtime. | ||
+ | |||
+ | The title used is dc.Title by default. To change this, you can set the plugout' | ||
+ | |||
+ | Another plugout option for RSS is to disable outputting the rdf file: '' | ||
+ | |||
+ | Note, plugouts are the opposite to plugins. Plugins handle converting document formats to Greenstone' | ||
+ | |||
+ | These plugout options cannot currently be set using GLI. To change them, you will need to edit the collection' | ||
+ | |||
+ | <TABAREA tabs=" | ||
+ | <TAB> | ||
+ | Open up the file // | ||
+ | Inside the // | ||
+ | < | ||
+ | <plugout name=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <TAB> | ||
+ | Open up the file // | ||
+ | < | ||
+ | plugout GreenstoneXMLPlugout -rss_title " | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
en/user/rss.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1