Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A gem that provides a rack middleware to interract with Superfeedr's API.
branch: master
Failed to load latest commit information.
examples
lib
test 3.0 is ready with tests
.document Initial commit to rack-superfeedr.
.gitignore
Gemfile 3.0 is ready with tests
Gemfile.lock 3.0 is ready with tests
LICENSE.txt
README.rdoc
Rakefile
VERSION 3.0 is ready with tests
rack-superfeedr.gemspec

README.rdoc

rack-superfeedr

A gem that provides a rack middleware to interact with Superfeedr 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!

Installing

gem install rack-superfeedr

Using

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.

Sinatra

See the example… and check the docs for more details.

Rails

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

Contributing

  • 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

Copyright © 2014 Superfeedr. See LICENSE.txt for further details.

Something went wrong with that request. Please try again.