Extension:FeedImport

What can this extension do?
Integrates an RSS or Atom feed into a Mediawiki page. It's based on Extension:GISWiki/RSS and additionally supports the use of Mediawiki templates to render the feed items.

Installation

 * Install magpie
 * copy feedimport.php into your extension directory.
 * edit the MAGPIE_DIR variable according in feedimport.php

Parameters

 * template: the MW template to use. The template should support the parameters title, description, dc_creator, date and link
 * nodate: don't display an item's date. default: off
 * date_format: a format string accepted by PHP's date function

Embedding the feed
http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/world/rss.xml|template=Template:BBC

The Template

 * [ ]

Code
Download from SVN or use the following code. SVN is guaranteed to be current.

Please add improvements to the code below.