Topic: Usage (3)
Displaying Recent Tracks with PHP4
Wednesday April 23, 2008 12:52 PM
We've been using a modified version of marc2003's recent tracks script as an example of how to display your recent tracks feed. It's simple, elegant and just works. However, it requires PHP5 due to it's dependance on SimpleXML.
If you are limited to PHP4, click here to download a version that does not rely on SimpleXML. Be sure to change the file extension from .txt to .php.
If you are limited to PHP4, click here to download a version that does not rely on SimpleXML. Be sure to change the file extension from .txt to .php.
Feed Format Changed
Monday April 2, 2007 10:08 AM
We've changed the format of the feeds slightly in order to more closely mirror the audioscrobbler format. The change affects the cover art in the album block.
The new format is:
Changed from:
Thanks to johnnaked for keeping us in line
The new format is:
<album>
<name></name>
<url></url>
<coverart>
<small></small>
<medium></medium>
<large></large>
</coverart>
</album>Changed from:
<album>
<name></name>
<url></url>
<coverart_small></coverart_small>
<coverart_medium></coverart_medium>
<coverart_large></coverart_large>
</album>Thanks to johnnaked for keeping us in line
Recent Tracks Widget
Wednesday March 21, 2007 3:50 PM
This little widget displays your recent tracks list with album data, and lists your last.fm friends. If they have ZenRadar accounts, you can see their lists too. The widget is based on jcr313's excellent last.fm recent tracks widget. Thanks James!
Since your ZR info requires requests to your feeds in order to stay up-to-date, this widget can help keep your recent tracks data in sync.
Mac OS X 10.4 Tiger is required. If you’re using Safari, click the download link. When the widget download is complete, show Dashboard, click the Plus sign to display the Widget Bar and click the widget’s icon in the Widget Bar to open it. If you’re using a browser other than Safari, click the download link. When the widget download is complete, unarchive it and place it in /Library/Widgets/ in your home folder. show Dashboard, click the Plus sign to display the Widget Bar and click the widget’s icon in the Widget Bar to open it.
Download Now!
Since your ZR info requires requests to your feeds in order to stay up-to-date, this widget can help keep your recent tracks data in sync.
Mac OS X 10.4 Tiger is required. If you’re using Safari, click the download link. When the widget download is complete, show Dashboard, click the Plus sign to display the Widget Bar and click the widget’s icon in the Widget Bar to open it. If you’re using a browser other than Safari, click the download link. When the widget download is complete, unarchive it and place it in /Library/Widgets/ in your home folder. show Dashboard, click the Plus sign to display the Widget Bar and click the widget’s icon in the Widget Bar to open it.
Download Now!


