DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:feedaggregator

feedaggregator Plugin

Compatible with DokuWiki

  • 2017-02-19 "Frusterick Manners" unknown
  • 2016-06-26 "Elenor Of Tsort" unknown
  • 2015-08-10 "Detritus" yes
  • 2014-09-29 "Hrun" yes

plugin A plugin for aggregating multiple news feeds onto a single wiki page.

Last updated on
2015-12-17
Provides
Syntax, Action
Repository
Source

Tagged with embed, feed, news, rss, simplepie

Installation

Install using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

The actual retrieval of the feeds is done by browsing to http://example.org/dokuwiki/?do=feedaggregator. This URL should be pinged regularly by cron or some quasi-cron web service; see the Automating section below for more information.

Usage

See the plugin in action here.

Define the feeds to be included with one URL on each line:

~~NOCACHE~~
<feedaggregator>
http://www.theguardian.com/uk/technology/rss
http://rss.slashdot.org/Slashdot/slashdotMain
</feedaggregator>

Note the use of ~~NOCACHE~~.

For other configuration options, please see the plugin's section in your site's Configuration Manager.

Automating

The feed-update URL should be called regularly by a cron (or other task-scheduling) service. If you set up a system to do this, then you should set a token in the plugin configuration; this will prevent the possibility of other requests wasting system resources by also requesting this URL.

An example cron entry looks like the following:

34 * * * * curl --silent http://example.org/dokuwiki/?do=feedaggregator&token=tok123

If you use an automated update system, then you can do away with ~~NOCACHE~~ in the page text and instead force-purge the cache after the update operation. To do this, add a second cron entry similar to the following:

44 * * * * curl --silent http://example.org/dokuwiki/news?purge=true 

Change Log

plugin/feedaggregator.txt · Last modified: 2016-01-03 07:29 by Aleksandr