dash.fm

August 12, 2007

Couldn’t sleep, most probably because of the heat. Turned out to be a great opportunity for some late night Widget coding. :) dash.fm is a lastm.fm widget that shows a user’s name with link to user page, total track count and names of the last 10 played tracks. Weird that there really wasn’t anything like this out there before…

It’s a bit of an experiment - all of the logic is actually handled on the server using XSLT. The widget is purely a “terminal” here - the only Javascript required was for the preference stuff and making the actual HTTP call to the server. I’ve wanted to try this out for a while for a number of reasons, but mostly because processing XML with JavaScript is rather disgusting and the shipping WebKit can’t do client-side XSLT.

dash.fm

I put this together in a few hours so it’s most probably buggy (and the backend runs on my PowerBook so outages will be expected), but if you’d like to try this, by all means, go ahead.