PuSH Bot: PubSubHubbub to XMPP Gateway #

When XMPP support in Google App Engine was announced, it occurred to me that it would be pretty easy to use it to do a PubSubHubbub-to-XMPP bridge. Other things came up, but I was reminded again of the possibility when a "Oh, you didn't you see my Reader share?" conversation happened in a Partychat room. A bit of searching turned up someone else with the same idea, except it wasn't quite as user-friendly as it could be (i.e. as user friendly as a quasi-command-line interface, which isn't saying much).

After a bit of weekend hacking I've created PuSH Bot, which lets you subscribe to any PubSubHubbub-enabled feed and get notified of updates via XMPP (e.g. to your Google Talk account). It has some niceties like use of feed auto-discovery so you can just specify web page URLs, OPML import for bulk subscribing and throttling of updates. The homepage lets you know how to get started.

PuSH Bot Screenshot

The code is available, though there shouldn't be anything too special about it. Feed parsing is done via ROME (as is OPML parsing, though that needed some patching to get working). Feed auto-discovery is handled by Google AJAX Feed API because life is too short for HTML parsing.

6 Comments

how to unsubscribe from some of the feeds i registered on push-bot. I have tried the /unsubscribe command but that doesn't seems to work ? If nothing works out then i only have the option of blocking the id ?
Hey cool bot, but if i try to subscribe i get a unknown command message.
Ok, I got the solution, I had to put a space in front of the command, because else pidgin interprets the command and never sends it to the bot.
Can you elaborate? Can you not chat with the bot at all, or you can't subscribe to a specific feed? If so, which feed?
Hey, I also did this over XMPP --- STOMP, Tornado, .... Pubsub, etc etc etc.... WEB SOCKETS (***!!!!***) --- except on ejabberd and xmpp and javascript.

....... still imo better and cooler than nodejs too.

I will post videos from same time frame as everyone else did this (a lot) on youtube soon.

matt kaufman
mkfmn.com

Post a Comment