A gem that provides a rack middleware to interract with Superfeedr's API.
Ruby
Latest commit 9c69798 Aug 21, 2015 @julien51 julien51 Merge pull request #29 from shwanton/add-count-to-replay
Add 'count' to replay request params
Permalink
Failed to load latest commit information.
examples 3.0 is ready with tests Jul 29, 2014
lib add count to replay request params if available Aug 19, 2015
test
.document Initial commit to rack-superfeedr. Jan 19, 2012
.gitignore Initial commit to rack-superfeedr. Jan 19, 2012
Gemfile adding replay and improved comments Apr 24, 2015
Gemfile.lock adding replay and improved comments Apr 24, 2015
LICENSE.txt Initial commit to rack-superfeedr. Jan 19, 2012
README.rdoc incrementing version Apr 23, 2015
Rakefile version bump Jan 24, 2014
VERSION version bump May 18, 2015
rack-superfeedr.gemspec Regenerate gemspec for version 0.4.6 May 18, 2015

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.

If you're looking to integrate into a Rails application, we suggest you check this Rails Engine, which is more suited and will handle a lot more things on your behalf!

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.

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 © 2015 Superfeedr. See LICENSE.txt for further details.