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
tsykoduk (author)
Sun Dec 07 20:42:10 -0800 2008
commit  6519056cab6b227afc5543cc412bea757531a954
tree    e9fbb7c6f8644a2ebeec06971f673c76b0f507a4
parent  af20c86afb6762be136b1467a883855d5002e55d
name age message
file README Sun Dec 07 20:42:10 -0800 2008 added correct directions to README [tsykoduk]
file init.rb Tue Feb 13 14:34:31 -0800 2007 updated to work with the latest mephisto svn tr... [segfault]
directory lib/ Sun Dec 07 20:32:05 -0800 2008 minor bug fixes to get running with mephisto edge. [tsykoduk]
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 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.