Bloglines Blogroll

I’ve exported my bloglines blogroll as an OPML file and imported it into WordPress. However, it wasn’t as straightforward as it should have been. Seems that WordPress is setup to look for the attribute “URL” in the OPML OUTLINE tag in order to import the url. It also assumes that the name of the site is found in the attribute “TEXT.”

However, Bloglines uses the attribute “HTMLURL” for the url and “TITLE” for the name of the site. So what ends up happening is WordPress imports a long list of links with no url and no name. In order to get around this you must edit the file link-parse-opml.php which is located in the wp-admin folder. At the top of this document change ‘link_url’ => ‘URL’ to ‘link_url’ => ‘HTMLURL’ and ‘link_name’=>’TEXT’ to ‘link_name’=>’TITLE’…or update your WordPress installation to 1.21 as they seemed to have added options for both scenarios.

Regardless importing my blogroll in this way is much better than using Bloglines’ provided javascript. I tried that for about a day and it significantly slowed the loading of my site down (which is slow already due to my hosting companies poor PHP performance).

By the way, does anyone know of a plugin/hack/whatever to add bulk delete to the link management section of Wordpress?

Leave a Reply