Extension:AgFeed

From MediaWiki.org
Jump to: navigation, search

Other languages:
English • ‎español • ‎italiano • ‎日本語 • ‎português • ‎português do Brasil
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png
AgFeed

Release status:Extension status beta

px
ImplementationTemplate:Extension#type Page action
DescriptionTemplate:Extension#description RSS feed aggregator
Author(s)Template:Extension#username (Cchanteptalk)
MediaWikiTemplate:Extension#mediawiki 1.16.0
PHPTemplate:Extension#php 5.2.x
LicenseTemplate:Extension#license GPL
Download here
ExampleTemplate:Extension#example example 1, example 2

Translate the AgFeed extension if it is available at translatewiki.net

Check usage and version matrix.

What can this extension do?[edit]

AgFeed produce a single RSS feed by aggregated several input RSS feed.

Usage[edit]

You create a new article, insert AgFeed declaration in it.

<agfeed title="Aggregated feed title" desc="Aggregation description">
http://.../input1.rss|category_for_input1
Other_article?action=bullet_feed|category_for_input2
</agfeed>

In this usage example, 2 feeds are aggregated, the first one from external url (http://.../input1.rss), the second from another wiki article («Other article» invoked with bullet_feed action).

Each input feed can be 'tagged' while aggregating with a RSS category, like «category_for_input1» and «category_for_input2» in example.

Then article with AgFeed declaration can be invoked with action=agfeed, so that aggregated feed is rendered.

Download instructions[edit]

You can download AgFeed extension from there.

Installation[edit]

To install this extension, add the following to LocalSettings.phpManual:LocalSettings.php:

require_once("$IP/extensions/AgFeed/AgFeed.php");

Path to temporary directory (used while aggregating), can be changed from system one (PHP sys_get_temp_dir()) to a custom one by editing $agFeedTmpDir in $IP/extensions/AgFeed/AgFeedSettings.php.

See also[edit]