Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Bettina Steger committed Apr 27, 2012
1 parent 37d11df commit f06f59e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Expand Up @@ -18,7 +18,17 @@ Or install it yourself as:

## Usage

TODO: Write usage instructions here
FeedDetector.fetch_feed_url('http://blog.dominiek.com/')
=> "http://blog.dominiek.com/feed/atom.xml"

FeedDetector.fetch_feed_url('http://blog.dominiek.com/feed/atom.xml')
=> "http://blog.dominiek.com/feed/atom.xml"

FeedDetector.fetch_feed_url('http://www.flickr.com/photos/dominiekterheide/', :rss)
=> "http://api.flickr.com/services/feeds/photos_public.gne?id=71386598@N00&lang=en-us&format=rss_200"

alternatively you can parse HTML with FeedDetector.get_feed_path(html_data)
see integration test for more examples

## Contributing

Expand Down

0 comments on commit f06f59e

Please sign in to comment.