Last.fm Loved Tracks RSS Feed

June 30th, 2008

last.fm loved tracks

Update: October 2008

As of this month, last.fm have started providing an official RSS feed for loved tracks (Thanks Anil!). My homebrew feed, the original subject of this article, will be retired at some point in the near future in favour of the official feed.

The Official Feed

http://ws.audioscrobbler.com/2.0/user/jamiethompson/lovedtracks.rss

My Original Homebrew Approach

Ever wondered why last.fm don’t provide an RSS feed of your loved tracks*? Me too. So using the freely available audioscrobbler web services i’ve created a very basic last.fm loved tracks feed which. The main reason for doing so was to update twitter with my loved tracks via twitterfeed. The feed can be called with the following syntax:

http://jamazon.co.uk/last.love/user/[last.fm username]/feeds/[feed type (rss|atom|opml)]

It’ll work with any valid last.fm username.

Here’s mine:

http://jamazon.co.uk/last.love/user/jamiethompson/feeds/rss

* last.fm now provide an official RSS feed of loved tracks. If you somehow missed the massive notice at the top of this page, scroll back up and read it.

Posted in Web | Tagged with: , , , ,

26 Responses

  1. Tamlyn

    Awesome! Thanks Jamie, this is exactly what I needed.

  2. links for 2008-07-28 « copula’s weblog

    [...] Last.fm Loved Tracks RSS Feed – Jamie Thompson – Web Developer (tags: last.fm rss feed) [...]

  3. Bookmarks about Audioscrobbler

    [...] – bookmarked by 1 members originally found by siriusprime on July 19, 2008 Last.fm Loved Tracks RSS Feed http://jamazon.co.uk/web/2008/06/30/lastfm-loved-tracks-rss-feed/ – bookmarked by 1 members [...]

  4. Anner

    Thanks a lot for this! Great job …
    This way I was able to integrate this stream into my “lifestream”

  5. Ammadz

    Works like a charm.. thanks a heap for this.. cheers

  6. dimhap

    that was useful thanks

  7. uzzi

    is there a wasy to include album cover image in this feed?

  8. Timo

    Exactly what I was looking for. You have completed my lifestream :)

  9. Neues Design oder mein extended Lifestream | Reitnauer.com

    [...] Last.fm loved tracks (thanks Jamie) [...]

  10. Cat

    Thank you. :)

  11. Gareth

    Excellent idea. Cheers.

  12. Jamie Thompson

    There’s a new beta feed which includes the album artwork http://jamazon.co.uk/last.love/beta/user/jamiethompson/feeds/rss

    any feedback appreciated

  13. Mnuvrs

    Nice skills man, thanks for this!!!

  14. Wilbur Himself

    Nice, i was trying to do the same with Yahoo Pipes, but this fits my needs exactly

  15. sizeofguam

    Thanks so much, I’m sticking my loved tracks feed on my blog right now to replace the hole left behind by muxtape. :(

  16. Jeff

    Thanks a ton for this. Using it on my website.

  17. Linkereien (weekly) « lieblinks

    [...] Last.fm Loved Tracks RSS Feed [...]

  18. ML

    This script is really good man.

    But you could offer some assistance in “styling” it. I’d like my stream to be on a website with all other streams from sites. And i want the Last.fm one to appear like twitter. where i can style it etc..

    How would i do this with last?

  19. BOK

    Have you noticed the (huge) differences between the 2 feeds?!
    There seems to be no sync between the both of ‘em… I’ll stay with your feed for as long as it lasts, because it shows the most recent loved songs.

  20. Jamie Thompson

    You know what, you’re right. I haven’t actually used either feed for quite some time and hadn’t noticed the discrepancy. My feed does appear to be more chronologically accurate than the offical feed, and I’m not entirely sure what the issue is there. My feed is based on an offical audioscrobbler xml feed, which begs the question, what is the audioscrobbler rss feed based on.

    I may investigate

  21. Michael

    Fantastic stuff. Thanks very much.

  22. hu

    ugg genuine sheepskin boots

  23. sandrar

    Hi! I was surfing and found your blog post… nice! I love your blog. :) Cheers! Sandra. R.

  24. Jonathan

    Thanks! Was just looking for something like this, starting a music oriented tumblr, and wanted these to import automatically. Much appreciated!

  25. celebrity fuck you

    Sign: zdbrw Hello!!! kxzqc and 6634xbfqmdzfek and 9776 : Thanks. We look forward to hearing from you again and for your opinions on the world of work.

  26. Mohan Arun

    Is there a way to get “loved tracks” from all users, as rss feed? Further if I could filter by genre (jazz/pop/rock etc) it would be great.

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.