<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Last.fm Info with PHP</title>
	<atom:link href="http://www.canspice.org/code/lastfm-recently-played-php-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.canspice.org</link>
	<description>all about a canadian guy living in canada</description>
	<lastBuildDate>Tue, 07 Feb 2012 23:20:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Justin</title>
		<link>http://www.canspice.org/code/lastfm-recently-played-php-code/comment-page-2/#comment-93535</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Mon, 09 Aug 2010 05:12:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.canspice.org/index.php/lastfm-recently-played-php-code/#comment-93535</guid>
		<description>Did you ever figure this out?&lt;blockquote cite=&quot;#comment-body-77781&quot;&gt;
&lt;strong&gt;&lt;a href=&quot;#comment-77781&quot; rel=&quot;nofollow&quot;&gt;Rosa&lt;/a&gt; :&lt;/strong&gt;
                  
         Any way to display recently “Loved” tracks?
         &lt;a&gt;&lt;/a&gt;
       &lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<p>Did you ever figure this out?<br />
<blockquote cite="#comment-body-77781">
<strong><a href="#comment-77781" rel="nofollow">Rosa</a> :</strong></p>
<p>         Any way to display recently “Loved” tracks?<br />
         <a></a>
       </p></blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin</title>
		<link>http://www.canspice.org/code/lastfm-recently-played-php-code/comment-page-2/#comment-93163</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Thu, 05 Aug 2010 23:10:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.canspice.org/index.php/lastfm-recently-played-php-code/#comment-93163</guid>
		<description>Excellent!

Was looking for this, saw that it was last updated in 2006, BUT it still works!

