17th level Hacker

USM Under Firefox/Linux

Randy seems to have some momentum going for his Universal Subscription Mechanism proposal. The basic idea is that we deal with some content types specific to RSS and Atom so that the browser can shove the handling off to an external app that then push the subscribe URL into something that knows what to do with it. Not a bad idea, but I like my idea for a subscription service better. However, if people think that the proposal Randy made is the way to go I don’t want to be a bad sport. I just want things to be simple and work by default. So I hacked together a Python USM handler that works for me under Linux using Firefox. I’m on the train right now, and testing it out against a lot of feeds is a pain over this GPRS connection, so I just tried a few. Using it should be pretty simple. Right now it only handles launching a browser with the Bloglines subscribe URL, but the hackers out there can change that if they want I’m sure. I’ll make it config file driven with some command line options to set the subscription action at some point.

What I would like to do with this is have it pull both the HTML URL and subscription URL and shove that off into my Wordpress link manager “add link” function. Maybe that’ll be the next set of hacking, depending how many blogs I happen across that support USM. Mine doesn’t :-) Guess I need the latest latest version of Wordpress.

Update: I messed up the link to the code before. Ooops. I probably can’t blame that on the bouncing of the train, but I’m going to try anyway.

Tags: USM RSS Firefox python