I’d like to figure out how to get new posts on my sites to ping a PubSubHubBub hub, which will then notify its subscribers of the new content. This will allow near-real time updates of services such as Google Reader and Twitterfeed of new content updates.
I’ve already gotten it to work with manual pings, which are quite simple to produce from the shell. After posting new content I can just do something like this:
curl -X POST http://<your-hub-name>.superfeedr.com -d"hub.mode=publish” -d"hub.url=http://<a-feed-url>” -D-
And I get immediate updates fed to social media by Twitterfeed, which is subscribed to my feeds via my hub.
But how can I get this to all happen automatically? Are there any add-ons or plug-ins that already do something like this?