kid’s allright
“but don’t you get your hopes up high” | a blog by cody simms

last.fm and poetic justice (or just cool coincidence)

I’ve been playing around with last.fm’s badge builder all weekend, trying to properly configure the layout to match my site’s stylesheet. It is a pretty cool and robust little tool.

I finally got it properly configured this morning such that it doesn’t blow out the left column of my site and also doesn’t have a thick black border (which was driving me crazy).

The trick was selecting the javascript version of the badge rather than the HTML version. And, in a little feature upgrade that completely surprised me (quite pleasantly, I might add!), the javascript badge also automatically includes little green buttons allowing people to stream previews of tracks straight from my site when last.fm has the rights to do so. What a great feature!

And so, check out the Recent Listens section on the left column of my site and feel free to sample the tunes that I’ve just finished hearing!

And in a very nice coincidence-slash-poetic-justice, check out (screenshot below) what song was playing when I finally got everything working correctly:

Lastfm2

(Update: Sadly, upon changing my blogging platform, I lost a number of images. This was one of them…the current version is an image pulled from Google Image Search cache. If you can’t read it clearly, what was funny about it is that the song I had been playing on random when I took the screenshot was “kid’s allright” by Bettie Serveert).

Technorati tags:


 
 
 

4 Responses to “last.fm and poetic justice (or just cool coincidence)”

  1. kuz
    25. April 2006 at 06:14

    Which template was it? I’m having the same sidebar crashy problem too.

  2. notrivers
    25. April 2006 at 10:15

    Kuz, I ponied up the $3 so I could have access to design my own template.

  3. Jakob Heuser
    25. April 2006 at 21:10

    If you’re feeling adventurous (and program happy) the Last.FM XML streams can also work well. You then simply have to parse out the data into something meaningful. (MagpieRSS can help for those PHP oriented)

    It’s good to see they got a JavaScript badge going though, that’s a huge step towards more people pulling Last.FM onto their own personal sites.

  4. Kuz
    26. April 2006 at 15:38

    Three bucks!?!? That’s a little rich for my blood :) I’ll see if I can hack a free one.

Leave a Reply