3 votes

Last.FM for Umbraco

This has been confirmed to work with version 4.5 of Umbraco

Description

This package allows you to display your recently played tracks from the Last.FM service. This can be tracks listened to directly on the Last.FM website, or through your media player such as iTunes (with a plugin) or services like spotify.com which scrobble tracks back to your Last.FM profile.

This package is just a nice simple XSLT macro with a CSS file and a few images to apply a vinyl cover look to the album covers when outputting your tracks, but it being XSLT you can fully customise the XHTML markup to your needs.

Installation

  1. Download the package (zip file) to your machine
  2. Login to your umbraco install and goto the developer section
  3. Expand the packages folder
  4. Select install local package and point to zip file you just downloaded
  5. Wait for the install to finish
  6. Insert the [XSLT] CWS - Last.FM macro into your template
  7. Fill in your username and the number of tracks to display in the parameters for the macro
  8. Add the CSS reference to you <head> of your template
  9. VOILA - Your done !

Installs the following files

  • XSLT/CWS_LastFM.xslt
  • CSS/CWS_lastFM.css
  • Media/CWS_LastFM/vinyl.png
  • Media/CWS_LastFM/vinyl_insert.gif

Example Track XML

<track nowplaying="true">  <artist mbid="1239d1bc-cc09-43e0-bcd0-374f60346138">Kelis</artist>  <name>4th Of July (Fireworks)</name>  <streamable>1</streamable>  <mbid></mbid>  <album mbid="">Flesh Tone</album>  <url>http://www.last.fm/music/Kelis/_/4th+Of+July+%28Fireworks%29</url>  <image size="small">http://userserve-ak.last.fm/serve/34s/45030287.png</image>  <image size="medium">http://userserve-ak.last.fm/serve/64s/45030287.png</image>  <image size="large">http://userserve-ak.last.fm/serve/126/45030287.png</image>  <image size="extralarge">http://userserve-ak.last.fm/serve/300x300/45030287.png</image></track><track>  <artist mbid="">Bombay Bicycle Club</artist>  <name>Ivy &amp; Gold</name>  <streamable>1</streamable>  <mbid></mbid>  <album mbid="">Ivy &amp; Gold / Flaws</album>  <url>http://www.last.fm/music/Bombay+Bicycle+Club/_/Ivy%2B%2526%2BGold</url>  <image size="small">http://userserve-ak.last.fm/serve/34s/47419971.jpg</image>  <image size="medium">http://userserve-ak.last.fm/serve/64s/47419971.jpg</image>  <image size="large">http://userserve-ak.last.fm/serve/126/47419971.jpg</image>  <image size="extralarge">http://userserve-ak.last.fm/serve/300x300/47419971.jpg</image>  <date uts="1279142523">14 Jul 2010, 21:22</date></track>

Videos

Version 1.1 (Latest)

YouTube - http://www.youtube.com/watch?v=pfcWFlH_IRc

Screenshots

Package owner

Warren Buckley

Warren Buckley

Warren has 4521 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
8.3.x (untested)
8.2.x (untested)
8.1.x (untested)
8.0.x (untested)
7.15.x (untested)
7.14.x (untested)
7.13.x (untested)
7.12.x (untested)
7.11.x (untested)
7.10.x (untested)
7.9.x (untested)
7.8.x (untested)
7.7.x (untested)
7.6.x (untested)
7.5.x (untested)
7.4.x (untested)
7.3.x (untested)
7.2.x (untested)
7.1.x (untested)
7.0.x (untested)
6.1.x (untested)
6.0.x (untested)

You must login before you can report on package compatibility.

Package Information

  • Package owner: Warren Buckley
  • Created: 13/08/2009
  • Current version 1.1
  • License MIT
  • Downloads: 2062

External resources