Nucleus RSS/Atom Aggregator 0.10
Wednesday, 3 November 2004
As promised, today I am going to unveil my third Nucleus plugin. It’s called RSS/Atom Aggregator and is a variation of my previous plugin, the RSS/Atoms 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.
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.
- Blake Ross: It’s happening
- Ben Goodger: Slow and Steady, Wins the Race?
- Ian Hickson: Quotations: On the relative use of…
- Asa: a9 toolbar for firefox
- Asa: ask asa answer
- Ian Hickson: SVG 1.2, sources of infinite food, and…
- Asa: talk to the globe
- Asa: seven million downloads
- Asa: 10 days, 10,000 names, $250,000
- Ian Hickson: OS trends?
How to install it
Download the file
XMLPlugins.zip, extract the files and place them into the plugins folder of your nucleus installation. Go to the management console and the plugin section. First of all, install
XMLSupport and finally install
The two plugins should appear in the list of currently installed plugins. In this list you can also edit the options of these plugin. The most important option is the location of the OPML file. By default the plugin assumes you have placed it in the root folder of your Nucleus installation. The default name is
feeds.opml. If you don’t have an OPML file yet, you can use this one for testing.
To actually use the plugin you must edit the skin of your blog. Simply include, in a convenient place the skin var
<%RSSAtomAggregator%>. Nucleus will then replace this with the contents of the feeds.