Not to be confused with my favourite desktop friends, Yahoo! Widgets, Last FM now have their own selection of Widgets that make it easy for you to embed your listening data into your web page. I replaced my own solution with the Last FM one today, as it’s more functional and much better looking than mine was.
My php script was polling the XML feed of my recent artists from Last FM, parsing the XML and wrapping HTML list tags around the song data, creating a text file from the result, then embedding that into the page (if it wasn’t too many hours old) to display my list of recent songs. Quite a round trip, eh?
The Last FM Widget cuts out all that nonsense, so it’s a welcome addition to the sidebar.