February 26, 2006

Delicious Reading List Bookmarklet

Another quick post picking up again on Danny Ayer's del.icio.us Reading Lists post, where he gives a recipe for creating an OPML reading list from a set of feeds (rather than pages or sites) tagged in delicious, this time to mention a DeliOPML bookmarklet (only tested in Firefox).

Just drag the link onto your bookmark toolbar, visit a delicious page that contains a list of feeds (e.g. Danny Ayer's example was at danja/readinglist+tech) and click on the bookmarklet. You'll then be taken to an OPML feed of the page...

Here's an example of clicking the OPML link from my delicious feed on a tag that currently has two feeds in it:

opmlExample.JPG

(Hmm - I notice that not all the feeds are represented in the list...but they aren't in the example from Danny's page either. I haven't looked at the XSLT, but perhaps there's a switch in there? or at W3C?) Update: it seems that the XSLT islimiting the number of links returned in the OPML file.

The bookmarklet works by looking for <link rel='alternate'/> tags, then pulls the address of the first one and uses it as the target for Danny's XSLT.

PS I've just uploaded a test Greasemonkey script that appends an OPML link to the bottom of del.icio.us links page that will generate an OPML feed from the RSS feed generated for that page. Here it is: delicious OPML feed Greasemonkey script.

This will generate a feed for all the links whether or not they point to an RSS feed, which isn;t ideal. I have a fix in mind for this, which I';ll post along with a supporting bookmarklet for saving feeds to delicious tomorrow.

Then it'll be time to give OPML a rest for a bit, and I can get back to posting random thoughts and doodles!

Posted by ajh59 at February 26, 2006 01:52 PM
Comments