NP_RSSAtomAggregator.php

A variation of RSS/Atom Reader. Instead of reading a single feed it can read multiple feeds and combine them into a single list. With this plugin you can simply include a single list of current newsitems from your favorite sites.

General Plugin info
Current Version: 0.14
Download: XMLPlugins.zip [272Kb]
Forum Thread: http://forum.nucleuscms.org/viewtopic.php?t=5077
Author: Rakaz

Installing

  1. Unzip the file and upload the contents to your plugin directory
  2. Install the plugin…

How to use the plugin

RSS/Atom Aggregator is based on another XML standard, OPML. Each of the feeds you want to show are read from this OPML file and fetched from the correct location, combined and sorted by date. If you don't have any OPML files, or if you simply do not want to use an OPML file, you can also specify the feeds you want to feature manually. The format to do this is as follows: each feed must be on a single line. First you have to specify the name of the feed, a “|” and finally the URL of the feed. For example:

Asa|http://weblogs.mozillazine.org/asa/index.rdf
Ben Goodger|http://weblogs.mozillazine.org/ben/index.rdf
Blake Ross|http://www.blakeross.com/index.rdf
Blogzilla|http://www.deftone.com/blogzilla/index.xml
Daniel Glazman|http://glazman.org/weblog/dotclear/rss.php?cat=Mozilla
David Hyatt - Safari|http://weblogs.mozillazine.org/hyatt/blogger_rss.xml
Henrik Gemal|http://gemal.dk/blog/categories/mozilla/index.xml
Ian Hickson|http://ln.hixie.ch/rss/html

The feeds that are parsed are cached, to ensure the website providing the feed isn't sending unnecessary data evertime somebody visits your site. It is also possible to change the maximum age of a cached feed. In addition to this, In addition to this there is also support for ETag headers, which will lead to a reduction in bandwidth usage when the cache is expired, but the feed does not contain any new items.

Additional information is available on Rakaz' weblog.

Available SkinVars and/or TemplateVars

  • <%RSSAtomAggregator%>
    Insert an aggregated RSS or Atom feed into your weblog.

Bugs

The latest version of this plugin contains a rather large charset conversion library. The next version of this plugin will not use this external library anymore, but instead will depend on the iconv or mbstring PHP extension.

History

  • [Version 0.14]
    • Again rewritten large parts of the charset conversion
  • [Version 0.13]
    • Replaced code for charset conversion with faster optimized version
  • [Version 0.12]
    • Added proper support for UTF-8 encoded RSS and Atom feeds
    • Added charset conversion for more exotic feeds
  • [Version 0.11]
    • Changed version number to reflect updated XMLSupport
  • [Version 0.10]
    • Large rewrite of the plugin code
    • Reorganized template settings
    • Now making use of the TEMPLATE class to fill values in templates
  • [Version 0.9.1]
    • Added error reporting for OPML parsing
  • [Version 0.9.0]
    • Initial release
rssatomaggregator.txt · Last modified: 2006/07/05 13:03 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki