you'll have the following new tags available to you:
- OSFeed uri=""
A container tag representing a feed (RSS or Atom) feed. The "uri" argument is required and should be the URI of the feed.
- OSFeedEntries [ lastn=""]
A container tag that will loop through the entries of the current feed. Entries are returned in the order that they appear. Using "lastn" limits the total number.
The title of the current feed entry within the current OSFeedEntries loop.
The URL of the current feed entry within the current OSFeedEntries loop.
<div class="widget-archive widget"> <h3 class="widget-header">Recently posted on<br/><a href="http://use.perl.org/~markjugg/journal">use.perl</a></h3> <div class="widget-content"> <mt:OSFeed uri="http://use.perl.org/~markjugg/journal/rss"> <ul class="widget-list"> <mt:OSFeedEntries lastn="10"> <li class="widget-list-item"><a href="<mt:OSFeedEntryLink>"><mt:OSFeedEntryTitle></a></li> </mt:OSFeedEntries> </ul> </mt:OSFeed> </div> </div>
(The "OS" in the tag names stands for "open source" and is to avoid conflict with Feeds.App, which uses similar names).
The plugin does use caching and conditional requests to minimize publishing overhead. However, it does not handle periodically rebuilding the site to reflect changes in the feeds. Look into a tool like mt-rebuild to handle that part.
This plugin is free, open source software, and is licensed under the same terms as Perl.