<?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>David Nash &#187; php</title>
	<atom:link href="http://davidnash.com.au/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://davidnash.com.au</link>
	<description>Wordpress Guru Sydney</description>
	<lastBuildDate>Wed, 14 Dec 2011 23:20:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>WordPress: Limit Archives to Single Category</title>
		<link>http://davidnash.com.au/2011/12/wordpress-limit-archives-to-single-category/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-limit-archives-to-single-category</link>
		<comments>http://davidnash.com.au/2011/12/wordpress-limit-archives-to-single-category/#comments</comments>
		<pubDate>Sat, 03 Dec 2011 01:08:14 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://davidnash.com.au/?p=321</guid>
		<description><![CDATA[Late yesterday afternoon a client asked if I could look at a business&#8217;s WordPress installation. They had posts in several categories but only wanted to show the &#8220;Latest News&#8221; posts in the archives. WordPress is designed around blog posts, whereas I find that many business or company sites are designed around pages (eg About Us, [...]]]></description>
		<wfw:commentRss>http://davidnash.com.au/2011/12/wordpress-limit-archives-to-single-category/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using PHP variables that contain hyphens</title>
		<link>http://davidnash.com.au/2009/11/using-php-variables-that-contain-hyphens/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=using-php-variables-that-contain-hyphens</link>
		<comments>http://davidnash.com.au/2009/11/using-php-variables-that-contain-hyphens/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 05:08:54 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://davidnash.com.au/?p=213</guid>
		<description><![CDATA[This took me a little while to work out. I&#8217;m using PHP5&#8242;s SimpleXML to parse XML into a PHP object. The XML has entries like &#60;HELLO-THERE&#62;. But you can&#8217;t use $xml-&#62;HELLO-THERE because it reads the hyphen as a minus. Instead, use $xml-&#62;{&#8220;HELLO-THERE&#8221;} Easy!]]></description>
		<wfw:commentRss>http://davidnash.com.au/2009/11/using-php-variables-that-contain-hyphens/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Dynamic Font/Image Replacement in Silverstripe</title>
		<link>http://davidnash.com.au/2009/03/dynamic-fontimage-replacement-in-silverstripe/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=dynamic-fontimage-replacement-in-silverstripe</link>
		<comments>http://davidnash.com.au/2009/03/dynamic-fontimage-replacement-in-silverstripe/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 07:32:11 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[silverstripe]]></category>
		<category><![CDATA[What I'm Working On Today]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[gd]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://davidnash.com.au/?p=154</guid>
		<description><![CDATA[I&#8217;ve recently started creating sites with SilverStripe CMS, and I&#8217;m loving it. My client wants nicely rendered non-standard font titles that fade in and out, without using javascript. Here&#8217;s how I&#8217;m going to accomplish it: In Silverstripe&#8217;s mysite/code/Page.php I overload the onBeforeWrite() call in my Page class. This intercepts the data before it is written [...]]]></description>
		<wfw:commentRss>http://davidnash.com.au/2009/03/dynamic-fontimage-replacement-in-silverstripe/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Unix Time in MySQL and bash</title>
		<link>http://davidnash.com.au/2009/02/unix-time-mysql-bash/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=unix-time-mysql-bash</link>
		<comments>http://davidnash.com.au/2009/02/unix-time-mysql-bash/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 08:27:58 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://davidnash.com.au/?p=115</guid>
		<description><![CDATA[A quick one today. I was working on a mysql database that used unix timestamp produced by PHP&#8217;s time() function. I needed to be able to quickly convert this time to a human-readable format. In bash, date -d @timestamp is a quick way to convert. In a terminal shell eg: # date -d @1224992980 Sun [...]]]></description>
		<wfw:commentRss>http://davidnash.com.au/2009/02/unix-time-mysql-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vim: Quickly assign POST variables in PHP</title>
		<link>http://davidnash.com.au/2009/01/post-variables/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=post-variables</link>
		<comments>http://davidnash.com.au/2009/01/post-variables/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 01:38:13 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[vim]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://davidnash.com.au/?p=69</guid>
		<description><![CDATA[You&#8217;ve got a web form with lots of fields, and you want to POST them to a PHP script. Open vim, and list the INPUT tag&#8217;s NAME attributes, one per line. &#60;?php firstname lastname address1 address2 state postcode ?&#62; Now with some search-and-replace magic we can save ourself a lot of boring typing. Hit &#8216;escape&#8217; [...]]]></description>
		<wfw:commentRss>http://davidnash.com.au/2009/01/post-variables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

