<?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: iTunes Music Store RSS Feeds</title>
	<atom:link href="http://decafbad.com/blog/2003/05/07/itunes-rss/feed" rel="self" type="application/rss+xml" />
	<link>http://decafbad.com/blog/2003/05/07/itunes-rss</link>
	<description>It's all spinning wheels and self-doubt until the first pot of coffee.</description>
	<lastBuildDate>Thu, 11 Mar 2010 12:23:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0-alpha</generator>
	<item>
		<title>By: Buzz Andersen</title>
		<link>http://decafbad.com/blog/2003/05/07/itunes-rss/comment-page-1#comment-820</link>
		<dc:creator>Buzz Andersen</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.decafbad.com/blog/?p=414#comment-820</guid>
		<description>&lt;p&gt;What seems to be the problem?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>What seems to be the problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: l.m.orchard</title>
		<link>http://decafbad.com/blog/2003/05/07/itunes-rss/comment-page-1#comment-821</link>
		<dc:creator>l.m.orchard</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.decafbad.com/blog/?p=414#comment-821</guid>
		<description>&lt;p&gt;Oh, it&#039;s rambled about on the wiki page.  I just updated the blog entry with more info though.  Seems there&#039;s a parameter (fcid) to the URL for just added albums that I can&#039;t decipher.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Oh, it&#8217;s rambled about on the wiki page.  I just updated the blog entry with more info though.  Seems there&#8217;s a parameter (fcid) to the URL for just added albums that I can&#8217;t decipher.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Buzz Andersen</title>
		<link>http://decafbad.com/blog/2003/05/07/itunes-rss/comment-page-1#comment-822</link>
		<dc:creator>Buzz Andersen</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.decafbad.com/blog/?p=414#comment-822</guid>
		<description>&lt;p&gt;Sorry--I&#039;m not hip to the whole Wiki thing yet.  I&#039;ll take a look over there...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Sorry&#8211;I&#8217;m not hip to the whole Wiki thing yet.  I&#8217;ll take a look over there&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan Pearson</title>
		<link>http://decafbad.com/blog/2003/05/07/itunes-rss/comment-page-1#comment-823</link>
		<dc:creator>Nathan Pearson</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.decafbad.com/blog/?p=414#comment-823</guid>
		<description>&lt;p&gt;I imagine fcId is tied to an internal value that&#039;s changed by a content management system.  Even if it changes a few times in a noticeable pattern, I don&#039;t imagine that it would be reliable forever.  The only foolproof way I can think of retrieving the contents of a (or all of them) Just Added &#039;playlist&#039; is by doing the following;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Retrieving the XML from viewPlaylistsPage without any parameters and storing the attribute of the ViewGenre element that matches your preferred genre(s).  I don&#039;t imagine these would remain static for all time either, judging from the numbers;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;For each genre id that was stored from step 1, load the XML from vewGenre?id=.  Find the GotoURL element that contains the text Just Added and grab it&#039;s url attribute.  Add on &amp;batchNumber=0;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If you&#039;re fine with just one page being transformed, use the resulting XML for the transformation to RSS.  Otherwise, store the album information that you want to keep from the page and look for the value &#039;X-Y of Z&#039;.  If Y and Z don&#039;t match, increment batchNumber and process the resulting XML.  Repeat for other genres.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;It&#039;d probably be best to cache the resulting RSS feed and let it live for at least 24 hours.  With at least three to four round trips to determine the albums in a playlist without knowledge of the fcId values, I don&#039;t imagine it would be very responsive.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I imagine fcId is tied to an internal value that&#8217;s changed by a content management system.  Even if it changes a few times in a noticeable pattern, I don&#8217;t imagine that it would be reliable forever.  The only foolproof way I can think of retrieving the contents of a (or all of them) Just Added &#8216;playlist&#8217; is by doing the following;</p>
<ol>
<li>
<p>Retrieving the XML from viewPlaylistsPage without any parameters and storing the attribute of the ViewGenre element that matches your preferred genre(s).  I don&#8217;t imagine these would remain static for all time either, judging from the numbers;</p>
</li>
<li>
<p>For each genre id that was stored from step 1, load the XML from vewGenre?id=.  Find the GotoURL element that contains the text Just Added and grab it&#8217;s url attribute.  Add on &amp;batchNumber=0;</p>
</li>
<li>
<p>If you&#8217;re fine with just one page being transformed, use the resulting XML for the transformation to RSS.  Otherwise, store the album information that you want to keep from the page and look for the value &#8216;X-Y of Z&#8217;.  If Y and Z don&#8217;t match, increment batchNumber and process the resulting XML.  Repeat for other genres.</p>
</li>
</ol>
<p>It&#8217;d probably be best to cache the resulting RSS feed and let it live for at least 24 hours.  With at least three to four round trips to determine the albums in a playlist without knowledge of the fcId values, I don&#8217;t imagine it would be very responsive.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: l.m.orchard</title>
		<link>http://decafbad.com/blog/2003/05/07/itunes-rss/comment-page-1#comment-824</link>
		<dc:creator>l.m.orchard</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.decafbad.com/blog/?p=414#comment-824</guid>
		<description>&lt;p&gt;Nathan: Hrm...  Yeah, that&#039;s the approach I was afraid that I&#039;d have to end up taking, but it&#039;s probably the most reliable.  Hmph.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Nathan: Hrm&#8230;  Yeah, that&#8217;s the approach I was afraid that I&#8217;d have to end up taking, but it&#8217;s probably the most reliable.  Hmph.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: l.m.orchard</title>
		<link>http://decafbad.com/blog/2003/05/07/itunes-rss/comment-page-1#comment-825</link>
		<dc:creator>l.m.orchard</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.decafbad.com/blog/?p=414#comment-825</guid>
		<description>&lt;p&gt;&lt;strong&gt;No More Mr. RSSify&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Noticed this show up suddenly today as the new item to a surprising number of feeds to which I subscribe.  I knew Julian Bond&#039;s public RSSifying service had gotten used far and wide, but wow.  The bandwidth bills must&#039;ve been getting quite annoyin&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p><strong>No More Mr. RSSify</strong></p>
<p>Noticed this show up suddenly today as the new item to a surprising number of feeds to which I subscribe.  I knew Julian Bond&#8217;s public RSSifying service had gotten used far and wide, but wow.  The bandwidth bills must&#8217;ve been getting quite annoyin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: l.m.orchard</title>
		<link>http://decafbad.com/blog/2003/05/07/itunes-rss/comment-page-1#comment-826</link>
		<dc:creator>l.m.orchard</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.decafbad.com/blog/?p=414#comment-826</guid>
		<description>&lt;p&gt;&lt;strong&gt;No More Mr. RSSify&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Noticed this show up suddenly today as the new item to a surprising number of feeds to which I subscribe.  I knew Julian Bond&#039;s public RSSifying service had gotten used far and wide, but wow.  The bandwidth bills must&#039;ve been getting quite annoyin&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p><strong>No More Mr. RSSify</strong></p>
<p>Noticed this show up suddenly today as the new item to a surprising number of feeds to which I subscribe.  I knew Julian Bond&#8217;s public RSSifying service had gotten used far and wide, but wow.  The bandwidth bills must&#8217;ve been getting quite annoyin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://decafbad.com/blog/2003/05/07/itunes-rss/comment-page-1#comment-827</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.decafbad.com/blog/?p=414#comment-827</guid>
		<description>&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p><strong></strong></p>
]]></content:encoded>
	</item>
</channel>
</rss>
