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) Place the following text in your LocalSettings.php file: require_once("$IP/extensions/RSS/RSS.php");
 * 2) 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
The RSS extension renders feeds on wiki page by using two templates in the MediaWiki system namespace, which can be changed, or which wiki admins can redirected to user-editable namespaces. The mechanism is perhaps not easy to understand, but after its installation, the extension starts with a useful set of templates; a manual set-up is not required.

If a template is not specified, then the one in MediaWiki:Rss-item is used and determines only which RSS feed channel subelements (items) are used. The other template MediaWiki:Rss-feed determines how the complete feed is shown on wiki pages i.e. how and which channel items are shown are listed.

This is the template MediaWiki:Rss-item (since version 1.90) which determines which item elements are used

The selected items are passed to the other template MediaWiki:Rss-feed (since version 1.90) 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.

Basic MediaWiki:Rss-item template:
 *  [ ] 

An alternative improved MediaWiki:Rss-item template requires the Extension:ParserFunctions: \
 *  [ ]  \

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 - a solved problem
This was an old and ubiquitous problem, which is solved now. Former versions could not parse ATOM feeds and suffered from other HTTP fetch related problems. Problems have been solved in r112465 version 2.10 in February 2012.

Technical history and attributions
RSS extension is a heavily modified version of the engines RSS by Mafs, RSS by Rdb78, RSS by Duesentrieb, and RSSFeed by Mutante.