RSS/RDF Feed Settings

From GeeklogWiki
Jump to: navigation, search

Geeklog can export its headlines to a so-called RSS feed (also known as an RDF feed). This will let you share your news with other sites (Hint: Create a Portal block from Geeklog's Block menu to import RSS/RDF news feeds from other sites).

Starting with Geeklog 1.3.9, RSS feeds can be created and configured from Geeklog's Admin menu ("Content Syndication"). The following settings will only be used as the default settings for any new feeds that you create from the admin panel.
Variable Default Value Description
backend 1 Create an RSS/RDF file for the stories in rdf_file (0=no, 1=yes)
rdf_file HTML path with "/backend/geeklog.rdf" suffix File system path for the RDF file. This file allows you to share your site's headlines with others
rdf_language en-gb Value for the feed's language tag. Depending on your site's language and operating system, this may differ from the language setting in the locale (see above).
Example: The PHP locale setting for German is 'de_DE' while the correct language setting for a German RSS feed would be 'de-DE' (note the dash instead of the underscore).
rdf_limit 10 Limit the number of stories in the RSS feed. If the value for this setting is a number, the feed will hold this many stories. If the number is followed by a lower-case 'h' (e.g. 24h) it denotes the number of hours from which to chose the stories.
rdf_storytext 0 If this value is 1, then the entire introtext of the stories will be included in the RSS feed. Any number greater than one limits the introtext to that many characters (e.g. a value of 80 would only include the first 80 characters from the introtext in the feed). If set to 0, the introtext is not included in the feed.
Back to The Geeklog Configuration File