Ruby's favorite feed auto-discovery library/tool
Ruby HTML
Switch branches/tags
Nothing to show
Latest commit 1aaa2cf Jun 18, 2017 @damog damog 0.9.8
Permalink
Failed to load latest commit information.
benchmark 0.5.11 Mar 7, 2009
bin 0.6 Mar 6, 2010
lib Update case to use xpath May 23, 2017
rails 0.5.99 May 12, 2009
test Add section to find JSON Feeds. Added test case May 23, 2017
.gitignore adding gems Aug 3, 2014
COPYING This little project has been around for a while now :) Aug 3, 2014
ChangeLog 0.9.8 Jun 18, 2017
Gemfile
Gemfile.lock Add webmock for testing. Set shoulda gem from ~> 0 to ~> 3. May 23, 2017
README.markdown Shipping 0.9.7 Jun 18, 2017
Rakefile updated Rakefile Apr 4, 2013
feedbag.gemspec 0.9.8 Jun 18, 2017

README.markdown

Feedbag

Feedbag is Ruby's favorite auto-discovery tool/library!

Quick synopsis

>> require "feedbag"
=> true
>> Feedbag.find "damog.net/blog"
=> ["http://damog.net/blog/index.rss", "http://damog.net/blog/tags/feed", "http://damog.net/blog/tags/rfeed"]
>> Feedbag.feed? "perl.org"
=> false
>> Feedbag.feed?("http://jobs.perl.org/rss/standard.rss")
=> true

Installation

$ gem install feedbag

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

$ wget http://github.com/damog/feedbag/raw/master/lib/feedbag.rb

You can also use the command line tool for quick queries, if you install the gem:

$ feedbag http://rubygems.org/profiles/damog
== http://rubygems.org/profiles/damog:
 - http://feeds.feedburner.com/gemcutter-latest

Why should you use it?

  • Because it only uses Nokogiri as dependency.
  • Because it follows modern feed filename conventions (like those ones used by WordPress blogs, or Blogger, etc).
  • Because it's a single file you can embed easily in your application.
  • Because it's faster than anything else.

Author

David Moreno <damog@damog.net>.

Donations

Superfeedr

Superfeedr has kindly financially supported the development of Feedbag.

Copyright

This is and will always be free software. See COPYING for more information.