<?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>moreHawes</title>
	<atom:link href="http://www.morehawes.co.uk/feed" rel="self" type="application/rss+xml" />
	<link>http://www.morehawes.co.uk</link>
	<description></description>
	<lastBuildDate>Sun, 28 Feb 2010 14:19:41 +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>Stop Spotlight From Indexing External Drives</title>
		<link>http://www.morehawes.co.uk/stop-spotlight-from-indexing-external-drives</link>
		<comments>http://www.morehawes.co.uk/stop-spotlight-from-indexing-external-drives#comments</comments>
		<pubDate>Sun, 28 Feb 2010 14:13:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://www.morehawes.co.uk/?p=246</guid>
		<description><![CDATA[Spotlight in OS X annoyingly indexes external devices like USB pen drives and cameras when mounted. You can block spotlight by using the &#8216;privacy&#8217; setting in preferences, however once unmonted this seems to get forgotten. To make sure spotlight never indexes a drive you can add a hidden file to the root folder of that [...]]]></description>
			<content:encoded><![CDATA[<p>Spotlight in OS X annoyingly indexes external devices like USB pen drives and cameras when mounted. You can block spotlight by using the &#8216;privacy&#8217; setting in preferences, however once unmonted this seems to get forgotten. To make sure spotlight never indexes a drive you can add a hidden file to the root folder of that device to prevent it getting indexed forever. Create a file called .metadata_never_index</p>
<p>For example to block my camera all I did was :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">touch</span> <span style="color: #000000; font-weight: bold;">/</span>Volumes<span style="color: #000000; font-weight: bold;">/</span>CAMERA<span style="color: #000000; font-weight: bold;">/</span>.metadata_never_index</pre></div></div>

<p>Now if only there was a setting to block all external drives&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.morehawes.co.uk/stop-spotlight-from-indexing-external-drives/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting Text Back From All Caps In Photoshop Elements (Not CAPS LOCK!)</title>
		<link>http://www.morehawes.co.uk/getting-text-back-from-all-caps-in-photoshop-elements-not-caps-lock</link>
		<comments>http://www.morehawes.co.uk/getting-text-back-from-all-caps-in-photoshop-elements-not-caps-lock#comments</comments>
		<pubDate>Mon, 08 Feb 2010 16:24:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Macintosh]]></category>
		<category><![CDATA[Photoshop]]></category>

		<guid isPermaLink="false">http://www.morehawes.co.uk/?p=218</guid>
		<description><![CDATA[After getting rather confused as to why my text layer in Photoshop Elements 6 would not budge from being in all caps (no not because of CAPS LOCK!) I discovered that to get it back to normal you need to do :
Mac :
Command ('Apple Key') + Shift + Y

Windows :
Ctrl + Shift + Y
This will [...]]]></description>
			<content:encoded><![CDATA[<p>After getting rather confused as to why my text layer in Photoshop Elements 6 would not budge from being in all caps (no not because of CAPS LOCK!) I discovered that to get it back to normal you need to do :</p>
<p><strong>Mac :</strong></p>
<pre>Command ('Apple Key') + Shift + Y
</pre>
<p><strong>Windows :</strong></p>
<pre>Ctrl + Shift + Y</pre>
<p>This will put the text back to sentence case or lower case (whatever it should be before it was being forced into all caps)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.morehawes.co.uk/getting-text-back-from-all-caps-in-photoshop-elements-not-caps-lock/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>moreHawes Through Time</title>
		<link>http://www.morehawes.co.uk/morehawes-through-time</link>
		<comments>http://www.morehawes.co.uk/morehawes-through-time#comments</comments>
		<pubDate>Thu, 04 Feb 2010 19:00:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Me]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://www.morehawes.co.uk/cms/morehawes-through-time</guid>
		<description><![CDATA[<p>Since I have been working on updating this site recently I thought I would delve into the history books (not really that far back) and look at the previous versions of my website.</p>

<p>Although slightly pointless, I have spent a fair bit of time making these so it's nice to remember.
]]></description>
			<content:encoded><![CDATA[<p>Since I have been working on updating this site recently I thought I would delve into the history books (not really that far back) and look at the previous versions of my website.</p>
<p>Although slightly pointless, I have spent a fair bit of time making these so it&#8217;s nice to remember.<br />
<!--break--></p>
<h3>Version 1</h3>
<p>Between around 2004 &#8211; 2005, I made this site before I even knew what programming really was, but that didn&#8217;t stop me wanting to be a web designer!</p>
<div style="text-align: center; font-size: x-small;"><img style="border: 1px solid black;" src="/images/morehawes_v_1.gif" alt="morehawes version 1" /></div>
<p>The site consisted of a simple 5-page site with a few fancy animated graphics. Still now I like how this site looks.</p>
<h3>Version 2</h3>
<p>Around 2005 &#8211; 2007. I knew a bit of PHP by now and decided that a new site was in order! Re-inventing the wheel slightly I write some scripts for comments, a basic forum and a few other twiddly bits.</p>
<div style="text-align: center; font-size: x-small;"><img style="border: 1px solid black;" src="/images/morehawes_v_2.gif" alt="morehawes version 1" /></div>
<h3>Version 3</h3>
<p>Around 2007 &#8211; 2008. Enter Drupal! I quickly realised the potential of using a content management system, though at this stage I was using it pretty much out of the box.</p>
<div style="text-align: center; font-size: x-small;"><img style="border: 1px solid black;" src="/images/morehawes_v_3.gif" alt="morehawes version 1" /></div>
<h3>Version 4</h3>
<p>2009 &#8211; 2010! Still using Drupal but heavily customised with my own theme. I have organised my content in more of a blog style with all sorts of fancy witchcraft working behind the scenes.</p>
<div style="text-align: center; font-size: x-small;"><img style="border: 1px solid black;" src="/images/morehawes_v_4.gif" alt="morehawes version 1" /></div>
<h3>Version 5</h3>
<p>2010 &#8211; present. Hello Wordpress! A complete re-write, re-design and migration to Wordpress. Since starting to use Wordpress it quickly because my CMS of choice with it&#8217;s long features list and great community support. It&#8217;s a tool that really makes publishing on the web a hassle-free task.</p>
<p><img class="aligncenter size-full wp-image-208" title="morehawes_v_5" src="http://www.morehawes.co.uk/cms/wp-content/uploads/2009/01/morehawes_v_5.jpg" alt="moreHawes meets Wordpress!" width="400" height="345" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.morehawes.co.uk/morehawes-through-time/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nochex Steal Your Money</title>
		<link>http://www.morehawes.co.uk/nochex-steal-your-money</link>
		<comments>http://www.morehawes.co.uk/nochex-steal-your-money#comments</comments>
		<pubDate>Tue, 25 Aug 2009 21:57:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[1]]></category>
		<category><![CDATA[Boycotts]]></category>
		<category><![CDATA[Dislikes]]></category>
		<category><![CDATA[Me]]></category>
		<category><![CDATA[e-commerce]]></category>
		<category><![CDATA[osCommerce]]></category>

		<guid isPermaLink="false">http://www.morehawes.co.uk/cms/nochex-steal-your-money</guid>
		<description><![CDATA[<p>For a client recently I had to test osCommerce was accepting Nochex payments. Having never used it before I went through the lengthy and painful process of signing up for a Nochex account.</p>

<p>Well now I know why no one used Nochex. It's rubbish. It's the only thing that would make me recommend Paypal (and I hate Paypal) to anyone but at least their service does what it is supposed to with minimum fuss.</p>]]></description>
			<content:encoded><![CDATA[<p>For a client recently I had to test osCommerce was accepting Nochex payments. Having never used it before I went through the lengthy and painful process of signing up for a Nochex account.</p>
<p>Well now I know why no one used Nochex. It&#8217;s rubbish. It&#8217;s the only thing that would make me recommend Paypal (and I hate Paypal) to anyone but at least their service does what it is supposed to with minimum fuss.</p>
<p>OsCommerce was working fine and accepted my Nochex account but Nochex wouldn&#8217;t accept my address, so I was unable to put a card straight through (as a user without an existing Nochex account might). So I gave up on that as the client offers their own credit card gateway.</p>
<p>So I thought that was that – <strong>but</strong> when you add a credit/debit card to Nochex they debit a &#8217;small&#8217; amount from your card to help with their verification process. They didn&#8217;t go out of their way to tell you this when you register and they certainly don&#8217;t make it clear enough that this is <strong>non-refundable</strong>!</p>
<p>So there I was waiting for my couple of quid to get refunded only to discover it has been stolen. And for what? &#8230; other one for &#8216;the list&#8217;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.morehawes.co.uk/nochex-steal-your-money/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Web Usability &#8211; Even The Big Boys Get It Wrong</title>
		<link>http://www.morehawes.co.uk/web-usability-even-big-boys-get-it-wrong</link>
		<comments>http://www.morehawes.co.uk/web-usability-even-big-boys-get-it-wrong#comments</comments>
		<pubDate>Tue, 28 Apr 2009 10:01:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Likes]]></category>

		<guid isPermaLink="false">http://www.morehawes.co.uk/cms/web-usability-even-big-boys-get-it-wrong</guid>
		<description><![CDATA[<p>At work recently I have been looking into usability principles and in particular our checkout procedure. This consists of streamlining the process by reducing the number of hoops the user must jump through whilst trying to build confidence in the customer.</p>

<p>Whilst booking flights to Australia the other day I was surprised that even the big boys can get it wrong! Although the checkout procedure was smooth - this screen was the first thing I saw after I clicked the "pay" button:</p>]]></description>
			<content:encoded><![CDATA[<p>At work recently I have been looking into usability principles and in particular our checkout procedure. This consists of streamlining the process by reducing the number of hoops the user must jump through whilst trying to build confidence in the customer.</p>
<p>Whilst booking flights to Australia the other day I was surprised that even the big boys can get it wrong! Although the checkout procedure was smooth &#8211; this screen was the first thing I saw after I clicked the &#8220;pay&#8221; button:<br />
<img src="/images/emirates-1.gif" alt="poor usability from emirates" /><br />
<img src="/images/emirates-2.gif" alt="user sees a green screen with a plain error message and a submit button" /><br />
Not exactly confidence building! This page is supposed to redirect the user to their card holders &#8217;secure code&#8217; page to prevent fraud and authorise payment. However when the re-direct doesn&#8217;t work a green screen with a form button seems to be enough to maintain the users confidence confidence!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.morehawes.co.uk/web-usability-even-big-boys-get-it-wrong/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easily Generate Javascript and PHP Error Checking For Your Forms</title>
		<link>http://www.morehawes.co.uk/easily-generate-javascript-and-php-error-checking-your-forms</link>
		<comments>http://www.morehawes.co.uk/easily-generate-javascript-and-php-error-checking-your-forms#comments</comments>
		<pubDate>Fri, 10 Apr 2009 19:17:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javacsript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.morehawes.co.uk/cms/easily-generate-javascript-and-php-error-checking-your-forms</guid>
		<description><![CDATA[<p>I wanted a quick and easy way of adding Javascript and PHP error checking to my form elements. The benefit of this is that errors can be caught using Javascript before the form is submitted, but if JS is disabled in the users browser then the error is still caught using PHP.</p>

<p>The method I came up with to solve this is very simple and can be easily added to form elements with little extra code. The error checking is done by checking input against regular expressions.</p>]]></description>
			<content:encoded><![CDATA[<p>I wanted a quick and easy way of adding Javascript and PHP error checking to my form elements. The benefit of this is that errors can be caught using Javascript before the form is submitted, but if JS is disabled in the users browser then the error is still caught using PHP.</p>
<p>The method I came up with to solve this is very simple and can be easily added to form elements with little extra code. The error checking is done by checking input against regular expressions.</p>
<p>See the <a href="/stuff/error_checking.php">demo</a> and <a href="/stuff/error_checking.txt">demo source code</a>.</p>
<h3>Code Explaination</h3>
<p>One function is used to create both forms of error checking:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$jsChecks</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//holds JS error checks</span>
<span style="color: #000088;">$errorFound</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">;</span>	<span style="color: #666666; font-style: italic;">//PHP error flag</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//Creates both JS and PHP error checks</span>
<span style="color: #000000; font-weight: bold;">function</span> errorCheck<span style="color: #009900;">&#40;</span><span style="color: #000088;">$elementName</span><span style="color: #339933;">,</span> <span style="color: #000088;">$regExp</span><span style="color: #339933;">,</span> <span style="color: #000088;">$errMsg</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$jsChecks</span><span style="color: #339933;">;</span>
	<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$errorFound</span><span style="color: #339933;">;</span>
	<span style="color: #666666; font-style: italic;">//Create Javascript error checking</span>
	<span style="color: #000088;">$check</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'
	var '</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$elementName</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'Filter = '</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$regExp</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'; 
	if (!'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$elementName</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'Filter.test(theForm.'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$elementName</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'.value)) { 
		errorMessage += &quot;\n  * '</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$errMsg</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot;;
		errorFound = true;
	}'</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$jsChecks</span> <span style="color: #339933;">.=</span> <span style="color: #000088;">$check</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">//PHP error checking and return input class</span>
	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;formSubmitted&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>	<span style="color: #666666; font-style: italic;">//if form submitted</span>
		<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">preg_match</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$regExp</span><span style="color: #339933;">,</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$elementName</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #000088;">$errorFound</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">&quot;error&quot;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//css error class</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span>	<span style="color: #666666; font-style: italic;">//no class if no error detected</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Error checking is created for the form elements specifying which element (by name), a regular expression to be checked against and a custom error message:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">//Create error checking</span>
<span style="color: #000088;">$nameError</span> <span style="color: #339933;">=</span> errorCheck<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;name&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;/([a-z0-9]{3}[a-z0-9]?)/&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Name is too short&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>	<span style="color: #666666; font-style: italic;">//Must be 3 chars or over</span>
<span style="color: #000088;">$emailError</span> <span style="color: #339933;">=</span> errorCheck<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;email&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;/^[a-z0-9]+([_<span style="color: #000099; font-weight: bold;">\\</span>.-][a-z0-9]+)*@([a-z0-9]+([\.-][a-z0-9]+)*)+<span style="color: #000099; font-weight: bold;">\\</span>.[a-z]{2,}$/i&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Invalid Email Address&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>	<span style="color: #666666; font-style: italic;">//must be valid email address</span></pre></div></div>

<p>If no error is found then process the data.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">//If no error found</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$errorFound</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #666666; font-style: italic;">//Process form data...</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>In our head tags we add the following Javascript and CSS rules. The Javascipt checks we created for each element are included here by the PHP ehco:</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;">&nbsp;
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">style</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</span>&gt;</span>
input {
	border: 1px solid #DDD;
}
.error {
	border: 1px dashed #F00;
}
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">style</span>&gt;</span>
&nbsp;
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;</span>
<span style="color: #808080; font-style: italic;">&lt;!--</span>
<span style="color: #808080; font-style: italic;">function validateForm(theForm) {</span>
<span style="color: #808080; font-style: italic;">	var errorFound = false;</span>
<span style="color: #808080; font-style: italic;">	var errorMessage = &quot;Please correct the following errors:\n&quot;;</span>
<span style="color: #808080; font-style: italic;">	&lt;?php echo $jsChecks ?&gt;</span>
<span style="color: #808080; font-style: italic;">	if(errorFound) {</span>
<span style="color: #808080; font-style: italic;">		alert(errorMessage);</span>
<span style="color: #808080; font-style: italic;">	}</span>
<span style="color: #808080; font-style: italic;">	return !errorFound;</span>
<span style="color: #808080; font-style: italic;">}</span>
<span style="color: #808080; font-style: italic;">//--&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span></pre></div></div>

<p>The form is really simple with code to display a CSS class depending on whether a error is detected (for the PHP error checking) and to set the value of the field:</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;">&nbsp;
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">form</span> <span style="color: #000066;">method</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;post&quot;</span> <span style="color: #000066;">onSubmit</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;return validateForm(this)&quot;</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">label</span> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;name&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">strong</span>&gt;</span>Name<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">strong</span>&gt;</span> (must be 3 characters or over)<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">label</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">br</span> <span style="color: #66cc66;">/</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;name&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;name&quot;</span> <span style="color: #000066;">size</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;30&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;?php echo $nameError ?&gt;</span></span>&quot; value=&quot;<span style="color: #009900;">&lt;?php echo @ $_POST<span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'name'</span><span style="color: #66cc66;">&#93;</span> ?&gt;</span>&quot; /&gt;<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">br</span> <span style="color: #66cc66;">/</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">label</span> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;email&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">strong</span>&gt;</span>Email Address<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">strong</span>&gt;</span> (must be a valid email address)<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">label</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">br</span> <span style="color: #66cc66;">/</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;email&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;email&quot;</span> <span style="color: #000066;">size</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;30&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;?php echo $emailError ?&gt;</span></span>&quot; value=&quot;<span style="color: #009900;">&lt;?php echo @ $_POST<span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'email'</span><span style="color: #66cc66;">&#93;</span> ?&gt;</span>&quot; /&gt;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">br</span> <span style="color: #66cc66;">/</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;hidden&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;formSubmitted&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;formSubmitted&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;submit&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Submit&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">form</span>&gt;</span></pre></div></div>

<p>There you are, both Javascript and PHP error checking! See the complete source code <a href="/stuff/error_checking.txt">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.morehawes.co.uk/easily-generate-javascript-and-php-error-checking-your-forms/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tesco Boycott</title>
		<link>http://www.morehawes.co.uk/tesco-boycott</link>
		<comments>http://www.morehawes.co.uk/tesco-boycott#comments</comments>
		<pubDate>Thu, 26 Feb 2009 19:41:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Boycotts]]></category>
		<category><![CDATA[Dislikes]]></category>
		<category><![CDATA[Me]]></category>

		<guid isPermaLink="false">http://www.morehawes.co.uk/cms/tesco-boycott</guid>
		<description><![CDATA[<p>Since Tesco opened a third store all within a ten minute walk of each other where I live in Cardiff I decided enough was enough and didn't shop there any more. Though occasionally I admit I did pop in for milk or if Walkers Sensations are on offer for 72p!</p>

<p>This was until I saw for myself number 4... <strong>FOUR!</strong> Thats 4 stores within one mile walk of each other.</p>

<div style="text-align: center; font-size: x-small;">
<img src="/images/tesco-stores.gif" alt="Tesco stores in my area" />
</div>

<p>Never again will I step foot inside a Tesco's store. Never.</p>]]></description>
			<content:encoded><![CDATA[<p>Since Tesco opened a third store all within a ten minute walk of each other where I live in Cardiff I decided enough was enough and didn&#8217;t shop there any more. Though occasionally I admit I did pop in for milk or if Walkers Sensations are on offer for 72p!</p>
<p>This was until I saw for myself number 4&#8230; <strong>FOUR!</strong> Thats 4 stores within one mile walk of each other.</p>
<div style="text-align: center; font-size: x-small;"><img src="/images/tesco-stores.gif" alt="Tesco stores in my area" /></div>
<p>Never again will I step foot inside a Tesco&#8217;s store. Never.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.morehawes.co.uk/tesco-boycott/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>eBay Ads Gone Mad!</title>
		<link>http://www.morehawes.co.uk/ebay-ads-gone-mad</link>
		<comments>http://www.morehawes.co.uk/ebay-ads-gone-mad#comments</comments>
		<pubDate>Thu, 26 Feb 2009 12:44:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Dislikes]]></category>
		<category><![CDATA[Me]]></category>
		<category><![CDATA[eBay]]></category>

		<guid isPermaLink="false">http://www.morehawes.co.uk/cms/ebay-ads-gone-mad</guid>
		<description><![CDATA[<p>I usually surf the web with my trusty <a href="https://addons.mozilla.org/en-US/firefox/addon/1865">Adblock Plus</a> Firefox extension turned on, but after turning it off recently (I have been working on my works affiliate programme... it actually took me a few seconds to work out why things weren't appearing that <em>should</em> have been!) I got a bit of a shock when I went on to eBay. My usual eBay experience looks like this:</p>]]></description>
			<content:encoded><![CDATA[<p>I usually surf the web with my trusty <a href="https://addons.mozilla.org/en-US/firefox/addon/1865">Adblock Plus</a> Firefox extension turned on, but after turning it off recently (I have been working on my works affiliate programme&#8230; it actually took me a few seconds to work out why things weren&#8217;t appearing that <em>should</em> have been!) I got a bit of a shock when I went on to eBay. My usual eBay experience looks like this:</p>
<div style="text-align: center; font-size: x-small;"><img src="/images/ebay-ads-1.gif" alt="eBay with adblock plus enabled" /></div>
<p>However to my disgust with adblock plus disabled I was confronted with the following:</p>
<div style="text-align: center; font-size: x-small;"><img src="/images/ebay-ads-2.gif" alt="eBay's ads when adblock plus is disabled" /></div>
<p>I think eBay should be ashamed of themselves. They have completely compromised their site by selling out to ads and lets face it &#8211; it&#8217;s not exactly like they are short of money! I knew eBay had ads but this is getting silly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.morehawes.co.uk/ebay-ads-gone-mad/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Cat Came Back</title>
		<link>http://www.morehawes.co.uk/cat-came-back</link>
		<comments>http://www.morehawes.co.uk/cat-came-back#comments</comments>
		<pubDate>Tue, 24 Feb 2009 23:33:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Likes]]></category>
		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://www.morehawes.co.uk/cms/the-cat-came-back</guid>
		<description><![CDATA[<p>I remembered this cartoon from my childhood today whilst speaking to my girlfriend. She hadn't heard of it, so if you haven't seen it you should definitely check it out!</p>

<div style="text-align: center">

<object width="425" height="344">
<param name="movie" value="http://www.youtube.com/v/bETCusT5kNM&#038;hl=en&#038;fs=1&#038;rel=0">
</param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param>
<embed src="http://www.youtube.com/v/bETCusT5kNM&#038;hl=en&#038;fs=1&#038;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>

</div>
]]></description>
			<content:encoded><![CDATA[<p>I remembered this cartoon from my childhood today whilst speaking to my girlfriend. She hadn&#8217;t heard of it, so if you haven&#8217;t seen it you should definitely check it out!</p>
<div style="text-align: center;">
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/bETCusT5kNM&#038;hl=en_GB&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/bETCusT5kNM&#038;hl=en_GB&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.morehawes.co.uk/cat-came-back/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Theme / Templating Tutorials, Guides and Resources</title>
		<link>http://www.morehawes.co.uk/magento-theme-templating-tutorials-guides-and-resources</link>
		<comments>http://www.morehawes.co.uk/magento-theme-templating-tutorials-guides-and-resources#comments</comments>
		<pubDate>Mon, 09 Feb 2009 20:46:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[e-commerce]]></category>

		<guid isPermaLink="false">http://www.morehawes.co.uk/cms/magento-theme-templating-tutorials-guides-and-resources</guid>
		<description><![CDATA[<p>I think anyone that has worked with <a href="http://www.magentocommerce.com">Magento</a> will agree that it is a steep learning curve, this is not helped by the lack of documentation. I have put together a list of useful links when that I found helpful whilst trying to get my head around Magento themes:</p>

<p>(I have expanded upon <a href="http://maff.ailoo.net/2008/09/magento-design-resources/">these</a>&#160;<a href="http://stevelam.ca/news/theming-magento-commerce">lists</a> which I found useful)</p>]]></description>
			<content:encoded><![CDATA[<p>I think anyone that has worked with <a href="http://www.magentocommerce.com">Magento</a> will agree that it is a steep learning curve, this is not helped by the lack of documentation. I have put together a list of useful links when that I found helpful whilst trying to get my head around Magento themes:</p>
<p>(I have expanded upon <a href="http://maff.ailoo.net/2008/09/magento-design-resources/">these</a> <a href="http://stevelam.ca/news/theming-magento-commerce">lists</a> which I found useful)</p>
<ul>
<li><a href="http://www.amazon.co.uk/gp/product/0973862173?ie=UTF8&amp;tag=morehawes-21&amp;linkCode=as2&amp;camp=1634&amp;creative=6738&amp;creativeASIN=0973862173">Php|architect&#8217;s Guide to E-Commerce Programming with Magento</a><img style="border: none !important; margin: 0px !important;" src="http://www.assoc-amazon.co.uk/e/ir?t=morehawes-21&amp;l=as2&amp;o=2&amp;a=0973862173" border="0" alt="" width="1" height="1" /></li>
<li><a href="http://www.magentocommerce.com/design_guide">Designer&#8217;s Guide to Magento</a> &#8211; The most solid of Magento&#8217;s documentation, though it might take a few reads before things become clear! (<a href="http://inchoo.net/wp-content/uploads/2008/06/designers_guide_to_magento.pdf">pdf version</a>)</li>
<li><a href="http://www.magentocommerce.com/support/magento_core_api">The Magento API</a></li>
<li><a href="http://www.magentocommerce.com/media/screencasts">Magento Screencasts</a></li>
<li><a href="http://www.magentocommerce.com/blog/comments/designing-for-magento-webinar-recording-now-available/">Designing for Magento Webinar</a> &#8211; worth watching the wmv file as much better quality</li>
<li><a href="http://www.magentocommerce.com/wiki/how-to/designing/designing-for-magento">Magento Wiki</a> &#8211; out dated but some handy concepts</li>
<li><a href="http://www.magentocommerce.com/boards/viewthread/1438/#t6703">Ohminu forum post</a> &#8211; the lead designer breaks things down for newbies</li>
<li><a href="http://www.magentocommerce.com/wiki/general/magento-folder-structure">Magento Folder Structure</a></li>
<li><a href="http://www.magentocommerce.com/boards/viewthread/2869/">Changing Text</a> &#8211; using the Locale File</li>
<li><a href="http://www.magentocommerce.com/boards/viewthread/1438/#t6703">Builing Blocks</a> &#8211; more handy hints from the lead designer</li>
<li><a href="http://www.magentocommerce.com/media/screencasts/designers-guide-1/view">Screencast on creating themes</a> &#8211; a very <strong>brief</strong> introduction to creating a new theme</li>
<li><a href="http://www.phparch.com/training/slides/MAGDEV0708/recordings/">Video&#8217;s and other resources</a> from php | architect</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.morehawes.co.uk/magento-theme-templating-tutorials-guides-and-resources/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
