Skip to content

Commit

Permalink
fixed examples and installation section
Browse files Browse the repository at this point in the history
  • Loading branch information
dwillis committed Apr 4, 2013
1 parent 567c7fa commit 38d512c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions README.markdown
Original file line number Diff line number Diff line change
@@ -1,26 +1,24 @@
Feedbag
=======

Feedbag is a feed auto-discovery Ruby library. You don't need to know more about it. It is said to be:

> Ruby's favorite auto-discovery tool/library!
Feedbag is a Ruby library for the auto-discovery of syndicated feeds (RSS/Atom).

### Quick synopsis

>> require "rubygems"
=> true
>> require "feedbag"
=> true
>> Feedbag.find "log.damog.net"
=> ["http://feeds.feedburner.com/TeoremaDelCerdoInfinito", "http://log.damog.net/comments/feed/"]
>> Feedbag.find "http://damog.nl/blog"
=> ["http://damog.net/blog/index.rss", "http://damog.net/blog/tags/feed", "http://damog.net/blog/tags/rfeed"]
>> Feedbag.feed?("google.com")
=> false
>> Feedbag.feed?("http://planet.debian.org/rss20.xml")
=> true

### Installation

$ sudo gem install damog-feedbag -s http://gems.github.com/
$ gem install feedbag

Or just grab feedbag.rb and use it on your own project:

Expand Down

0 comments on commit 38d512c

Please sign in to comment.