Contact Lifestream
        

Lifestream: Upgraded to Wordpress 2.5. Better late than never.




Last.fm Feeds

So what do you do when you have a ton of free time on your hands? Well for starters one could make yet another feed parsing script for Last.fm. This time using the phpScrobbler class.

I think it turned out fairly well. Some CSS magic and a function to not only display cover art but also cache the images locally.

2 Responses to “Last.fm Feeds”


  1. 1 Fabiaan Posted September 29th, 2006 - 20:29

    I’m currently experimenting with phpScrobbler, but the author of the script has pulled the reference from his website. I need a little help with displaying the album art. Can you I have a look at the code you use?

  2. 2 Björn Hallberg Posted October 2nd, 2006 - 19:19

    Sure, the code can be viewed below … it’s of course based on the phpScrobbler example, with some improvements. Don’t forget to set the paths, they’re inconveniently scattered throughout the code.

    http://battleangel.org/php/...

    Just keep in mind that I’m not a programmer AND that I cache the covers locally + sort out albums that don’t have a proper cover image set. It’s not very efficient, and could probably be improved a great deal, but then again it only runs every four days or so currently.

Comments are currently closed.