From 409b8a1b0f364efb961903f1ec3c64d086e16ebc Mon Sep 17 00:00:00 2001 From: John Cheesman Date: Mon, 17 Feb 2014 06:17:00 +0000 Subject: [PATCH] fixed readme --- readme.md | 12 +++++++++--- rss_content.php | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/readme.md b/readme.md index c71e606..b348cc2 100644 --- a/readme.md +++ b/readme.md @@ -1,5 +1,5 @@ # Pico RSS Content -v1.0.2 +v1.0.3 A simple RSS plugin for [Pico](http://pico.dev7studios.com), import content into any template. @@ -7,14 +7,19 @@ Add rss-content to your plugins directory, set your feed and access the array in ## Installation 1. Download the files and move to `plugins/rss-content` -2. Add the fee URL to `config.php` - $config['rss_feed'] = 'http://myfeed.com'; +2. Add the feed URL to `config.php` 3. Setup a loop in your template + +## Examples +### Feed URL + $config['rss_feed'] = 'http://myfeed.com'; +### Template loop {% for item in rss_content %}

{{ item.title }}

{{ item.description }}

{% endfor %} + ## Properties - title - link @@ -22,6 +27,7 @@ Add rss-content to your plugins directory, set your feed and access the array in - description ## Changelog +- v1.0.3 - fixed readme - v1.0.2 - updated readme - v1.0.1 - added MIT license - v1.0.0 - initial release diff --git a/rss_content.php b/rss_content.php index 794ee98..2cb4f51 100644 --- a/rss_content.php +++ b/rss_content.php @@ -4,7 +4,7 @@ * RSS Content * * @package Pico * @subpackage RSS Content - * @version 1.0.2 + * @version 1.0.3 * @author John Cheesman */ class Rss_Content {