Extension:RSS

The RSS extension displays one or more RSS feeds on a wiki page in a standard or user-definable format. Since version 2.00, the extension is also compatible with wiki-page-generated feeds (RSS or ATOM).

Installation

 * 1) Download the files into
 * 2) Place the following text in your LocalSettings.php file: require_once("$IP/extensions/RSS/RSS.php");
 * 3) Installation can now be verified through your wiki's Special:Version

Usage
Use one section between -tags for each feed. The rss element may contain parameters if you provide them as attributes to the rss element:

This extension supports filtering-out (i.e. ) items based on title when in short list mode.

Templates for channel subelements and styling the RSS Feed
If a template is not specified, then the one in MediaWiki:Rss-item is used and determines which RSS feed channel subelements (items) are used.

This is by default (until extension version 1.8)

This is the new template, suggested and proposed for implementation in version 1.9+

The selected items are passed to another template Template:RSSPost which determines how the RSS Feed is rendered on the wiki pages. It iterates over each &lt;item&gt; of the RSS feed and substitutes the value of each element found there, e.g. &lt;title&gt;, &lt;link&gt;, &lt;date&gt;, &lt;author&gt;, etc.

Example
The following code renders the three recent items of the wikimedia blog feed on the present page and highlights some terms. The layout depends on the content of feed template Template:RSSPost and also of the item template MediaWiki:Rss-item as mentioned above: http://blog.wikimedia.org/feed/ http://blog.wikimedia.org/feed/

It does not work: Message "Error parsing XML for RSS" shown

 * solved in r112465 Version 2.10.

Technical history
RSS extension is a modified version of
 * the RSS engine from Mafs, which is a modified version of
 * the RSS engine from Rdb78, which is a modified version of
 * the RSS engine from Duesentrieb, which is a modified version of
 * the RSS-feed extension by Mutante.