sterzycom/site/plugins/feed
2016-12-26 14:54:18 +01:00
..
feed.php add stuff from untracked projects 2015-11-29 20:38:31 +01:00
readme.md add stuff from untracked projects 2015-11-29 20:38:31 +01:00
template.php fix feed issue 2016-12-26 14:54:18 +01:00

RSS Feed Plugin

This is a plugin for Kirby that generates RSS feeds for any set of pages.

Installation

Put the feed folder in /site/plugins.

How to use it

You can use this in a template for a dedicated feed page or in a template controller.

Example usage

<?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.

Author

Bastian Allgeier http://getkirby.com