<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>amnuts &#187; Updates</title>
	<atom:link href="http://blog.amnuts.com/category/updates/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.amnuts.com</link>
	<description>php projects, javascript, and... stuff.</description>
	<lastBuildDate>Fri, 07 May 2010 09:11:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CafePress random product update</title>
		<link>http://blog.amnuts.com/2007/02/27/cafepress-random-product-update/</link>
		<comments>http://blog.amnuts.com/2007/02/27/cafepress-random-product-update/#comments</comments>
		<pubDate>Tue, 27 Feb 2007 11:34:50 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Updates]]></category>

		<guid isPermaLink="false">http://blog.amnuts.com/2007/02/27/cafepress-random-product-update/</guid>
		<description><![CDATA[A small update is required to the CafePress box class &#8211; the one that shows a random product from your CafePress store.  This is needed because there have been some additional updates to the HTML on the CafePress side, so the regular expression in the class needs updating.  It&#8217;s very easy; just change [...]]]></description>
			<content:encoded><![CDATA[<p>A small update is required to the CafePress box class &#8211; the one that shows a random product from your CafePress store.  This is needed because there have been some additional updates to the HTML on the CafePress side, so the regular expression in the class needs updating.  It&#8217;s very easy; just change line 174 for the following:</p>
<pre lang="php">
$this->cpPattern = '<a href="/'.$this->storeID.'\.(\d+)"><img .*?alt="([^\"]*)" src="([^"]*)"/></a>.*?<a href="/'.$this->storeID.'\.(\d+)">(.*?)</a>\$([^< ]*)';
</pre>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.amnuts.com/2007/02/27/cafepress-random-product-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
