Skip to content

Instantly share code, notes, and snippets.

@mahmoud
Created February 7, 2012 06:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mahmoud/1757854 to your computer and use it in GitHub Desktop.
Save mahmoud/1757854 to your computer and use it in GitHub Desktop.
superfeedr derp stuff
# subscribe
curl http://pythondoeswhat.superfeedr.com/ --basic -d"hub.mode=subscribe" -d"hub.verify=sync" -d"hub.callback=http://makuro.org:7777/callback" -d"hub.topic=http://www.pythondoeswhat.com/feed/rss.xml" -D-
# ping
curl -X POST http://pythondoeswhat.superfeedr.com -d"hub.mode=publish" -d"hub.url=http://www.pythondoeswhat.com/feed/rss.xml" -D-
# unsubscribe
curl http://pythondoeswhat.superfeedr.com/ --basic -d"hub.mode=unsubscribe" -d"hub.verify=sync" -d"hub.callback=http://makuro.org:7777/callback" -d"hub.topic=http://www.pythondoeswhat.com/feed/rss.xml" -D-
@mahmoud
Copy link
Author

mahmoud commented Feb 7, 2012

For my informations:

What's the difference between the default hub and other hubs that Superfeedr hosts?
Superfeedr hosts several hubs for several publishers, including Tumblr, Posterous and many others. These hubs work exactly like you expect and as defined in the spec. Then, we have the default which works with any feed, as well as with the track feeds. It uses the exact same protocol, API. The only different is that you have to use HTTP Basic Auth to susbcribe to these feeds. This means that you can't use the feeds that get their updates with the default hub on applications like Google Reader (as Google Reader does not have a Superfeedr account!)

(from: http://blog.superfeedr.com/frequently-asked-questions.html)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment