1 The `aggregate` directive is supplied by the [[!iki plugins/aggregate]] plugin.
3 This directive allows content from other feeds to be aggregated into the wiki.
4 Aggregate a feed as follows:
6 \[[!aggregate name="example blog" dir="example"
7 feedurl="http://example.com/index.rss"
8 url="http://example.com/" updateinterval="15"]]
10 That example aggregates posts from the specified RSS feed, updating no
11 more frequently than once every 15 minutes (though possibly less
12 frequently, if the cron job runs less frequently than that), and puts a
13 page per post under the example/ directory in the wiki.
15 You can then use ikiwiki's [[ikiwiki/blog]] support to create a blog of one or
16 more aggregated feeds. For example:
18 \[[!inline pages="internal(example/*)"]]
22 Here are descriptions of all the supported parameters to the `aggregate`
25 * `name` - A name for the feed. Each feed must have a unique name.
27 * `url` - The url to the web page for the feed that's being aggregated.
29 * `dir` - The directory in the wiki where pages should be saved. Optional,
30 if not specified, the directory is based on the name of the feed.
31 * `feedurl` - The url to the feed. Optional, if it's not specified ikiwiki
32 will look for feeds on the `url`. RSS and atom feeds are supported.
33 * `updateinterval` - How often to check for new posts, in minutes. Default
35 * `expireage` - Expire old items from this feed if they are older than
36 a specified number of days. Default is to never expire on age.
37 * `expirecount` - Expire old items from this feed if there are more than
38 the specified number total. Oldest items will be expired first. Default
39 is to never expire on count.
40 * `tag` - A tag to tag each post from the feed with. A good tag to use is
41 the name of the feed. Can be repeated multiple times. The [[tag]] plugin
42 must be enabled for this to work.
43 * `template` - Template to use for creating the aggregated pages. Defaults to
46 Note that even if you are using subversion or another revision control
47 system, pages created by aggregation will *not* be checked into revision