<?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"
	>
<channel>
	<title>Comments on: My iTunes</title>
	<atom:link href="http://nslog.com/2003/01/17/my_itunes/feed" rel="self" type="application/rss+xml" />
	<link>http://nslog.com/2003/01/17/my_itunes</link>
	<description>The Weblog of Erik J. Barzeski</description>
	<pubDate>Mon, 01 Dec 2008 23:53:35 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: forbiddenByte</title>
		<link>http://nslog.com/2003/01/17/my_itunes#comment-215</link>
		<dc:creator>forbiddenByte</dc:creator>
		<pubDate>Fri, 20 Aug 2004 21:29:22 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2003/01/17/my_itunes/#comment-215</guid>
		<description>&lt;strong&gt;My iTunes: Source&lt;/strong&gt;

I did say that once I had my iTunes "Currently playing" feature working I'd post up how I got it working... and well, here it is.



It's all set up using RecentTunes and some PHP.





Download "RecentTunes" from Freshly Squeezed Software.

You...
</description>
		<content:encoded><![CDATA[<p><strong>My iTunes: Source</strong></p>
<p>I did say that once I had my iTunes "Currently playing" feature working I'd post up how I got it working... and well, here it is.</p>
<p>It's all set up using RecentTunes and some PHP.</p>
<p>Download "RecentTunes" from Freshly Squeezed Software.</p>
<p>You...</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik J. Barzeski</title>
		<link>http://nslog.com/2003/01/17/my_itunes#comment-212</link>
		<dc:creator>Erik J. Barzeski</dc:creator>
		<pubDate>Sun, 08 Aug 2004 12:17:03 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2003/01/17/my_itunes/#comment-212</guid>
		<description>&#60;?

&#160;&#160;$bg[0] = '&#60;tr valign="top" class="even"&#62;';

&#160;&#160;$bg[1] = '&#60;tr valign="top" class="odd"&#62;';

&#160;&#160;$i=0;

&#160;&#160;$last_track_name = "";

&#160;&#160;include('http://nslog.com/tracklist.inc');

&#160;&#160;foreach($tracklist as $date =&#62; $track_data)

&#160;&#160;{

&#160;&#160;&#160;&#160;extract($track_data);

&#160;&#160;&#160;&#160;$thisSong = "$artist$title$album$year$genre";

&#160;&#160;&#160;&#160;if($last_track_name != "$artist$title$album$year$genre" &#38;&#38; FALSE == strstr($thisSong, '^'))

&#160;&#160;&#160;&#160;{

&#160;&#160;&#160;&#160;&#160;&#160;echo $bg[($i++)%2];

&#160;&#160;&#160;&#160;&#160;&#160;$string = "&#60;a href=\"itms://phobos.apple.com/WebObjects/MZSearch.woa/wa//advancedSearchResults?artistTerm=$artist\"&#62;$artist&#60;/a&#62;&#60;/td&#62;&#60;td&#62;&#60;a href=\"itms://phobos.apple.com/WebObjects/MZSearch.woa/wa//advancedSearchResults?songTerm=$title\"&#62;$title&#60;/a&#62;&#60;/td&#62;&#60;td&#62;&#60;a href=\"itms://phobos.apple.com/WebObjects/MZSearch.woa/wa//advancedSearchResults?artistTerm=$artist&#38;albumTerm=$album\"&#62;$album&#60;/a&#62; ($year)&#60;/td&#62;&#60;td&#62;$genre";

&#160;&#160;&#160;&#160;&#160;&#160;echo "&#60;td&#62;$string&#60;/td&#62;";

&#160;&#160;&#160;&#160;&#160;&#160;echo "&#60;/tr&#62;";

&#160;&#160;&#160;&#160;&#160;&#160;$last_track_name = "$artist$title$album$year$genre";

&#160;&#160;&#160;&#160;}

&#160;&#160;}

?&#62;</description>
		<content:encoded><![CDATA[<p>&lt;?</p>
<p>&nbsp;&nbsp;$bg[0] = '&lt;tr valign="top" class="even"&gt;';</p>
<p>&nbsp;&nbsp;$bg[1] = '&lt;tr valign="top" class="odd"&gt;';</p>
<p>&nbsp;&nbsp;$i=0;</p>
<p>&nbsp;&nbsp;$last_track_name = "";</p>
<p>&nbsp;&nbsp;include('http://nslog.com/tracklist.inc');</p>
<p>&nbsp;&nbsp;foreach($tracklist as $date =&gt; $track_data)</p>
<p>&nbsp;&nbsp;{</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;extract($track_data);</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;$thisSong = "$artist$title$album$year$genre";</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;if($last_track_name != "$artist$title$album$year$genre" &amp;&amp; FALSE == strstr($thisSong, '^'))</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;{</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo $bg[($i++)%2];</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$string = "&lt;a href=\"itms://phobos.apple.com/WebObjects/MZSearch.woa/wa//advancedSearchResults?artistTerm=$artist\"&gt;$artist&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=\"itms://phobos.apple.com/WebObjects/MZSearch.woa/wa//advancedSearchResults?songTerm=$title\"&gt;$title&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=\"itms://phobos.apple.com/WebObjects/MZSearch.woa/wa//advancedSearchResults?artistTerm=$artist&amp;albumTerm=$album\"&gt;$album&lt;/a&gt; ($year)&lt;/td&gt;&lt;td&gt;$genre";</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "&lt;td&gt;$string&lt;/td&gt;";</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "&lt;/tr&gt;";</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$last_track_name = "$artist$title$album$year$genre";</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;}</p>
<p>&nbsp;&nbsp;}</p>
<p>?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Winter</title>
		<link>http://nslog.com/2003/01/17/my_itunes#comment-211</link>
		<dc:creator>Dave Winter</dc:creator>
		<pubDate>Sun, 08 Aug 2004 09:53:23 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2003/01/17/my_itunes/#comment-211</guid>
		<description>I believe Erik uses &lt;a href="http://freshsqueeze.com/products/freeware/"&gt;RecentTunes&lt;/a&gt; to generate the tracklist.inc file.



I've got this set up, using the same PHP/Array output as Erik uses here:

http://nslog.com/tracklist.inc



&lt;em&gt;However&lt;/em&gt;, when I try using the PHP code above to parse the file in the table, it doesn't seem to do anything.



The code is around a year old, so maybe you've updated it and that's why it isn't working? Could you post up the source file you're using now? If different to that of above?</description>
		<content:encoded><![CDATA[<p>I believe Erik uses <a href="http://freshsqueeze.com/products/freeware/">RecentTunes</a> to generate the tracklist.inc file.</p>
<p>I've got this set up, using the same PHP/Array output as Erik uses here:</p>
<p><a href="http://nslog.com/tracklist.inc" >http://nslog.com/tracklist.inc</a></p>
<p><em>However</em>, when I try using the PHP code above to parse the file in the table, it doesn't seem to do anything.</p>
<p>The code is around a year old, so maybe you've updated it and that's why it isn't working? Could you post up the source file you're using now? If different to that of above?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eve Atley</title>
		<link>http://nslog.com/2003/01/17/my_itunes#comment-210</link>
		<dc:creator>Eve Atley</dc:creator>
		<pubDate>Tue, 09 Mar 2004 04:39:46 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2003/01/17/my_itunes/#comment-210</guid>
		<description>Hi! And how does tracklist.inc get populated? I'm really looking for a PHP script that plops in a track at a time to my website.



- Eve</description>
		<content:encoded><![CDATA[<p>Hi! And how does tracklist.inc get populated? I'm really looking for a PHP script that plops in a track at a time to my website.</p>
<p>- Eve</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TooMuchSexy.blog</title>
		<link>http://nslog.com/2003/01/17/my_itunes#comment-214</link>
		<dc:creator>TooMuchSexy.blog</dc:creator>
		<pubDate>Sun, 06 Apr 2003 17:22:21 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2003/01/17/my_itunes/#comment-214</guid>
		<description>&lt;strong&gt;Recent Tracks&lt;/strong&gt;

I've added a recent tracks page, and you can now also see what I am currently listening to. This is powered by Apple's iTunes and Kung-Tunes. Thanks to Erik for providing me with my PHP code....</description>
		<content:encoded><![CDATA[<p><strong>Recent Tracks</strong></p>
<p>I've added a recent tracks page, and you can now also see what I am currently listening to. This is powered by Apple's iTunes and Kung-Tunes. Thanks to Erik for providing me with my PHP code....</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik J. Barzeski</title>
		<link>http://nslog.com/2003/01/17/my_itunes#comment-209</link>
		<dc:creator>Erik J. Barzeski</dc:creator>
		<pubDate>Sun, 06 Apr 2003 05:40:08 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2003/01/17/my_itunes/#comment-209</guid>
		<description>&#60;tr&#62;&#60;th&#62;Artist/Group&#60;/th&#62;&#60;th&#62;Track Name&#60;/th&#62;&#60;th&#62;Album&#60;/th&#62;&#60;th&#62;Genre&#60;/th&#62;&#60;/tr&#62;

&#60;?

&#160;&#160;&#160;$bg[0] = '&#60;tr valign="top" class="even"&#62;';

&#160;&#160;&#160;$bg[1] = '&#60;tr valign="top" class="odd"&#62;';

&#160;&#160;&#160;$i=0;

&#160;&#160;&#160;$last_track_name = "";

&#160;&#160;&#160;include('http://nslog.com/tracklist.inc');

&#160;&#160;&#160;foreach($tracklist as $date =&#62; $track_data)

&#160;&#160;&#160;{

&#160;&#160;&#160;&#160;&#160;&#160;extract($track_data);

&#160;&#160;&#160;&#160;&#160;&#160;if($last_track_name != "$artist$title$album$year$genre")

&#160;&#160;&#160;&#160;&#160;&#160;{

&#160;&#160;&#160;&#160;&#160;&#160;	echo $bg[($i++)%2];

&#160;&#160;&#160;&#160;&#160;&#160;	echo "&#60;td&#62;&#60;a href=\"http://www.google.com/search?q=%22$artist%22\" target=\"_blank\"&#62;$artist&#60;/a&#62;&#60;/td&#62;&#60;td&#62;$title&#60;/td&#62;&#60;td&#62;$album ($year)&#60;/td&#62;&#60;td&#62;$genre&#60;/td&#62;";

&#160;&#160;&#160;&#160;&#160;&#160;	echo "&#60;/tr&#62;";

&#160;&#160;&#160;&#160;&#160;&#160;	$last_track_name = "$artist$title$album$year$genre";

&#160;&#160;&#160;&#160;&#160;&#160;}

&#160;&#160;&#160;}

?&#62;</description>
		<content:encoded><![CDATA[<p>&lt;tr&gt;&lt;th&gt;Artist/Group&lt;/th&gt;&lt;th&gt;Track Name&lt;/th&gt;&lt;th&gt;Album&lt;/th&gt;&lt;th&gt;Genre&lt;/th&gt;&lt;/tr&gt;</p>
<p>&lt;?</p>
<p>&nbsp;&nbsp;&nbsp;$bg[0] = '&lt;tr valign="top" class="even"&gt;';</p>
<p>&nbsp;&nbsp;&nbsp;$bg[1] = '&lt;tr valign="top" class="odd"&gt;';</p>
<p>&nbsp;&nbsp;&nbsp;$i=0;</p>
<p>&nbsp;&nbsp;&nbsp;$last_track_name = "";</p>
<p>&nbsp;&nbsp;&nbsp;include('http://nslog.com/tracklist.inc');</p>
<p>&nbsp;&nbsp;&nbsp;foreach($tracklist as $date =&gt; $track_data)</p>
<p>&nbsp;&nbsp;&nbsp;{</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;extract($track_data);</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if($last_track_name != "$artist$title$album$year$genre")</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;	echo $bg[($i++)%2];</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;	echo "&lt;td&gt;&lt;a href=\"http://www.google.com/search?q=%22$artist%22\" target=\"_blank\"&gt;$artist&lt;/a&gt;&lt;/td&gt;&lt;td&gt;$title&lt;/td&gt;&lt;td&gt;$album ($year)&lt;/td&gt;&lt;td&gt;$genre&lt;/td&gt;";</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;	echo "&lt;/tr&gt;";</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;	$last_track_name = "$artist$title$album$year$genre";</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</p>
<p>&nbsp;&nbsp;&nbsp;}</p>
<p>?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Etan</title>
		<link>http://nslog.com/2003/01/17/my_itunes#comment-208</link>
		<dc:creator>Etan</dc:creator>
		<pubDate>Sun, 06 Apr 2003 04:56:23 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2003/01/17/my_itunes/#comment-208</guid>
		<description>How'd you go about setting up the PHP code for this?</description>
		<content:encoded><![CDATA[<p>How'd you go about setting up the PHP code for this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Irate Scotsman</title>
		<link>http://nslog.com/2003/01/17/my_itunes#comment-213</link>
		<dc:creator>Irate Scotsman</dc:creator>
		<pubDate>Sun, 19 Jan 2003 17:55:12 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2003/01/17/my_itunes/#comment-213</guid>
		<description>&lt;strong&gt;I'm currently listening to...&lt;/strong&gt;

A lot of people seem to be quite taken with the idea of using their blog to show what music they're currently listening to (often in iTunes). For the record, I'm currently listening to Liebling by Andreas Johnson (specifically "Glorious", o...</description>
		<content:encoded><![CDATA[<p><strong>I'm currently listening to...</strong></p>
<p>A lot of people seem to be quite taken with the idea of using their blog to show what music they're currently listening to (often in iTunes). For the record, I'm currently listening to Liebling by Andreas Johnson (specifically "Glorious", o...</p>
]]></content:encoded>
	</item>
</channel>
</rss>
