public
Fork of segfault/mephisto_feedreader
Description: my mephisto feed reader plugin, allows for the display of rss feeds in your layout
Homepage: http://hasno.info
Clone URL: git://github.com/tsykoduk/mephisto_feedreader.git
name age message
file README Loading commit data...
file init.rb
directory lib/
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 development 'Mephisto::Plugins::Feedreader::Schema.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.