Extension:RSS

The RSS extension renders ("displays") one or more RSS feeds on a wiki page in a standard or user-definable format. Since version 2.00, the extension is compatible with Extension:WikiArticleFeeds which generates RSS or ATOM feeds from MediaWiki pages (authoring tool).

This extension can only read wiki feeds and cannot handle real RSS feeds.

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 four 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/

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.