Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
my mephisto feed reader plugin, allows for the display of rss feeds in your layout
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
README
init.rb

README

rss feed display plugin for Mephisto
==================================================

You can display feeds in your templates


Install
==========
   ruby script/install svn://hasno.info/mephisto/plugins/feedreader
   ruby script/runner -e production 'Mephisto::Plugins::Feedreader.install'



Usage
==========

The plugin makes a new liquid template tag 'feedreader':

   <ul>
   {% feedreader url: 'http://digg.com/', max: 15 as link %}
     <li><a href="{{ link.href }}">{{ link.description }}</a> {{ link.extended }}</li>
   {% endfeedreader %}
   </ul>

Other Liquid variables that may be available depending on what a feed item named 'link'
may provide:

link.title (same as description)
link.summary (used if the feed provides a summary or excerpt)
link.author_name
link.author_email 
link.author_href


(C) Mark Guzman 2006-2007, under an MIT license.
Something went wrong with that request. Please try again.