Feeds¶
Feeds provide a global overview over the site or a collection, typically in the form of a sitemap file or a RSS feed.
Definition¶
A feed definition consists of:
The type of the feed to be generated.
The output path.
An optional limit on the number of elements that will be included in the feed.
An optional collection to restrict the feed to.
Example¶
rss:
collection: blog
path: /rss.xml
limit: 10
json:
collection: blog
path: /feed.json
limit: 10
sitemap:
path: /sitemap.xml
This file will generate three feeds, one RSSFeedNode
which uses the last 10 posts of the blog
collection, one JsonFeedNode
with the same configuration, and finally one SitemapXmlFeedNode
for the whole site.