A gem that provides a rack middleware to interact with Superfeedr[http://superfeedr.com/]‘s PubSubHubbub API. It let you subscribe, unsubscribe and receive incoming feed notifications. This should work with any Rack-compatible framework, as well as fully managed platforms like Heroku.
Warning : version 0.3 (July 2014) introduces a lot of breaking changes compared to previous versions. Upgrade carefully!
gem install rack-superfeedr
You first need a subscriber account with Superfeedr.
Warning : your web application needs to be accessible for Superfeedr to send notifications. If you want to test it locally, we suggest you use it with a tool like Passsageway which will make your local port accessible from the outside world.
Tested with Rails 3.2, but should work with any Rails version that supports Rack.
Install the gem (using bundle), and then in
config/application.rb, inside the
class Application <
Rails::Application block, just add the following line.
config.middleware.use Rack::Superfeedr do |superfeedr| ... end
Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
Fork the project
Start a feature/bugfix branch
Commit and push until you are happy with your contribution
Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
Copyright © 2014 Superfeedr. See LICENSE.txt for further details.