ezAudioScrobbler extension
I have been working on the blog again today and have added the ezAudioScrobbler extension from Christian Johansen.
I must thank Christian for this extension, it is quite nice. I have only recently started using last.fm and having discovered their webservices I immediately thought about coding an extension for eZ Publish to output the information onto personal websites, only to find that Christian had already gone to the trouble himself
For those who are interested in doing this themselves download the extension from the http://ez.no contributions area (direct link above). I have utilised the example provided in the README file, with a quick change to the foreach loop to only output the most recently played track. (code below)
{foreach $recent_tracks as $track max 1}
{$track.artist.name} -
{$track.name}
{/foreach}
Very interesting extension and I’m sure it will see wide use throughout the eZ population.