Skip to content

my mephisto feed reader plugin, allows for the display of rss feeds in your layout

Notifications You must be signed in to change notification settings

segfault/mephisto_feedreader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

my mephisto feed reader plugin, allows for the display of rss feeds in your layout

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages