This is a plugin for Kirby that generates RSS feeds for any set of pages.
Put the feed
folder in /site/plugins
.
You can use this in a template for a dedicated feed page or in a template controller.
<?php
echo page('blog')->children()->visible()->flip()->limit(10)->feed(array(
'title' => 'Latest articles',
'description' => 'Read the latest news about our company',
'link' => 'blog'
));
Check out the $defaults array in feed.php for more options.
Bastian Allgeier http://getkirby.com