Permalink
Browse files

readme

  • Loading branch information...
1 parent 37d11df commit f06f59e656001a1ad85283b2d7f83ba08f917489 Bettina Steger committed Apr 27, 2012
Showing with 11 additions and 1 deletion.
  1. +11 −1 README.md
View
@@ -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

0 comments on commit f06f59e

Please sign in to comment.