eZ Community » Forums » Developer » Contrib: eZAudioScrobbler...

Contrib: eZAudioScrobbler (www.last.fm integration)

Contrib: eZAudioScrobbler (www.last.fm integration)

Friday 24 August 2007 3:38:55 am - 2 replies

Wee, my first contribution is online: http://ez.no/community/contribs/template_plugins/ezaudioscrobbler

It's an implementation of the AudioScrobbler/last.fm web services that allow you to display data from peoples last.fm accounts, example:

{cache-block keys='last.fm' expiry=600}
    {def $recent_tracks=fetch(audioscrobbler, recent_tracks, hash(user, $user))}

    <h2>{'Recent tracks for %user'|i18n('design/audioscrobbler', '', hash('%user', $user))}
        {foreach $recent_tracks as $track}
                <a href={$track.artist.url|ezurl}>{$track.artist.name}</a> -
                <a href={$track.url|ezurl}>{$track.name}</a>

Seeing as this is my first contribution feedback on any part of it is very welcome.

Monday 27 August 2007 6:30:01 pm

Hi Christian

I have just tried the eZAudioScrobbler extension -- it is excellent. I am going to integrate it in my website and will get back to you if I encounter any problems.

Just wanted to say thanks right away. happy.gif Emoticon Well done.


Wednesday 29 August 2007 12:50:28 am

Cool, thanks! Looking forward to see it in action so share your URL when you're done happy.gif Emoticon

Be sure to post any problems or ideas for improvement


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from