<?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>whump.com &#124; More Like This WebLog &#187; PHP</title>
	<atom:link href="http://www.whump.com/moreLikeThis/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.whump.com/moreLikeThis</link>
	<description>Where is their vote?</description>
	<lastBuildDate>Mon, 28 Dec 2009 04:55:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Programming Languages as Literary Genres</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2009%2F02%2F03%2Fprogramming-languages-as-literary-genres%2F&#038;seed_title=Programming+Languages+as+Literary+Genres</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2009%2F02%2F03%2Fprogramming-languages-as-literary-genres%2F&#038;seed_title=Programming+Languages+as+Literary+Genres#comments</comments>
		<pubDate>Tue, 03 Feb 2009 22:36:57 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[culture]]></category>
		<category><![CDATA[humor]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[writing]]></category>
		<category><![CDATA[cat valente]]></category>
		<category><![CDATA[genre]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[programming languages]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[smalltalk]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2009/02/03/programming-languages-as-literary-genres/</guid>
		<description><![CDATA[Python is science fiction, Java is literary fiction, and Ruby on Rails is store-bought steampunk goggles*. Cynthia emailed me about Cat Valente&#8217;s funny post about programming languages as literary genres this morning. Liz Henry has a write-up too. * for the record, my steampunk goggles were bought off of Etsy.]]></description>
			<content:encoded><![CDATA[<p><a href="http://yuki-onna.livejournal.com/426022.html">Python is science fiction, Java is literary fiction, and Ruby on Rails is store-bought steampunk goggles</a>*. Cynthia emailed me about Cat Valente&#8217;s funny post about programming languages as literary genres this morning. <a href="http://liz-henry.blogspot.com/2009/02/programming-languages-and-science.html">Liz Henry has a write-up too.</a></p>
<p>* for the record, my steampunk goggles were bought off of Etsy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2009%2F02%2F03%2Fprogramming-languages-as-literary-genres%2F&#038;seed_title=Programming+Languages+as+Literary+Genres/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iphone-viewport-meta 0.8.1</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2007%2F11%2F08%2Fiphone-viewport-meta-0.8.1%2F&#038;seed_title=iphone-viewport-meta+0.8.1</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2007%2F11%2F08%2Fiphone-viewport-meta-0.8.1%2F&#038;seed_title=iphone-viewport-meta+0.8.1#comments</comments>
		<pubDate>Thu, 08 Nov 2007 08:26:43 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[linklist]]></category>
		<category><![CDATA[weblogs]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[blogware]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[ipod touch]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2007/11/08/iphone-viewport-meta-0.8.1/</guid>
		<description><![CDATA[Updated version of the WordPress plugin for optimizing the display of blogs on the iPhone and iPod Touch. Now scrolls the location bar out of the way after page load, but does not conflict with links to named anchors on the page. From a suggestion by Donny Cruce.]]></description>
			<content:encoded><![CDATA[<p>Updated version of <a href="http://wordpress.org/extend/plugins/iphone-viewport-meta/">the WordPress plugin</a> for optimizing the display of blogs on the iPhone and iPod Touch. Now scrolls the location bar out of the way after page load, but does not conflict with links to named anchors on the page. From a suggestion by <a href="http://yoshiki.tv">Donny Cruce</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2007%2F11%2F08%2Fiphone-viewport-meta-0.8.1%2F&#038;seed_title=iphone-viewport-meta+0.8.1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone Viewport Meta now on wordpress.org</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2007%2F10%2F16%2Fiphone-viewport-meta-now-on-wordpress.org%2F&#038;seed_title=iPhone+Viewport+Meta+now+on+wordpress.org</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2007%2F10%2F16%2Fiphone-viewport-meta-now-on-wordpress.org%2F&#038;seed_title=iPhone+Viewport+Meta+now+on+wordpress.org#comments</comments>
		<pubDate>Wed, 17 Oct 2007 06:11:48 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[linklist]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[weblogs]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2007/10/16/iphone-viewport-meta-now-on-wordpress.org/</guid>
		<description><![CDATA[I&#8217;ve taken advantage of wordpress.org&#8217;s hosting and subversion repository. So the iPhone Viewport Meta plugin for WordPress is now hosted there.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve taken advantage of wordpress.org&#8217;s hosting and subversion repository. So the <a href="http://wordpress.org/extend/plugins/iphone-viewport-meta">iPhone Viewport Meta plugin for WordPress is now hosted there</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2007%2F10%2F16%2Fiphone-viewport-meta-now-on-wordpress.org%2F&#038;seed_title=iPhone+Viewport+Meta+now+on+wordpress.org/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>iPhone Viewport Meta Plugin for WordPress</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2007%2F07%2F11%2Fiphone-viewport-meta-plugin-for-wordpress%2F&#038;seed_title=iPhone+Viewport+Meta+Plugin+for+WordPress</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2007%2F07%2F11%2Fiphone-viewport-meta-plugin-for-wordpress%2F&#038;seed_title=iPhone+Viewport+Meta+Plugin+for+WordPress#comments</comments>
		<pubDate>Thu, 12 Jul 2007 06:12:45 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[weblogs]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[markup]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2007/07/11/iphone-viewport-meta-plugin-for-wordpress/</guid>
		<description><![CDATA[Get the plugin from wordpress.org. Update 4: Plugin now hosted at wordpress.org. Update 3: New version with support for viewport constants, and iPod Touch. Update 2: James Craig points out that the ID attribute is not allowed in the META element, so I&#8217;ve updated the plugin. Update: I should add what my aim is. Rather [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://wordpress.org/extend/plugins/iphone-viewport-meta">Get the plugin</a> from wordpress.org.</p>
<p><strong>Update 4:</strong> Plugin now hosted at wordpress.org.</p>
<p><strong>Update 3:</strong> New version with support for viewport constants, and iPod Touch.</p>
<p><strong>Update 2:</strong> <a href="http://cookiecrook.com/">James Craig</a> points out that the ID attribute is not allowed in the META element, so I&#8217;ve updated the plugin.</p>
<p><strong>Update:</strong> I should add what my aim is. Rather than creating a separate template for mobile, I want to have a theme that &#8216;does the right thing&#8217; for iPhone and desktop browsers.</p>
<p>Some documentation:</p>
<ol>
<li>Plugin tests user agent string.
<ul>
<li>If it contains &#8216;iPhone&#8217; then it adds <code>&lt;meta content="width=480; maximum-scale=0.6667" name="viewport"/&gt;</code> to the document&#8217;s head.</li>
<li>It also adds iPhone specific CSS rules. For that reason, you should call wp_head() in your theme file <em>after</em> you declare your default CSS files.</li>
<li>These rules were written with <a href="http://www.plaintxt.org/themes/sandbox/">Sandbox</a> in mind. You will want to edit the CSS rules to suit your theme.</li>
<li>You can force the viewport and CSS rules by adding <code>forceiphone=y</code> to the query string portion of a URL.</li>
</ul>
</li>
<li>Adds a boolean function: <code>weh_is_iPhone()</code>.
<ul>
<li>Returns true if user agent string contains &#8216;iPhone&#8217;.</li>
<li>You can call this function from your theme to add or turn off generation of markup.</li>
<li>Most likely you&#8217;ll use it to turn off generation of sidebars.</li>
</ul>
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2007%2F07%2F11%2Fiphone-viewport-meta-plugin-for-wordpress%2F&#038;seed_title=iPhone+Viewport+Meta+Plugin+for+WordPress/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Scheduling in WordPress</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2007%2F04%2F10%2Fscheduling-in-wordpress%2F&#038;seed_title=Scheduling+in+WordPress</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2007%2F04%2F10%2Fscheduling-in-wordpress%2F&#038;seed_title=Scheduling+in+WordPress#comments</comments>
		<pubDate>Wed, 11 Apr 2007 06:20:25 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[linklist]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[weblogs]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2007/04/10/scheduling-in-wordpress/</guid>
		<description><![CDATA[Glenn Slaven has a write up on using the cron hooks in WordPress.]]></description>
			<content:encoded><![CDATA[<p>Glenn Slaven has a write up <a href="http://blog.slaven.net.au/archives/2007/02/01/timing-is-everything-scheduling-in-wordpress/">on using the cron hooks in WordPress</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2007%2F04%2F10%2Fscheduling-in-wordpress%2F&#038;seed_title=Scheduling+in+WordPress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading WordPress</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2007%2F01%2F07%2Fupgrading-wordpress%2F&#038;seed_title=Upgrading+WordPress</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2007%2F01%2F07%2Fupgrading-wordpress%2F&#038;seed_title=Upgrading+WordPress#comments</comments>
		<pubDate>Sun, 07 Jan 2007 18:45:56 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[linklist]]></category>
		<category><![CDATA[weblogs]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2007/01/07/upgrading-wordpress/</guid>
		<description><![CDATA[I&#8217;ve upgraded More Like This to WordPress 2.0.6 this morning. You&#8217;ll want Mark Jaquith&#8217;s patch, fixing a problem with 304 Not Modified responses, to keep from breaking aggregators.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve upgraded More Like This to WordPress 2.0.6 this morning. You&#8217;ll want <a href="http://markjaquith.wordpress.com/2007/01/06/wordpress-206-feedburner-issue-and-fix/">Mark Jaquith&#8217;s patch, fixing a problem with 304 Not Modified responses</a>, to keep from breaking aggregators.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2007%2F01%2F07%2Fupgrading-wordpress%2F&#038;seed_title=Upgrading+WordPress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Atom Bank Shot</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F08%2F24%2Fatom-bank-shot%2F&#038;seed_title=Atom+Bank+Shot</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F08%2F24%2Fatom-bank-shot%2F&#038;seed_title=Atom+Bank+Shot#comments</comments>
		<pubDate>Thu, 24 Aug 2006 08:18:43 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[weblogs]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[xml]]></category>
		<category><![CDATA[XSLT]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2006/08/24/atom-bank-shot/</guid>
		<description><![CDATA[I installed the experimental Atom Publishing Protocol Server in in my local WordPress test install. Posted a entry using curl to talk to WordPress. Used hAtom2Atom.xsl to grab the embedded hAtom from the Sandbox themed blog. Read the posted entry in NetNewsWire. Round trip.]]></description>
			<content:encoded><![CDATA[<ol>
<li>I installed the experimental <a href="http://torrez.us/archives/2006/08/21/486/">Atom Publishing Protocol Server</a> in in my local WordPress test install.</li>
<li>Posted a entry using curl to talk to WordPress.</li>
<li>Used <a href="http://placenamehere.com/article/185/SubscribingTohAtomFeedsWithNetNewsWire">hAtom2Atom.xsl</a> to grab the embedded <a href="http://microformats.org/wiki/hatom">hAtom</a> from the <a href="http://www.plaintxt.org/themes/sandbox/">Sandbox</a> themed blog.</li>
<li>Read the posted entry in NetNewsWire.</li>
</ol>
<p>Round trip.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F08%2F24%2Fatom-bank-shot%2F&#038;seed_title=Atom+Bank+Shot/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Atom Publishing Protocol for WordPress</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F08%2F22%2Fatom-publishing-protocol-for-wordpress%2F&#038;seed_title=Atom+Publishing+Protocol+for+WordPress</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F08%2F22%2Fatom-publishing-protocol-for-wordpress%2F&#038;seed_title=Atom+Publishing+Protocol+for+WordPress#comments</comments>
		<pubDate>Wed, 23 Aug 2006 07:35:33 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[weblogs]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2006/08/22/atom-publishing-protocol-for-wordpress/</guid>
		<description><![CDATA[My webhost doesn&#8217;t run PHP 5 so I can&#8217;t experiment with Elias Torres&#8217; APP client for WordPress here. I was able to post to a test install of WordPress on my PowerBook running PHP 5. ETA: there&#8217;s an updated version that runs on PHP 4.4.x. ETA 2: And it works, too. I just tried it [...]]]></description>
			<content:encoded><![CDATA[<p>My webhost doesn&#8217;t run PHP 5 so I can&#8217;t experiment with Elias Torres&#8217; <a href="http://torrez.us/archives/2006/08/21/486/">APP client for WordPress</a> here. I was able to post to a test install of WordPress on my PowerBook running PHP 5.</p>
<p><strong>ETA:</strong> there&#8217;s an updated version that runs on PHP 4.4.x.</p>
<p><strong>ETA 2:</strong> And it works, too. I just tried it with Tim Bray&#8217;s APE.</p>
<p>And congratulations to the Torres&#8217; on the occasion of the birth of their third child <small>(Elias should confer with Tim and Lauren on the logistics of open source development while taking care of an infant.)</small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F08%2F22%2Fatom-publishing-protocol-for-wordpress%2F&#038;seed_title=Atom+Publishing+Protocol+for+WordPress/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>On Patching WordPress with Atom 1.0</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F08%2F09%2Fon-patching-wordpress-with-atom-10%2F&#038;seed_title=On+Patching+WordPress+with+Atom+1.0</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F08%2F09%2Fon-patching-wordpress-with-atom-10%2F&#038;seed_title=On+Patching+WordPress+with+Atom+1.0#comments</comments>
		<pubDate>Thu, 10 Aug 2006 07:20:52 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[markup]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2006/08/09/on-patching-wordpress-with-atom-10/</guid>
		<description><![CDATA[Niklas Lindblad, in the comments to the post on hAtom, wrote to remind me that James Snell has a drop-in replacement for wp-atom.php that will upgrade your WordPress blog&#8217;s Atom feed to 1.0. In order to use that with PHP 4, apply Niklas&#8217; patch. Finally, if you don&#8217;t want to syndicate your feed&#8217;s content as [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://nlindblad.org/">Niklas Lindblad</a>, <a href="http://www.whump.com/moreLikeThis/2006/08/07/sandbox-and-strangelove-hatom-in-wordpress/#comment-1506">in the comments to the post on hAtom</a>, wrote to remind me that <a href="http://www.snellspace.com/wp/?p=404">James Snell has a drop-in replacement for <code>wp-atom.php</code></a> that will upgrade your WordPress blog&#8217;s Atom feed to 1.0.</p>
<p>In order to use that with PHP 4, <a href="http://nlindblad.org/2006/08/05/wordpress-atom-10-support-revisited/">apply Niklas&#8217; patch</a>.</p>
<p>Finally, if you don&#8217;t want to syndicate your feed&#8217;s content as escaped HTML, <a href="http://www.whump.com/dropbox/patches/wp-atom.patch">apply my patch that combines my changes and Niklas&#8217; to James&#8217; code</a>. However, you&#8217;re now responsible for making sure your entries are valid XHTML.</p>
<p><strong>Note:</strong> after applying the patch, you&#8217;ll need to modify the format string passed to <code>the_time</code> to account for your offset from GMT. There&#8217;s probably another way to do this.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F08%2F09%2Fon-patching-wordpress-with-atom-10%2F&#038;seed_title=On+Patching+WordPress+with+Atom+1.0/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Sandbox and Strangelove: hAtom in WordPress</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F08%2F07%2Fsandbox-and-strangelove-hatom-in-wordpress%2F&#038;seed_title=Sandbox+and+Strangelove%3A+hAtom+in+WordPress</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F08%2F07%2Fsandbox-and-strangelove-hatom-in-wordpress%2F&#038;seed_title=Sandbox+and+Strangelove%3A+hAtom+in+WordPress#comments</comments>
		<pubDate>Mon, 07 Aug 2006 08:18:58 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[weblogs]]></category>
		<category><![CDATA[bayarea]]></category>
		<category><![CDATA[markup]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[XSLT]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2006/08/07/sandbox-and-strangelove-hatom-in-wordpress/</guid>
		<description><![CDATA[I hung out in the back of the hall at Wordcamp, adding hAtom support to the default WordPress theme. Photo credit: Scott Beale (Laughing Squid) I showed my work to Bill Lazar, who told me that Scott Allan Wallick&#8217;s new theme, Sandbox, available for WordPress.com blogs, has hAtom baked in. Well, that makes my work, [...]]]></description>
			<content:encoded><![CDATA[<p>I hung out in the back of the hall at <a href="http://2006.wordcamp.org/">Wordcamp</a>, adding <a href="http://microformats.org/wiki/hatom">hAtom</a> support to the default WordPress theme.</p>
<div style="float: left; margin-right: 10px;"><a href="http://www.flickr.com/photos/laughingsquid/207636950/in/set-72157594225170129"><img src="http://static.flickr.com/97/207636950_2d2ff1b6ba_m_d.jpg" alt="We will bury you, in Microformats!" /></a><br />
<br />
<small>Photo credit: <a href="http://laughingsquid.com/">Scott Beale (Laughing Squid)</a></small>
</div>
<p>I showed my work to <a href="http://www.billsaysthis.com/">Bill Lazar</a>, who told me that Scott Allan Wallick&#8217;s new theme, <a href="http://www.plaintxt.org/themes/sandbox/">Sandbox, available for WordPress.com blogs</a>, has hAtom baked in.</p>
<p>Well, that makes my work, <a href="http://www.whump.com/sandbox/Strangelove.zip" title="A Theme for WordPress">Strangelove, v0.1</a>, superfluous.</p>
<p>You can use <a href="http://placenamehere.com/article/185/SubscribingTohAtomFeedsWithNetNewsWire">Chris Casciano&#8217;s script for Net News Wire to read a Sandbox themed blog as Atom</a>, or pipe it through <a href="http://www.lukearno.com/projects/hatom2atom/">Luke Arno&#8217;s hatom2atom proxy</a>.</p>
<p>If you&#8217;re comfortable with editing PHP, open <code>themes/sandbox/header.php</code>, and add the following to the <code>head</code> section:</p>
<pre style="overflow: scroll;"><code>&lt;link rel="alternate" type="application/atom+xml" title="&lt;?php bloginfo('name'); ?&gt; Atom Feed" href="http://www.lukearno.com/projects/hatom2atom/?ctype=application%2Fxml&amp;tidy=yes&amp;url=&lt;?php echo urlencode(get_bloginfo('url')); ?&gt;" /&gt;</code></pre>
<p>This will use Luke Arno&#8217;s proxy to generate an Atom 1.0 feed by parsing the hAtom format in the page. Strangelove does that out of the box.</p>
<p>If you&#8217;re running PHP 5 with libxslt support, <a href="http://chunkysoup.net/article/236/FeedsForAllWithhAtomPart2TheCode">you can run Chris&#8217; filter script</a> instead of the remote proxy.</p>
<p>At the Âµformats session, where you see me doing my Nikita Khrushchev imitation, I talked about this. Thanks to Tantek for inviting Slashchick and me up to talk about our hacks.</p>
<p><a href="http://www.slashchick.com/">Slashchick</a> modified the <a href="http://redalt.com/wiki/Countdown">Countdown plugin</a> to publish events in the <a href="http://microformats.org/wiki/hcalendar/">hCalendar</a> format, so that you can extract them from a blog page into your calendar.</p>
<p><!-- Technorati Tags Start --></p>
<p><small>Additional Tags: <a href="http://technorati.com/tag/2006" rel="tag">2006</a>, <a href="http://technorati.com/tag/wordcamp" rel="tag">wordcamp</a>, <a href="http://technorati.com/tag/microformats" rel="tag">microformats</a></small></p>
<p><!-- Technorati Tags End --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F08%2F07%2Fsandbox-and-strangelove-hatom-in-wordpress%2F&#038;seed_title=Sandbox+and+Strangelove%3A+hAtom+in+WordPress/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>The State of URL Abstraction</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F05%2F01%2Fthe-state-of-url-abstraction%2F&#038;seed_title=The+State+of+URL+Abstraction</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F05%2F01%2Fthe-state-of-url-abstraction%2F&#038;seed_title=The+State+of+URL+Abstraction#comments</comments>
		<pubDate>Tue, 02 May 2006 06:47:46 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2006/05/01/the-state-of-url-abstraction/</guid>
		<description><![CDATA[Elliote Rusty Harold on the lousy support for URL abstraction on the server side: It&#8217;s best to design your URLs without respect to how they will actually be implemented. Design them so they make sense to human clients and search engines. Then worry later about how you&#8217;ll actually implement the backend that serves representations of [...]]]></description>
			<content:encoded><![CDATA[<p>Elliote Rusty Harold on <a href="http://cafe.elharo.com/web/rest-is-like-quantum-mechanics/">the lousy support for URL abstraction on the server side</a>:</p>
<blockquote cite="http://cafe.elharo.com/web/rest-is-like-quantum-mechanics/"><p>It&#8217;s best to design your URLs without respect to how they will actually be implemented. Design them so they make sense to human clients and search engines. Then worry later about how you&#8217;ll actually implement the backend that serves representations of those URLs.</p>
<p>Sadly server support for such schemes is very lacking in 2006. Doing it on top of Apache requires serious mod_rewrite voodoo. (That&#8217;s how WordPress creates the very nice URLs you see on this site.) PHP doesnâ€™t help out here since it&#8217;s still very tied to a one-URL, one .phtml file model.</p>
</blockquote>
<p><a href="http://cocoon.apache.org/2.1/userdocs/concepts/sitemap.html">Apache Cocoon</a> and <a href="http://www.popoon.org/">Popoon&#8217;s</a> sitemap model does a lot of what ERH&#8217;s looking for. But those are <a href="http://www.martinfowler.com/eaaCatalog/frontController.html" title="Martin Fowler's defintion of Front Controller">front controller patterns</a> that push the complexity of routing from the server and into your application. [ via <a href="http://www.ditchnet.org/">Todd</a> ]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F05%2F01%2Fthe-state-of-url-abstraction%2F&#038;seed_title=The+State+of+URL+Abstraction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Duration.php</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F04%2F11%2Fdurationphp%2F&#038;seed_title=Duration.php</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F04%2F11%2Fdurationphp%2F&#038;seed_title=Duration.php#comments</comments>
		<pubDate>Wed, 12 Apr 2006 06:49:13 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2006/04/11/durationphp/</guid>
		<description><![CDATA[I wanted to display the age, in years, months, days, etc., of my old weblog entries. I found Aidan Lister&#8217;s Duration.php. It defines a static method to convert a timestamp into a readable string. // 2 hours, 20 minutes, 5 seconds $time = 60*60*2 + 20*60 + 5; // Convert to a string echo Duration::toString($time); [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to display the age, in years, months, days, etc., of <a href="http://www.whump.com/moreLikeThis/old-blog/">my old weblog entries</a>.</p>
<p><img src="http://www.whump.com/moreLikeThis/wp-content/uploads/2006/04/duration.png"  height="100" width="334" alt="duration.png" /></p>
<p>I found Aidan Lister&#8217;s <a href="http://aidanlister.com/repos/v/Duration.php">Duration.php</a>. It defines a static method to convert a timestamp into a readable string.</p>
<pre><code>// 2 hours, 20 minutes, 5 seconds
$time = 60*60*2 + 20*60 + 5;

// Convert to a string
echo Duration::toString($time);
echo "\n";</code></pre>
<p>Useful. Thanks Aidan.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F04%2F11%2Fdurationphp%2F&#038;seed_title=Duration.php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend Framework Tutorial</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F03%2F07%2Fzend-framework-tutorial%2F&#038;seed_title=Zend+Framework+Tutorial</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F03%2F07%2Fzend-framework-tutorial%2F&#038;seed_title=Zend+Framework+Tutorial#comments</comments>
		<pubDate>Wed, 08 Mar 2006 05:40:22 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[linklist]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2006/03/07/zend-framework-tutorial/</guid>
		<description><![CDATA[PHP security maven Chris Shiflett has a tutorial on the Zend framework in php &#124; architect.]]></description>
			<content:encoded><![CDATA[<p>PHP security maven Chris Shiflett has <a href="http://phparch.com/zftut/index.php">a tutorial on the Zend framework</a> in <cite>php | architect</cite>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F03%2F07%2Fzend-framework-tutorial%2F&#038;seed_title=Zend+Framework+Tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More On PHP</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F02%2F23%2Fmore-on-php%2F&#038;seed_title=More+On+PHP</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F02%2F23%2Fmore-on-php%2F&#038;seed_title=More+On+PHP#comments</comments>
		<pubDate>Thu, 23 Feb 2006 08:22:13 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2006/02/23/more-on-php/</guid>
		<description><![CDATA[Last night I stopped at the Whole Foods by my office to pick up some bread and cheese. The gentleman behind me in line was wearing a black Zend tshirt, and since Zendâ€™s just down the street from us I asked him if he worked for them, and what he thought of Tim Brayâ€™s recent [...]]]></description>
			<content:encoded><![CDATA[<p>Last night I stopped at the Whole Foods by my office to pick up some bread and cheese. The gentleman behind me in line was wearing a black Zend tshirt, and since Zendâ€™s just down the street from us I asked him if he worked for <a href="http://zend.com/">them</a>, and what he thought of <a href="http://www.tbray.org/ongoing/When/200x/2006/02/17/PHP">Tim Brayâ€™s recent post on PHP</a>.</p>
<p>It turned out that this was <a href="http://blog.360.yahoo.com/blog-qjO174U8f6MNIIOdtGt4jjA-">Mark de Visser</a>, Zendâ€™s chief of marketing. He said he hadnâ€™t read the post because he had spent the last two days at <a href="http://www.mashupcamp.com/">MashupCamp</a>. </p>
<p>My take on PHP:</p>
<ol>
<li>
<p>Gawd, itâ€™s easy to jump in, and get running code.</p>
</li>
<li>
<p>Ugh, need native Unicode, badly. </p>
<p>Donâ€™t feel bad, Ruby has the same problem. </p>
<p>PHP 6 is supposed to support UTF-8, and comes out later this year (says de Visser.) </p>
</li>
<li>
<p>PHP 5 has libxml2 and libxslt.</p>
</li>
<li>
<p>Itâ€™s still easy to do dumb things.</p>
<p>Own up people, how many of you have written:</p>
<pre><code>
$string = file_get_contents('http://example.com/restfulweb/thing?id=0001');
if ($string != '') { // do stuff }
</code></pre>
<p>when you were in a hurry? Then didnâ€™t replace it with cURL or PEAR HTTP::Request?*</p>
</li>
</ol>
<p>[*] Now, it turns out that you can check HTTP return codes when you open a URL using wrappers: <code>$http_response_header</code> is set after you call file, and you can look in the first element to get the HTTP response code.</p>
<p>I didnâ€™t know that until I read <a href="http://developer.yahoo.net/php/howto-reqRestPhp.html">a Yahoo! Developer Network article</a> and looked at the example code.</p>
<p>So if youâ€™re making unauthenticated GETs, thatâ€™s most of what you need.</p>
<p>So why doesnâ€™t <a href="http://www.php.net/file_get_contents">http://www.php.net/file_get_contents</a> mention this? This useful nugget of info is buried in <a href="http://www.php.net/manual/wrappers.http.php">http://www.php.net/manual/wrappers.http.php</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F02%2F23%2Fmore-on-php%2F&#038;seed_title=More+On+PHP/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Atom Feed Roundhouse Kicked in Face</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F02%2F18%2Foh-yay-rssatom-borked%2F&#038;seed_title=Atom+Feed+Roundhouse+Kicked+in+Face</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F02%2F18%2Foh-yay-rssatom-borked%2F&#038;seed_title=Atom+Feed+Roundhouse+Kicked+in+Face#comments</comments>
		<pubDate>Sun, 19 Feb 2006 02:12:58 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[weblogs]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2006/02/18/oh-yay-rssatom-borked/</guid>
		<description><![CDATA[My rewrite rules for the old RSS/Atom URLs are borked. Trying to debug this now. WordPress advertises the URL /moreLikeThis/feed/atom/, however, that returns a 404 error. More mod_rewrite hacking has fixed this.]]></description>
			<content:encoded><![CDATA[<p>My rewrite rules for the old RSS/Atom URLs are borked. Trying to debug this now.</p>
<p>WordPress advertises the URL <code>/moreLikeThis/feed/atom/</code>, however, that returns a 404 error.</p>
<p>More <code>mod_rewrite</code> hacking has fixed this.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F02%2F18%2Foh-yay-rssatom-borked%2F&#038;seed_title=Atom+Feed+Roundhouse+Kicked+in+Face/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

