<?xml version="1.0"?>
<rss version="2.0">
<channel>
<title>ZenRadar</title>
<link>http://zenradar.roblogic.net</link>
<description>news from the ZR crew</description>
<language>en-us</language>
<copyright>Copyright 2009</copyright>
<pubDate>Tue, 06 Jan 2009 15:01:00 +0500</pubDate>
<lastBuildDate>Tue, 06 Jan 2009 15:01:00 +0500</lastBuildDate>
<ttl>360</ttl>
<item>
<title>New JSON Feed for Recent Tracks</title>
<link>http://zenradar.roblogic.net/posts/view/12</link>
<guid isPermaLink="true">http://roblogic.net/posts/view/12</guid>
<description><![CDATA[We just added a JSON formatted feed for recent tracks to make manipulation with JavaScript easier. The JSON feeds work lust like the recent tracks feeds:  Full feed: http://zenradar.roblogic.net/service/1.0/user/[username]/recenttracks.json Specify number of results (1-10): http://zenradar.roblogic.net/service/1.0/user/[username]/recenttracks_[1-10].json  Here's the easy way to cache the feed on your site. Run this script from cron on a regular basis, then pull the cached file in your JavaScript to keep things snappy. 
    <?php   //from marc2003's script on last.fm forum   $user   =   'roblogic'  ;   //last.fm username    $remotefile   =   "http://zenradar.roblogic.net/service/1.0/user/$user/ recenttracks.json"  ;   $localfile   =   $user  .  '.json'  ;  try {           $ch   =   curl_init  (  $remotefile  );       $fp   =   fopen  (  $localfile  ,   "w"  );            curl_setopt  (  $ch  ,   CURLOPT_FILE  ,   $fp  );       curl_setopt  (  $ch  ,   CURLOPT_HEADER  ,   0  );            curl_exec  (  $ch  );       curl_close  (  $ch  );       fclose  (  $fp  );  } catch (  Exception $e  ) {     echo   $e  ->  getMessage  ();     echo   '<pre>'  ;     echo   $e  ->  getTraceAsString  ();     echo   '</pre>'  ; }    ]]></description>
<pubDate>Fri, 02 Jan 2009 01:01:00 +0500</pubDate>
<category>Recent Blog Posts</category>
</item>
<item>
<title>Displaying Recent Tracks with PHP4</title>
<link>http://zenradar.roblogic.net/posts/view/11</link>
<guid isPermaLink="true">http://roblogic.net/posts/view/11</guid>
<description><![CDATA[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.]]></description>
<pubDate>Wed, 23 Apr 2008 12:04:00 +0500</pubDate>
<category>Recent Blog Posts</category>
</item>
<item>
<title>Artist images in recent tracks feed</title>
<link>http://zenradar.roblogic.net/posts/view/9</link>
<guid isPermaLink="true">http://roblogic.net/posts/view/9</guid>
<description><![CDATA[Someone on the last.fm forums was asking about  artist images for recently scrobbled tracks , so I though I'd look into adding them to our recent tracks feed.   Unfortunately, that artist info is really hard to get to on-demand. There's no info feed for artists, so even though you can get Similar Artists, Top Fans, Top Tracks, Top Albums, Top Tags, and Current Events, you can't get a simple artist detail. However, if you pull the similar artists feed, pick the first artist in the list, then pull that artist's similar artists feed, you can spin through those artists and find the target artist. This method does work, but does not seem to generate matches for all artists, so there are some blanks here and there. I've got a cron job running to update all of the artists that are already cached in our DB (around 1100) with the image data, it should be done by this time tomorrow. Any artists not already in our DB will have their image data saved as they come in on the last.fm recent tracks feeds.  ZenRadar recent tracks feeds now have small and large artist images in the artist nodes, like this:  <artist mbid="">     Sound Tribe Sector 9     <url>http://www.last.fm/music/Sound+Tribe+Sector+9</url>     <image_small>http://userserve-ak.last.fm/serve/50/86460.jpg</image_small>     <image_large>http://userserve-ak.last.fm/serve/160/86460.jpg</image_large> </artist>  Which will give you:       Artists that we haven't found images for will have the last.fm default "no artist" images:    http://cdn.last.fm/depth/catalogue/noimage/noartist_50px.jpg    http://cdn.last.fm/depth/catalogue/noimage/noartist_140px.jpg  I hope this is useful, let me know if you have any questions, or if you'd like artist images added to any of the other feeds.]]></description>
<pubDate>Sun, 20 Apr 2008 15:04:00 +0500</pubDate>
<category>Recent Blog Posts</category>
</item>
<item>
<title>Timeout Errors Fixed</title>
<link>http://zenradar.roblogic.net/posts/view/10</link>
<guid isPermaLink="true">http://roblogic.net/posts/view/10</guid>
<description><![CDATA[Since moving to our new server a couple of weeks ago, we've been experiencing some timeout problems on operations that pull a lot of feeds from last.fm. This was causing ugly 500 errors while pulling feeds or loading the dashboard. This afternoon I tracked the problem to  mod_fcgid's ridiculously low default timeout params  and fixed it.  Sorry for the inconvenience!]]></description>
<pubDate>Sun, 20 Apr 2008 15:04:00 +0500</pubDate>
<category>Recent Blog Posts</category>
</item>
<item>
<title>Zen Radar on build.last.fm</title>
<link>http://zenradar.roblogic.net/posts/view/8</link>
<guid isPermaLink="true">http://roblogic.net/posts/view/8</guid>
<description><![CDATA[       "Last.fm feeds on crack. All the enhancements you ever wanted."  
  ZR has been added to build.last.fm . We're proud to be a part of the growing last.fm developer community.   
 If you're new here, take a moment to read about  what this thing is  and find out  how to use it . If you have questions, check the  FAQ , or feel free to  contact us . If you're ready to get a closer look,  create an account  and dive right in.  ]]></description>
<pubDate>Mon, 14 Apr 2008 09:04:00 +0500</pubDate>
<category>Recent Blog Posts</category>
</item>
<item>
<title>Recent Loved Tracks RSS</title>
<link>http://zenradar.roblogic.net/posts/view/7</link>
<guid isPermaLink="true">http://roblogic.net/posts/view/7</guid>
<description><![CDATA[Some people on the last.fm forum have been  asking for an RSS feed for recently loved tracks , so I whipped one up for ZR users. This feed does not contain album info or art, if you find this feed useful, and would like to see the album info added, let us know.  Here's the feed URL:  http://zenradar.roblogic.net/service/1.0/user/[your username]/recentlovedtracks.rss   I'm not sure if there is much demand for RSS over XML, if you'd like to have more RSS feeds, speak up and we'll get on it.]]></description>
<pubDate>Thu, 26 Apr 2007 12:04:00 +0500</pubDate>
<category>Recent Blog Posts</category>
</item>
<item>
<title>last.fm & audioscrobbler offline</title>
<link>http://zenradar.roblogic.net/posts/view/6</link>
<guid isPermaLink="true">http://roblogic.net/posts/view/6</guid>
<description><![CDATA[last.fm and ws.audioscrobbler.com went down temporarily this morning. We took this opportunity to enhance some of the error handling in the feeds in order to fail gracefully in this situation. Our recent tracks feeds are unphased by such an outage, your feed will be pulled entirely from our cached data. The other feeds will simply be empty.  As of this post, the servers seem to be back online.]]></description>
<pubDate>Thu, 26 Apr 2007 11:04:00 +0500</pubDate>
<category>Recent Blog Posts</category>
</item>
<item>
<title>Feed Format Changed</title>
<link>http://zenradar.roblogic.net/posts/view/5</link>
<guid isPermaLink="true">http://roblogic.net/posts/view/5</guid>
<description><![CDATA[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: 
   <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  ]]></description>
<pubDate>Mon, 02 Apr 2007 10:04:00 +0500</pubDate>
<category>Recent Blog Posts</category>
</item>
<item>
<title>Recent Tracks Widget</title>
<link>http://zenradar.roblogic.net/posts/view/4</link>
<guid isPermaLink="true">http://roblogic.net/posts/view/4</guid>
<description><![CDATA[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&rsquo;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&rsquo;s icon in the Widget Bar to open it. If you&rsquo;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&rsquo;s icon in the Widget Bar to open it.   Download Now!    
   ]]></description>
<pubDate>Wed, 21 Mar 2007 15:03:00 +0500</pubDate>
<category>Recent Blog Posts</category>
</item>
<item>
<title>Recent Tracks Quilts</title>
<link>http://zenradar.roblogic.net/posts/view/3</link>
<guid isPermaLink="true">http://roblogic.net/posts/view/3</guid>
<description><![CDATA[Your recent tracks can be displayed as an album cover quilt. The quilt is displayed as an HTML table. You can choose any square number to display between 4 and 49.  
 
 
     
         
                 
                 
                 
                 
                 
                 
                 
         
         
                 
                 
                 
                 
                 
                 
                 
         
         
                 
                 
                 
                 
                 
                 
                 
         
         
                 
                 
                 
                 
                 
                 
                 
         
         
                 
                 
                 
                 
                 
                 
                 
         
         
                 
                 
                 
                 
                 
                 
                 
         
         
                 
                 
                 
                 
                 
                 
                 
         
     
 
 
   http://zenradar.roblogic.net/service/1.0/user/[username]/quilts/recenttracks_4.html   http://zenradar.roblogic.net/service/1.0/user/[username]/quilts/recenttracks_9.html   http://zenradar.roblogic.net/service/1.0/user/[username]/quilts/recenttracks_16.html   http://zenradar.roblogic.net/service/1.0/user/[username]/quilts/recenttracks_25.html   http://zenradar.roblogic.net/service/1.0/user/[username]/quilts/recenttracks_36.html   http://zenradar.roblogic.net/service/1.0/user/[username]/quilts/recenttracks_49.html ]]></description>
<pubDate>Tue, 20 Mar 2007 22:03:00 +0500</pubDate>
<category>Recent Blog Posts</category>
</item>
</channel>
</rss>