Skip to content
Ruby's favorite feed auto-discovery library/tool
Branch: master
Clone or download
Latest commit 2b3048d Mar 9, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
benchmark 0.5.11 Mar 7, 2009
bin 0.6 Mar 6, 2010
img github CDN Jan 13, 2019
lib -> damog@damog.net Mar 9, 2019
rails 0.5.99 May 12, 2009
test Merged damog/feedbag master Jul 26, 2017
.gitignore lock to ignore Jan 13, 2019
COPYING -> damog@damog.net Mar 9, 2019
ChangeLog 0.10 Jan 13, 2019
Gemfile added Gemfile and updated dependencies Apr 4, 2013
README.markdown aws lambda service! Feb 23, 2019
Rakefile updated Rakefile Apr 4, 2013
feedbag.gemspec 0.10 Jan 13, 2019

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/atom.xml"]
>> Feedbag.feed? "perl.org"
=> false
>> Feedbag.feed?("https://m.signalvnoise.com/feed")
=> true

Installation

$ gem install feedbag

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

$ wget https://raw.githubusercontent.com/damog/feedbag/master/lib/feedbag.rb

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

» feedbag https://www.ruby-lang.org/en/
== https://www.ruby-lang.org/en/:
- https://www.ruby-lang.org/en/feeds/news.rss

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.

Web Service

Now you can also POST directly into an AWS Lambda function webservice that runs Feedbag.find(). Don't overuse it. It's here.

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.

You can’t perform that action at this time.