Thanks.</description>
		<content:encoded><![CDATA[<p>Excellent!</p>
<p>Was looking for this, saw that it was last updated in 2006, BUT it still works!</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rosa</title>
		<link>http://www.canspice.org/code/lastfm-recently-played-php-code/comment-page-2/#comment-77781</link>
		<dc:creator>Rosa</dc:creator>
		<pubDate>Tue, 23 Mar 2010 07:38:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.canspice.org/index.php/lastfm-recently-played-php-code/#comment-77781</guid>
		<description>Any way to display recently &quot;Loved&quot; tracks?</description>
		<content:encoded><![CDATA[<p>Any way to display recently &#8220;Loved&#8221; tracks?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://www.canspice.org/code/lastfm-recently-played-php-code/comment-page-2/#comment-73592</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Wed, 24 Feb 2010 18:26:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.canspice.org/index.php/lastfm-recently-played-php-code/#comment-73592</guid>
		<description>*Looks like [code][/code] doesn&#039;t work, hope the code still makes sence. You can see a working preview at http://aerialdesign.co.uk/authors, where it talks a bit about the authors of the site, then the most recent tracks displayed like the above code.</description>
		<content:encoded><![CDATA[<p>*Looks like [code][/code] doesn&#8217;t work, hope the code still makes sence. You can see a working preview at <a href="http://aerialdesign.co.uk/authors" rel="nofollow">http://aerialdesign.co.uk/authors</a>, where it talks a bit about the authors of the site, then the most recent tracks displayed like the above code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://www.canspice.org/code/lastfm-recently-played-php-code/comment-page-2/#comment-73591</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Wed, 24 Feb 2010 18:25:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.canspice.org/index.php/lastfm-recently-played-php-code/#comment-73591</guid>
		<description>If you want the script to display in more of a sentence, like &#039;My favourite artists are Band 1, Band 2 and Band 3.&#039;, then edit lines 124-127 which was:

[code]
case &quot;toptracks&quot;:
        $pieces = explode( &quot;,&quot;, fgets( $fp, 4096 ), 3 );
        if( $displaystats ) {
          echo $prefix . rtrim( $pieces[2] ) . &quot; (&quot; . $pieces[1] . &quot;)&quot; . $suffix . &quot;\n&quot;;
        } else {
          echo $prefix . rtrim( $pieces[2] ) . $suffix . &quot;\n&quot;;
        }
        break;[/code]

Into

[code]
case &quot;toptracks&quot;:
        $pieces = explode( &quot;,&quot;, fgets( $fp, 4096 ), 3 );
        if( $displaystats ) {
        
          if($linenumber == $max) 
            echo &quot;and &quot; . $prefix . rtrim( $pieces[2] ) . &quot; (&quot; . $pieces[1] . &quot;)&quot; . $suffix . &quot;\n&quot;;

          elseif($linenumber == ($max-1))
            echo $prefix . rtrim( $pieces[2] ) . &quot; (&quot; . $pieces[1] . &quot;)&quot; . $suffix . &quot; \n&quot;;

          else
            echo $prefix . rtrim( $pieces[2] ) . &quot; (&quot; . $pieces[1] . &quot;)&quot; . $suffix . &quot;, \n&quot;;
                
        } else {
        
            if($linenumber == $max) 
                echo &quot;and &quot; . $prefix . rtrim( $pieces[2] ) . $suffix . &quot;\n&quot;;

            elseif($linenumber == ($max-1))
                echo $prefix . rtrim( $pieces[2] ) . $suffix . &quot; \n&quot;;

            else
                echo $prefix . rtrim( $pieces[2] ) . $suffix . &quot;, \n&quot;;
        }
        break;[/code]

Therefor this:

[code]       My top artists are .[/code]

Would display:

My top artists are Band 1, Band 2, Band 3 and Band 4.

Hope that helps :)</description>
		<content:encoded><![CDATA[<p>If you want the script to display in more of a sentence, like &#8216;My favourite artists are Band 1, Band 2 and Band 3.&#8217;, then edit lines 124-127 which was:</p>
<p>[code]<br />
case "toptracks":<br />
        $pieces = explode( ",", fgets( $fp, 4096 ), 3 );<br />
        if( $displaystats ) {<br />
          echo $prefix . rtrim( $pieces[2] ) . " (" . $pieces[1] . ")" . $suffix . "\n";<br />
        } else {<br />
          echo $prefix . rtrim( $pieces[2] ) . $suffix . "\n";<br />
        }<br />
        break;[/code]</p>
<p>Into</p>
<p>[code]<br />
case "toptracks":<br />
        $pieces = explode( ",", fgets( $fp, 4096 ), 3 );<br />
        if( $displaystats ) {</p>
<p>          if($linenumber == $max)<br />
            echo "and " . $prefix . rtrim( $pieces[2] ) . " (" . $pieces[1] . ")" . $suffix . "\n";</p>
<p>          elseif($linenumber == ($max-1))<br />
            echo $prefix . rtrim( $pieces[2] ) . " (" . $pieces[1] . ")" . $suffix . " \n";</p>
<p>          else<br />
            echo $prefix . rtrim( $pieces[2] ) . " (" . $pieces[1] . ")" . $suffix . ", \n";</p>
<p>        } else {</p>
<p>            if($linenumber == $max)<br />
                echo "and " . $prefix . rtrim( $pieces[2] ) . $suffix . "\n";</p>
<p>            elseif($linenumber == ($max-1))<br />
                echo $prefix . rtrim( $pieces[2] ) . $suffix . " \n";</p>
<p>            else<br />
                echo $prefix . rtrim( $pieces[2] ) . $suffix . ", \n";<br />
        }<br />
        break;[/code]</p>
<p>Therefor this:</p>
<p>[code]       My top artists are .[/code]</p>
<p>Would display:</p>
<p>My top artists are Band 1, Band 2, Band 3 and Band 4.</p>
<p>Hope that helps :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FreqMod</title>
		<link>http://www.canspice.org/code/lastfm-recently-played-php-code/comment-page-2/#comment-36606</link>
		<dc:creator>FreqMod</dc:creator>
		<pubDate>Wed, 08 Aug 2007 11:01:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.canspice.org/index.php/lastfm-recently-played-php-code/#comment-36606</guid>
		<description>XML version moved to http://folk.ntnu.no/frederv/asxmldm/</description>
		<content:encoded><![CDATA[<p>XML version moved to <a href="http://folk.ntnu.no/frederv/asxmldm/" rel="nofollow">http://folk.ntnu.no/frederv/asxmldm/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris</title>
		<link>http://www.canspice.org/code/lastfm-recently-played-php-code/comment-page-2/#comment-23936</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Thu, 22 Feb 2007 22:28:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.canspice.org/index.php/lastfm-recently-played-php-code/#comment-23936</guid>
		<description>trying to get my html to show up.  sorry.  you can delete that last post... and this one.  :)</description>
		<content:encoded><![CDATA[<p>trying to get my html to show up.  sorry.  you can delete that last post&#8230; and this one.  :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris</title>
		<link>http://www.canspice.org/code/lastfm-recently-played-php-code/comment-page-2/#comment-23935</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Thu, 22 Feb 2007 22:27:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.canspice.org/index.php/lastfm-recently-played-php-code/#comment-23935</guid>
		<description>[CODE]




	test








[/CODE]</description>
		<content:encoded><![CDATA[<p>[CODE]</p>
<p>	test</p>
<p>[/CODE]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris</title>
		<link>http://www.canspice.org/code/lastfm-recently-played-php-code/comment-page-2/#comment-23934</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Thu, 22 Feb 2007 22:26:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.canspice.org/index.php/lastfm-recently-played-php-code/#comment-23934</guid>
		<description>i&#039;ve fudged with this for a while now and all i get is a blank page.  if i view source i see the html code.  i&#039;ve tried making the page i load a .hml file and a .php file. i&#039;ve messed with permissions on my server even granting everyone r/w/x just to see if it worked... it didn&#039;t.







	test




&#039; ); ?&gt;





any ideas?   thanks!
would love to get this working</description>
		<content:encoded><![CDATA[<p>i&#8217;ve fudged with this for a while now and all i get is a blank page.  if i view source i see the html code.  i&#8217;ve tried making the page i load a .hml file and a .php file. i&#8217;ve messed with permissions on my server even granting everyone r/w/x just to see if it worked&#8230; it didn&#8217;t.</p>
<p>	test</p>
<p>&#8216; ); ?&gt;</p>
<p>any ideas?   thanks!<br />
would love to get this working</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mauvis</title>
		<link>http://www.canspice.org/code/lastfm-recently-played-php-code/comment-page-2/#comment-22761</link>
		<dc:creator>Mauvis</dc:creator>
		<pubDate>Wed, 14 Feb 2007 05:59:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.canspice.org/index.php/lastfm-recently-played-php-code/#comment-22761</guid>
		<description>I&#039;m in the same boat as a few people, my host doesn&#039;t allow me access to fopen. I tried the comment about from Five but still no luck. Perhaps I&#039;m commenting out the wrong part. If anyone can post the code for the full libcurl version that would be great. Thanks.</description>
		<content:encoded><![CDATA[<p>I&#8217;m in the same boat as a few people, my host doesn&#8217;t allow me access to fopen. I tried the comment about from Five but still no luck. Perhaps I&#8217;m commenting out the wrong part. If anyone can post the code for the full libcurl version that would be great. Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

