<?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"
	>

<channel>
	<title>haydenKing</title>
	<atom:link href="http://haydenking.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://haydenking.com</link>
	<description>personal thoughts, ideas and other stuff</description>
	<pubDate>Sun, 13 Apr 2008 01:57:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
			<item>
		<title>Easy mod_rewrite Faux subdomains!</title>
		<link>http://haydenking.com/2008/03/16/faux-subdomain/</link>
		<comments>http://haydenking.com/2008/03/16/faux-subdomain/#comments</comments>
		<pubDate>Mon, 17 Mar 2008 06:44:42 +0000</pubDate>
		<dc:creator>Hayden</dc:creator>
		
		<category><![CDATA[PHP, Javascript, htaccess]]></category>

		<category><![CDATA[htaccess]]></category>

		<category><![CDATA[mod_rewrite]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[sub-domains]]></category>
<category>htaccess</category><category>mod rewrite</category><category>php</category><category>sub domains</category>
		<guid isPermaLink="false">http://haydenking.com/2008/03/16/faux-subdomain/</guid>
		<description><![CDATA[Okay, so recently a I ran across this age old question over at the good ole Pixel2Life forums the other day decided I was curious about it myself.
The best one I found came from WebDeveloper.com. I was able to get it up and working on the first try but the only thing I really didn’t [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, so recently a I ran across this age old question over at the good ole <a title="Pixel2Life" href="http://www.pixel2life.com" target="_blank">Pixel2Life</a> forums the other day decided I was curious about it myself.</p>
<p>The best one I found came from <a title="webdeveloper.com" href="http://www.webdeveloper.com/forum/showthread.php?t=104901" target="_blank">WebDeveloper.com</a>. I was able to get it up and working on the first try but the only thing I really didn’t like is that it redirected my browser to the PHP page, which I really didn’t like and looked quite ugly.</p>
<hr /><code><span style="color: #465584; font-family: Courier; font-size: 12px; line-height: 19px; white-space: normal; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px">RewriteEngine On<br />
# Extract the subdomain part of domain.com<br />
RewriteCond %{HTTP_HOST} ^([^\.]+)\.domain\.tld$ [NC]<br />
# Check that the subdomain part is not www and ftp and mail<br />
RewriteCond %1 !^(www|ftp|mail)$ [NC]<br />
# Redirect all requests to a php script passing as argument the subdomain<br />
RewriteRule ^(.*)$ index.php?u=%1 [L]</span></code></p>
<p> </p>
<p> </p>
<hr />So, this is what I came up with. Essentially, you can enter in “http://anything.domain.com” and “anything” will be passed to $_GET[”u”] without the user being visually aware of any PHP script being used.</p>
<p> </p>
<a href="http://haydenking.com/tag/htaccess" rel="tag">htaccess</a>, <a href="http://haydenking.com/tag/mod_rewrite" rel="tag">mod rewrite</a>, <a href="http://haydenking.com/tag/php" rel="tag">php</a>, <a href="http://haydenking.com/tag/sub-domains" rel="tag">sub domains</a>]]></content:encoded>
			<wfw:commentRss>http://haydenking.com/2008/03/16/faux-subdomain/feed/</wfw:commentRss>
		</item>
		<item>
		<title>First day!</title>
		<link>http://haydenking.com/2008/02/07/firstday/</link>
		<comments>http://haydenking.com/2008/02/07/firstday/#comments</comments>
		<pubDate>Thu, 07 Feb 2008 20:30:35 +0000</pubDate>
		<dc:creator>Hayden</dc:creator>
		
		<category><![CDATA[Nutrition]]></category>

		<guid isPermaLink="false">http://haydenking.com/2008/02/07/firstday/</guid>
		<description><![CDATA[So, it&#8217;s been a good day today. Sun shining, tons of availability at work so I am able to get some other work done.  Anyways, so here&#8217;s where I am&#8230; 
Cereal 

1 Cup Kashi GoLean Crunch (190 calories)
1/2 Cup 2% milk (120 calories)

2 PB&#38;J sandwiches

4 slices wheat bread (320 calories)
4 Tbsp JIF peanut butter (380 calories)
2 [...]]]></description>
			<content:encoded><![CDATA[<p>So, it&#8217;s been a good day today. Sun shining, tons of availability at work so I am able to get some other work done. <img src='http://haydenking.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <br />Anyways, so here&#8217;s where I am&#8230; </p>
<p><span style="font-weight: bold" class="Apple-style-span">Cereal</span> 
<ul>
<li>1 Cup Kashi GoLean Crunch (190 calories)</li>
<li>1/2 Cup 2% milk (120 calories)</li>
</ul>
<p><span style="font-weight: bold" class="Apple-style-span">2 PB&amp;J sandwiches</span>
<ul>
<li>4 slices wheat bread (320 calories)</li>
<li>4 Tbsp JIF peanut butter (380 calories)</li>
<li>2 Tbsp grape jelly (140 calories)</li>
<li>1 serving FunYuns chips (140 calories)</li>
<li>Soda - Cherry Coke (150 Calories)</li>
</ul>
<p>Total caloric intake: 1400 </p>
No Tags]]></content:encoded>
			<wfw:commentRss>http://haydenking.com/2008/02/07/firstday/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Gathering Information!</title>
		<link>http://haydenking.com/2008/02/07/theinformation/</link>
		<comments>http://haydenking.com/2008/02/07/theinformation/#comments</comments>
		<pubDate>Thu, 07 Feb 2008 17:50:05 +0000</pubDate>
		<dc:creator>Hayden</dc:creator>
		
		<category><![CDATA[Nutrition]]></category>
<category>caloric intake</category><category>calories</category><category>weight loss</category>
		<guid isPermaLink="false">http://haydenking.com/2008/02/07/theinformation/</guid>
		<description><![CDATA[Ideal weight range is 172 - 189.2 lbs. (78.2 - 86 kg.).You are overweight by 35.8 lbs. (16 kg.).
Okay, so I need to lose 36 lbs to be at my ideal weight but how do I do that?
&#8220;WARNING: The human body cannot lose more than 2 pounds of actual body FAT per week. The rest [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center">Ideal weight range is 172 - 189.2 lbs. (78.2 - 86 kg.).You are overweight by 35.8 lbs. (16 kg.).</p>
<p style="text-align: left">Okay, so I need to lose 36 lbs to be at my ideal weight but how do I do that?</p>
<p style="text-align: center; font-size: 0.85em; background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: #dddddd; border-width: 1px; border-color: #36393d; border-style: solid; padding: 6px">&#8220;WARNING: The human body cannot lose more than 2 pounds of actual body FAT per week. The rest will be lost in muscle tissue, organ tissue and water weight. Losing muscle tissue is counter- productive. It will slow your metabolism and will cause you to be able to eat even less when your diet is over.To lose weight at the rate generally recommended as safe by the American Medical Association (2 to 3 pounds per week for men and 1 to 2 pounds per week for women), follow the steps outlined below.&#8221;</p>
<p style="text-align: center">Maintenance: 2400 Calories/dayFat Loss: 1920 Calories/dayExtreme Fat Loss: 1800 Calories/day</p>
<p style="text-align: left">So, I will begin posting what I am eating and drinking daily along with the amount of calories consumed. I calculated the amount based on little to no exercise so if I get myself into walking to work, weather permitting, that should be all the better.</p>
<p style="text-align: center">
<table align="center">
<tr>
<th></th>
<td>Ex Fat Loss</td>
<td>Fat Loss</td>
<td>Maintain</td>
</tr>
<tr>
<td>Monday</td>
<td>1800</td>
<td>1920</td>
<td>2400</td>
</tr>
<tr>
<td>Tuesday</td>
<td>1800</td>
<td>1800</td>
<td>1920</td>
</tr>
<tr>
<td>Wednesday</td>
<td>2160</td>
<td>2304</td>
<td>2880</td>
</tr>
<tr>
<td>Thursday</td>
<td>1800</td>
<td>1920</td>
<td>2400</td>
</tr>
<tr>
<td>Friday</td>
<td>1800</td>
<td>1800</td>
<td>2160</td>
</tr>
<tr>
<td>Saturday</td>
<td>1981</td>
<td>2112</td>
<td>2640</td>
</tr>
<tr>
<td>Sunday</td>
<td>1800</td>
<td>1920</td>
<td>2400</td>
</tr>
</table>
<p style="text-align: left">Here&#8217;s something else I found I thought was interesting. Staggering my caloric intake so I don&#8217;t get bored with keeping numbers day after day.</p>
<a href="http://haydenking.com/tag/caloric-intake" rel="tag">caloric intake</a>, <a href="http://haydenking.com/tag/calories" rel="tag">calories</a>, <a href="http://haydenking.com/tag/weight-loss" rel="tag">weight loss</a>]]></content:encoded>
			<wfw:commentRss>http://haydenking.com/2008/02/07/theinformation/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Dirry Poems!</title>
		<link>http://haydenking.com/2007/11/15/dirry-poems/</link>
		<comments>http://haydenking.com/2007/11/15/dirry-poems/#comments</comments>
		<pubDate>Fri, 16 Nov 2007 06:23:38 +0000</pubDate>
		<dc:creator>Hayden</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<category><![CDATA[bootleggers]]></category>

		<category><![CDATA[dirry]]></category>

		<category><![CDATA[friends]]></category>
<category>bootleggers</category><category>dirry</category><category>friends</category>
		<guid isPermaLink="false">http://haydenking.com/2007/11/15/dirry-poems/</guid>
		<description><![CDATA[Here is three short poems that were written for me by another great friend I met while playing Bootleggers. Her nick was named Dirry and she was so very sweet!
Spacie is my protector,
His words are sweet like nectar.
He helps Dirry every day,
He&#8217;s so nice in every way,
Dirry, Dirry, Spacie
Spacie is eternally altruistic!
He helps me even [...]]]></description>
			<content:encoded><![CDATA[<p>Here is three short poems that were written for me by another great friend I met while playing <a href="http://www.bootleggers.us" target="_blank">Bootleggers</a>. Her nick was named Dirry and she was so very sweet!</p>
<p style="background: #fbfbfb; border: 1px dotted #36393d; margin: 10px auto; padding: 5px; width: 220px;">Spacie is my protector,<br />
His words are sweet like nectar.<br />
He helps Dirry every day,<br />
He&#8217;s so nice in every way,<br />
Dirry, Dirry, Spacie</p>
<p style="background: #fbfbfb; border: 1px dotted #36393d; margin: 10px auto; padding: 5px; width: 250px;">Spacie is eternally altruistic!<br />
He helps me even when I go ballistic!<br />
Of this dirry pc,<br />
He provided sweet victory!<br />
Dirry, Dirry, Spacie!</p>
<p style="background: #fbfbfb; border: 1px dotted #36393d; margin: 10px auto; padding: 5px; width: 260px;">I vote Spacie for admin!<br />
If there was a race surely he would win!<br />
He handles computers with flare,<br />
And treats others with care,<br />
Dirry, Dirry, Spacie!</p>
<a href="http://haydenking.com/tag/bootleggers" rel="tag">bootleggers</a>, <a href="http://haydenking.com/tag/dirry" rel="tag">dirry</a>, <a href="http://haydenking.com/tag/friends" rel="tag">friends</a>]]></content:encoded>
			<wfw:commentRss>http://haydenking.com/2007/11/15/dirry-poems/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New Home for haydenking.com!</title>
		<link>http://haydenking.com/2007/11/12/new-home/</link>
		<comments>http://haydenking.com/2007/11/12/new-home/#comments</comments>
		<pubDate>Tue, 13 Nov 2007 04:37:33 +0000</pubDate>
		<dc:creator>Hayden</dc:creator>
		
		<category><![CDATA[Site Updates]]></category>

		<category><![CDATA[5thirtyone]]></category>

		<category><![CDATA[mediatemple]]></category>
<category>5thirtyone</category><category>mediatemple</category>
		<guid isPermaLink="false">http://haydenking.com/2007/11/12/new-home/</guid>
		<description><![CDATA[So, I have finally made the move over to Media Temple! The site is up and going, thanks to 5ThirtyOne I have this stylish new theme.Pardon the lack of information on the site right now. I backed up my information but found it easier to just start over from scratch. Probably for the best anyways, there was some stuff [...]]]></description>
			<content:encoded><![CDATA[<p>So, I have finally made the move over to <a href="http://www.mediatemple.net" target="_blank" title="Media Temple, Inc">Media Temple</a>! The site is up and going, thanks to <a href="http://5thirtyone.com" target="_blank" title="5ThirtyOne">5ThirtyOne</a> I have this stylish new theme.Pardon the lack of information on the site right now. I backed up my information but found it easier to just start over from scratch. Probably for the best anyways, there was some stuff in the old that needed to go away. </p>
<a href="http://haydenking.com/tag/5thirtyone" rel="tag">5thirtyone</a>, <a href="http://haydenking.com/tag/mediatemple" rel="tag">mediatemple</a>]]></content:encoded>
			<wfw:commentRss>http://haydenking.com/2007/11/12/new-home/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
