Extension:RSS

The RSS extension displays an RSS feed on a wiki page.

Installation
Note: This extension requires a future version of MediaWiki (version 1.17)! The current version of this extension will not function with the current release of MediaWiki (version 1.16).


 * 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. These parameters are supported:

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

Template Usage
If a template is not specified, then the one in MediaWiki:Rss-item is used. By default this is

This is used by iterating over each &lt;item&gt; of the RSS feed and substituting the value of each element found there, e.g. &lt;title&gt;, &lt;link&gt;, &lt;date&gt;, &lt;author&gt;, etc.

Example
 http://rss.slashdot.org/Slashdot/slashdot 

(The above feed does not appear to work with the version of the RSS extension currently in 1.17.)

Configuration settings

 * $wgRSSCacheAge &mdash; store entries in memcached for this many seconds, defaults to 3600 (one hour).
 * $wgRSSCacheCompare &mdash; Check cached content, if available, against remote. $wgRSSCacheCompare should be set to false or a timeout (less than $wgRSSCacheAge) after which a comparison will be made.
 * $wgRSSFetchTimeout &mdash; read timeout in seconds. Defaults to 5.
 * $wgRSSUserAgent &mdash; User-Agent to use for fetching feeds, defaults to

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.

Change Log

 * original by mutante 25.03.2005
 * extended by Duesentrieb 30.04.2005
 * extended by Rdb78 07.07.2005
 * extended by Mafs 10.07.2005, 24.07.2005
 * extended by Niffler 28.02.2006
 * modified by Dzag 07.2006
 * modified by Alxndr 09.2006
 * modified by Svanslyck 02.2008, replacing all « and » with "
 * This has been updated to work better on newer (1.9) MediaWiki software, with the help of User:Duesentrieb. --CryptoQuick 14:26, 24 January 2007 (UTC)
 * This appears not to be true; I have received numerous emails about it not working with 1.9+. I would love to help debug and fix the extension, but my host has not upgraded to PHP 5 and I'm thus stuck at MediaWiki 1.6.8, so that's as far as this is guaranteed to work properly. If anyone develops a fix, please post a link to it here! &#x2014;Alxndr&#x00a0;(t) 02:02, 16 June 2007 (UTC)
 * I just found this fork that purports to have a fix for the new loss of wfStrEncode. I can't test it though so can anyone else verify that it works? &#x2014;Alxndr&#x00a0;(t) 02:18, 16 June 2007 (UTC)
 * modified by --Wikinaut 11:17, 7 May 2008 (UTC) : changed method to disable chaching; Extension is now compatible to MediaWiki 1.12
 * modified by Cmreigrut 19:05, 19 November 2008 (UTC): added date (if specified) to short output
 * modified by Peter Newman: 03:15, 7 October 2009 (UTC) Added htmlspecialchars escaping to the displayed strings
 * modified by K001 15:15, 26 January 2010 (UTC): version 1.6, added support for date formats

Version 1.7
2010-7-23


 * Cleaned up, included MagpieRSS library and put onto the WMF subversion repository by Jeroen De Dauw
 * i18n file added by TranslateWiki.net people

Version 1.8
2010-10-19


 * Removed dependencies on Snoopy in favor of MediaWiki's internal HttpRequest and removed MagpieRSS (perhaps to be replaced later with SimplePie) because of concerns about MagpieRSS's security problems and lack of maintenance.
 * Added ability to do more with the layout of RSS feeds.