<?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: Display Last.fm&#8217;s Recent Tracks on Web Site with PHP Function</title>
	<atom:link href="http://www.linein.org/blog/2007/03/21/display-lastfms-recent-tracks-on-web-site-with-php-function/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linein.org/blog/2007/03/21/display-lastfms-recent-tracks-on-web-site-with-php-function/</link>
	<description></description>
	<lastBuildDate>Fri, 09 Jul 2010 13:57:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: john</title>
		<link>http://www.linein.org/blog/2007/03/21/display-lastfms-recent-tracks-on-web-site-with-php-function/comment-page-1/#comment-3643</link>
		<dc:creator>john</dc:creator>
		<pubDate>Sat, 23 May 2009 21:49:42 +0000</pubDate>
		<guid isPermaLink="false">http://linein.org/blog/2007/03/21/display-lastfms-recent-tracks-on-web-site-with-php-function/#comment-3643</guid>
		<description>If you&#039;re not interested in saving the songs you&#039;re listening to in a database, last.fm provides two easy way to display this.

1) they have a ton of widgets that you can embed - http://www.last.fm/widgets

2) use the RSS feed for the information you need and parse it with PHP (or whatever language you choose) [feeds: http://www.last.fm/api/feeds]

Just shoot me a message in the &quot;contact&quot; form if you have any more questions.</description>
		<content:encoded><![CDATA[<p>If you&#8217;re not interested in saving the songs you&#8217;re listening to in a database, last.fm provides two easy way to display this.</p>
<p>1) they have a ton of widgets that you can embed &#8211; <a href="http://www.last.fm/widgets" rel="nofollow">http://www.last.fm/widgets</a></p>
<p>2) use the RSS feed for the information you need and parse it with PHP (or whatever language you choose) [feeds: <a href="http://www.last.fm/api/feeds" rel="nofollow">http://www.last.fm/api/feeds</a></p>
<p>Just shoot me a message in the &#8220;contact&#8221; form if you have any more questions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fred Yates</title>
		<link>http://www.linein.org/blog/2007/03/21/display-lastfms-recent-tracks-on-web-site-with-php-function/comment-page-1/#comment-3628</link>
		<dc:creator>Fred Yates</dc:creator>
		<pubDate>Fri, 22 May 2009 18:51:06 +0000</pubDate>
		<guid isPermaLink="false">http://linein.org/blog/2007/03/21/display-lastfms-recent-tracks-on-web-site-with-php-function/#comment-3628</guid>
		<description>Hey john, I&#039;m a front end developer and really only focus on design.

PHP is like greek to me but I&#039;d really like to use this file on my new site. Trouble is I don&#039;t really even know where to start.

If at all possible is there a dumbed down way to explain how to do this?</description>
		<content:encoded><![CDATA[<p>Hey john, I&#8217;m a front end developer and really only focus on design.</p>
<p>PHP is like greek to me but I&#8217;d really like to use this file on my new site. Trouble is I don&#8217;t really even know where to start.</p>
<p>If at all possible is there a dumbed down way to explain how to do this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://www.linein.org/blog/2007/03/21/display-lastfms-recent-tracks-on-web-site-with-php-function/comment-page-1/#comment-1750</link>
		<dc:creator>john</dc:creator>
		<pubDate>Mon, 05 May 2008 12:33:25 +0000</pubDate>
		<guid isPermaLink="false">http://linein.org/blog/2007/03/21/display-lastfms-recent-tracks-on-web-site-with-php-function/#comment-1750</guid>
		<description>I think I see the problem. The code above in test.txt is a function that you have to call. You declared it above and now you have to use it.

To use it just add this line to the bottom of the code (just above the ?&gt;):

echo recenttracks(&#039;jayrobinson83&#039;);</description>
		<content:encoded><![CDATA[<p>I think I see the problem. The code above in test.txt is a function that you have to call. You declared it above and now you have to use it.</p>
<p>To use it just add this line to the bottom of the code (just above the ?>):</p>
<p>echo recenttracks(&#8216;jayrobinson83&#8242;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay Robinson</title>
		<link>http://www.linein.org/blog/2007/03/21/display-lastfms-recent-tracks-on-web-site-with-php-function/comment-page-1/#comment-1749</link>
		<dc:creator>Jay Robinson</dc:creator>
		<pubDate>Mon, 05 May 2008 11:52:48 +0000</pubDate>
		<guid isPermaLink="false">http://linein.org/blog/2007/03/21/display-lastfms-recent-tracks-on-web-site-with-php-function/#comment-1749</guid>
		<description>Okay, tried that and it still didn&#039;t work. You can check it out:

http://internetjay.com/php/test.php
http://internetjay.com/php/test.txt</description>
		<content:encoded><![CDATA[<p>Okay, tried that and it still didn&#8217;t work. You can check it out:</p>
<p><a href="http://internetjay.com/php/test.php" rel="nofollow">http://internetjay.com/php/test.php</a><br />
<a href="http://internetjay.com/php/test.txt" rel="nofollow">http://internetjay.com/php/test.txt</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://www.linein.org/blog/2007/03/21/display-lastfms-recent-tracks-on-web-site-with-php-function/comment-page-1/#comment-1736</link>
		<dc:creator>john</dc:creator>
		<pubDate>Fri, 02 May 2008 12:39:44 +0000</pubDate>
		<guid isPermaLink="false">http://linein.org/blog/2007/03/21/display-lastfms-recent-tracks-on-web-site-with-php-function/#comment-1736</guid>
		<description>Try changing your file extension to .php so the first test file would be test.php. If that does not work, save the file as test.txt and let me take a look at the code.</description>
		<content:encoded><![CDATA[<p>Try changing your file extension to .php so the first test file would be test.php. If that does not work, save the file as test.txt and let me take a look at the code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay Robinson</title>
		<link>http://www.linein.org/blog/2007/03/21/display-lastfms-recent-tracks-on-web-site-with-php-function/comment-page-1/#comment-1729</link>
		<dc:creator>Jay Robinson</dc:creator>
		<pubDate>Wed, 30 Apr 2008 14:27:01 +0000</pubDate>
		<guid isPermaLink="false">http://linein.org/blog/2007/03/21/display-lastfms-recent-tracks-on-web-site-with-php-function/#comment-1729</guid>
		<description>My Last.fm user name is Jayrobinson83. You can see the intended use at InternetJay.com.

I am testing out this functionality on my PHP5-enabled server at internetjay.com/php/test.html and test2.html and test3.html.

I haven&#039;t learned PHP yet but I&#039;m anxious to use this feature. Please forgive my haste. Thanks for any help you can give.</description>
		<content:encoded><![CDATA[<p>My Last.fm user name is Jayrobinson83. You can see the intended use at InternetJay.com.</p>
<p>I am testing out this functionality on my PHP5-enabled server at internetjay.com/php/test.html and test2.html and test3.html.</p>
<p>I haven&#8217;t learned PHP yet but I&#8217;m anxious to use this feature. Please forgive my haste. Thanks for any help you can give.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://www.linein.org/blog/2007/03/21/display-lastfms-recent-tracks-on-web-site-with-php-function/comment-page-1/#comment-1720</link>
		<dc:creator>john</dc:creator>
		<pubDate>Sun, 27 Apr 2008 11:22:53 +0000</pubDate>
		<guid isPermaLink="false">http://linein.org/blog/2007/03/21/display-lastfms-recent-tracks-on-web-site-with-php-function/#comment-1720</guid>
		<description>Send me the link to your site where you&#039;re trying this and I&#039;ll take a look at it. Also, what is your Last.fm user name?</description>
		<content:encoded><![CDATA[<p>Send me the link to your site where you&#8217;re trying this and I&#8217;ll take a look at it. Also, what is your Last.fm user name?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay Robinson</title>
		<link>http://www.linein.org/blog/2007/03/21/display-lastfms-recent-tracks-on-web-site-with-php-function/comment-page-1/#comment-1719</link>
		<dc:creator>Jay Robinson</dc:creator>
		<pubDate>Sun, 27 Apr 2008 07:36:55 +0000</pubDate>
		<guid isPermaLink="false">http://linein.org/blog/2007/03/21/display-lastfms-recent-tracks-on-web-site-with-php-function/#comment-1719</guid>
		<description>I tried de-commenting the $user thing too.</description>
		<content:encoded><![CDATA[<p>I tried de-commenting the $user thing too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay Robinson</title>
		<link>http://www.linein.org/blog/2007/03/21/display-lastfms-recent-tracks-on-web-site-with-php-function/comment-page-1/#comment-1718</link>
		<dc:creator>Jay Robinson</dc:creator>
		<pubDate>Sun, 27 Apr 2008 07:35:40 +0000</pubDate>
		<guid isPermaLink="false">http://linein.org/blog/2007/03/21/display-lastfms-recent-tracks-on-web-site-with-php-function/#comment-1718</guid>
		<description>So if I take this text file, save as a .php to my server, and only change it so that 


function recenttracks($user)
{
//$user = ‘jayrobinson83’;

// location on server where the cached file will be located (it must be absolute and the folder must have full (777) permission)
$cache = “/media/recenttracks.txt”;


this should work? Cause it is not for me. I have PHP enabled on my server, but I am new to PHP. I tried putting it in an HTML wrapper, but haven&#039;t figured it out yet. Thanks, Jay</description>
		<content:encoded><![CDATA[<p>So if I take this text file, save as a .php to my server, and only change it so that </p>
<p>function recenttracks($user)<br />
{<br />
//$user = ‘jayrobinson83’;</p>
<p>// location on server where the cached file will be located (it must be absolute and the folder must have full (777) permission)<br />
$cache = “/media/recenttracks.txt”;</p>
<p>this should work? Cause it is not for me. I have PHP enabled on my server, but I am new to PHP. I tried putting it in an HTML wrapper, but haven&#8217;t figured it out yet. Thanks, Jay</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://www.linein.org/blog/2007/03/21/display-lastfms-recent-tracks-on-web-site-with-php-function/comment-page-1/#comment-1505</link>
		<dc:creator>john</dc:creator>
		<pubDate>Mon, 17 Mar 2008 14:06:51 +0000</pubDate>
		<guid isPermaLink="false">http://linein.org/blog/2007/03/21/display-lastfms-recent-tracks-on-web-site-with-php-function/#comment-1505</guid>
		<description>Send me the link and the code you&#039;re using and I&#039;ll take a look at it.</description>
		<content:encoded><![CDATA[<p>Send me the link and the code you&#8217;re using and I&#8217;ll take a look at it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
