This post originated from an RSS feed registered with Ruby Buzz
by Adam Green.
Original Post: Limiting feed formats
Feed Title: ruby.darwinianweb.com
Feed URL: http://www.nemesis-one.com/rss.xml
Feed Description: Adam Green's Ruby development site
One way of dealing with the number of RSS formats and invalid implementations of these formats is to start with a restricted set. I'm going to limit the first version of RubyRiver to valid RSS 2.0 feeds with a date in each item.I'll use FeedValidator.org to check the feeds. To make it easier for people to use the first version of the RubyRiver code with their own collection of feeds I can write a very simple validator that looks for the elements I need. When I rewrite the code to use OOP later, expanding the number of formats supported will make a good example for inheritance.