bantic / feeddetector forked from gaustin/feeddetector

A revised and expanded feed detector based on code from Dominiek's post (http://dominiek.com/articles/2007/6/22/detecting-atom-rss-feeds-in-ruby) on detecting feeds.

This URL has Read+Write access

name age message
file README Loading commit data...
file feed_detector.rb
file feed_detector_test.rb
README
Modification of the feed detector done by http://dominiek.com/articles/2007/6/22/detecting-atom-rss-feeds-in-ruby.

Basically it returns all the feeds that it find not just one...

Usage:

FeedDetector.fetch_feed_urls('http://www.rubycorner.com')

returns:

["http://www.rubycorner.com/feeds/updated/atom10", "http://www.rubycorner.com/feeds/updated/rss20"]