Thursday, March 14, 2013

Exporting OPML from NetVibes

I use NetVibes, and have recently tried to export my feeds as OPML, and noticed that it generates invalid OPML. The OPML 2.0 spec states:
A missing text attribute in any outline element is an error. 
NetVibes' <outline> elements look something like this:

<outline title="Netvibes Blog" type="rss" xmlUrl="" htmlUrl=""/>

It's very easy to fix -- just add a new "text" attribute with the contents of the existing "title" attribute. It trips up some other OPML importers, though.

[Edit: I wrote a little python script to fix this problem specifically:]