X-Git-Url: https://scripts.mit.edu/gitweb/www/ikiwiki.git/blobdiff_plain/5a82103526ab32e018cd999bb6a53d9e097c83a8..8212d05d443f05c8ae63f6b8d4b2c784f4d96150:/doc/plugins/aggregate.mdwn diff --git a/doc/plugins/aggregate.mdwn b/doc/plugins/aggregate.mdwn index a3ef105d6..aab5f079a 100644 --- a/doc/plugins/aggregate.mdwn +++ b/doc/plugins/aggregate.mdwn @@ -1,4 +1,4 @@ -[[template id=plugin name=aggregate included=1 author="[[Joey]]"]] +[[template id=plugin name=aggregate author="[[Joey]]"]] [[tag type/useful]] This plugin allows content from other feeds to be aggregated into the wiki. @@ -8,12 +8,12 @@ Aggregate a feed as follows feedurl="http://example.com/index.rss" url="http://example.com/" updateinterval="15"]] -That example aggregates posts from the expecified RSS feed, updating no +That example aggregates posts from the specified RSS feed, updating no more frequently than once every 15 minutes, and puts a page per post under the example/ directory in the wiki. -You can then use ikiwiki's [[blog]] support to create a blog of one or more -aggregated feeds. +You can then use ikiwiki's [[ikiwiki/blog]] support to create a blog of one or +more aggregated feeds. ## setup @@ -28,6 +28,14 @@ crontab entry: */15 * * * * ikiwiki --setup my.wiki --aggregate --refresh +Alternatively, you can allow `ikiwiki.cgi` to trigger the aggregation. You +should only need this if for some reason you cannot use cron, and instead +want to use a service such as [WebCron](http://webcron.org). To enable +this, enable on `aggregate_webtrigger` in your setup file. The url to +visit is `http://whatever/ikiwiki.cgi?do=aggregate_webtrigger`. Anyone +can visit the url to trigger an aggregation run, but it will only check +each feed if its `updateinterval` has passed. + ## usage Here are descriptions of all the supported parameters to the `aggregate`