Render a list of tracks you currently listen to
Parameters
Uses your LASTFMNICK in the
WebPreferences, displays nothing if you didn't define
it.
Implementation
%STARTINCLUDE%
%IFDEFINEDTHEN{"%LASTFMNICK%"}%
<div class="blogSideBarSection blogSideBarLastFM">
~~~ <h1 class=\"blogSideBarHeader\"><a href="http://www.last.fm/user/%LASTFMNICK%">Listening</a>
*~~ %REDDOT{"%WEB%.RenderLastFMRecentTracks"}%
*~~ </h1>
~~~
%~~ HEADLINES{
~~~ "http://ws.audioscrobbler.com/1.0/user/%LASTFMNICK%/recenttracks.rss" refresh="10"
~~~ limit="1"
~~~ header="<!-- -->"
~~~ format="<span class=\"blogLastFMTime\">
~~~ $percntTIMESINCE{from=\"$date\" to=\"%GMTIME%\" format=\"$time ago\"}$percnt
~~~ </span>"
~~~ }%
~~~
%~~ HEADLINES{
~~~ "http://ws.audioscrobbler.com/1.0/user/%LASTFMNICK%/recenttracks.rss" refresh="10"
~~~ header="<!-- -->"
~~~ format=" * <a class=\"nop\" href=\"$link\">$title</a>"
~~~ }%
~~~ </div>
%FIDEFINED%
%STOPINCLUDE%
Test
Calls to 'RenderLastFMRecentTracks'