Skip to content
A Pico plugin for importing rss feed content
Branch: dev
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
index.html
licence
readme.md
rss_content.php

readme.md

Pico RSS Content

v1.0.3

A simple RSS plugin for Pico, import content into any template.

Add rss-content to your plugins directory, set your feed and access the array in a template.

Installation

  1. Download the files and move to plugins/rss-content
  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 %}
        <h2><a href="{{ item.link }}">{{ item.title }}</a></h2>
        <time>{{ item.date }}</time>
        <p>{{ item.description }}</p>
    {% endfor %}

Properties

  • title
  • link
  • date (formatted by $config['date_format'])
  • description

Changelog

  • v1.0.3 - fixed readme
  • v1.0.2 - updated readme
  • v1.0.1 - added MIT license
  • v1.0.0 - initial release
You can’t perform that action at this time.