This post originated from an RSS feed registered with Ruby Buzz
by Adam Green.
Original Post: Revised config file
Feed Title: ruby.darwinianweb.com
Feed URL: http://www.nemesis-one.com/rss.xml
Feed Description: Adam Green's Ruby development site
I had to add a few more values to rubyriver.yml, so here is the revised version. It looks like this code will be generic enough to be used for lots of aggregation tasks, so I'm storing the site title and other info outside of the code. This will also help with localization in other languages. It is strange that Ruby is a Japanese product, but there doesn't seem to be much recognition of this fact in the English speaking Ruby community. XML may be in English, but there is no reason why English has to be in the text published for human consumption.
There are also two output files: publishedfeed and internalfeed. I realized that I wanted to keep some information with each post in the merged feed that isn't in the RSS spec. The internalfeed will have these extra values and will only be read by the RubyRiver page generator code. The published feed will be standard RSS 2.0 for use by anyone who wants to use the combined feed in their own aggregator.
rubyriver.yml
# configuration settings for RubyRiver aggregator
sitetitle: RubyRiver News Aggregator sitelink: http://rubyriver.org sitedescription: Fresh Ruby news gathered every hour sitelanguage: en-us sitecopyright: Copyright 2006 Adam Green