With the advent of the Bloglines API, i proceeded to migrate all my subscriptions from my own aggregator/link manager to Bloglines. I don’t mind writing apps and tools for my own use, but, as with all software projects, they require maintenance. Which means time … which i have little of.
SynGen served me well. This new code is a direct descendant from it; i’m calling it BLuMBOX. It’s all python(2.3) and requires the Universal Feed Parser (3.3). Blumbox grabs the RSS feed for your subscribed sites which have unread items and sticks them into an MBOX format file.
The output filename is based on folder name.
in_<lowercase(foldername)>
The top level folder is “Subscriptions”. If you do not organize your feeds into folders, then by default your MBOX file would be called: in_subscriptions.
Read/edit the blumbox.py file to tell it where the files should go, in addition to specifying your Bloglines userid and password. Have fun.
One Bloglines buglet: if you use the web interface to mark an entry “Keep New”, Bloglines will report that the feed has new items, but, when requested, will not return that item. There appears to be a logic bug between “UnRead” versus “New” entries.
One last thing… As with all free online services, Bloglines could:
- Dissapear
- Become a fee service
- Become an evil service
- Be sold to an evil company
- Begin rendering RSS feed data in Swedish Chef or Klingon
So, having said that, you can simply protect yourself by backing up your subscriptions. I backup mine daily, which is probably overkill; however, if Bloglines dissapeared today (or turned into Mr. Hyde) i could be up and running in a new aggregator within minutes.
If you’ve setup a userid and have your subscriptions marked public, you can download your subscriptions in OPML format by entering a URL like:
http://www.bloglines.com/export?id=<userid>
Substitute your userid. In my case, it looks like this:
http://www.bloglines.com/export?id=jerobins
Save that data as subs.opml and your ready for anything. Any decent aggregator supports OPML import and export.
Finally: Download.
Todo: Update to use the getitems method to bulk fetch the articles from all the subscriptions within a folder.