Created
February 7, 2012 06:56
-
-
Save mahmoud/1757854 to your computer and use it in GitHub Desktop.
superfeedr derp stuff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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)