<?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>CraigCartwright.co.uk &#187; admin</title>
	<atom:link href="http://www.craigcartwright.co.uk/author/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.craigcartwright.co.uk</link>
	<description>Into the mind of a genius! (honestly! lol)</description>
	<lastBuildDate>Mon, 09 Jan 2012 14:25:36 +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>Responsive design sizes</title>
		<link>http://www.craigcartwright.co.uk/2012/01/responsive-design-sizes/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=responsive-design-sizes</link>
		<comments>http://www.craigcartwright.co.uk/2012/01/responsive-design-sizes/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 14:25:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.craigcartwright.co.uk/?p=54</guid>
		<description><![CDATA[Here&#8217;s the most popular sizes and max width for design for responsive design: Desktop            1024&#215;768             Run max 978px Ipad landscape 1024&#215;690             Run max 978px Ipad &#8230; <a href="http://www.craigcartwright.co.uk/2012/01/responsive-design-sizes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s the most popular sizes and max width for design for responsive design:</p>
<p>Desktop            1024&#215;768             Run max 978px<br />
Ipad landscape 1024&#215;690             Run max 978px<br />
Ipad potrait        768&#215;946               Run max 748px<br />
Iphone               320&#215;356               Run max 300px<br />
Iphone 4            320&#215;356 x2           Run max 300px<br />
Samsung          320(x1.5)x451      Run max 300px</p>
]]></content:encoded>
			<wfw:commentRss>http://www.craigcartwright.co.uk/2012/01/responsive-design-sizes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Empty div gets bottom border  on iPad/iPhone browser</title>
		<link>http://www.craigcartwright.co.uk/2011/11/empty-div-gets-bottom-border-on-ipadiphone-browser/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=empty-div-gets-bottom-border-on-ipadiphone-browser</link>
		<comments>http://www.craigcartwright.co.uk/2011/11/empty-div-gets-bottom-border-on-ipadiphone-browser/#comments</comments>
		<pubDate>Tue, 22 Nov 2011 22:14:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.craigcartwright.co.uk/?p=52</guid>
		<description><![CDATA[Not sure if anyone else has been battling with this issue?  Let me explain &#8211; I built a set of templates that were tested in the usual suspect (IE6-9, FF3+, Safari 5+ Chrome 10+ Opera 10+) and all worked perfect! &#8230; <a href="http://www.craigcartwright.co.uk/2011/11/empty-div-gets-bottom-border-on-ipadiphone-browser/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Not sure if anyone else has been battling with this issue?  Let me explain &#8211; I built a set of templates that were tested in the usual suspect (IE6-9, FF3+, Safari 5+ Chrome 10+ Opera 10+) and all worked perfect! (albeit I had to use a dreaded IE6 CSS and conditional statement and the dreaded png fix!).</p>
<p>While I was at it I thought I&#8217;d just run a quick test on the Ipad/Iphone just to make sure &#8211; I honestly thought it would all be fine as I&#8217;d tested thoroughly on Safari for Windows and Chrome.  But to my dismay the &#8220;top&#8221; div I was using to hold a curved background image in and another I was using to hold a logo had strangely suffered from what looked like a 1px white border on the bottom of each div &#8211; obviously ruining my design!</p>
<p>Well I wasn&#8217;t going to let the Apple posse get one over on me so I turned to the trusty Google to find an answer &#8211; and luckily I did!  A single line of &#8220;meta&#8221; code in the header was all I needed to beat this Apple monster away <img src='http://www.craigcartwright.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Here&#8217;s the code:</p>
<pre>&lt;meta name="viewport" content="initial-scale=1, maximum-scale=1"&gt;</pre>
<p>In a nutshell you need to tell the Ipad/Iphone not to play with the zoom scale at all &#8211; and viola it fixes the issue!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.craigcartwright.co.uk/2011/11/empty-div-gets-bottom-border-on-ipadiphone-browser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Useful WordPress navigation code</title>
		<link>http://www.craigcartwright.co.uk/2011/11/useful-wordpress-navigation-code/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=useful-wordpress-navigation-code</link>
		<comments>http://www.craigcartwright.co.uk/2011/11/useful-wordpress-navigation-code/#comments</comments>
		<pubDate>Sat, 19 Nov 2011 19:47:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.craigcartwright.co.uk/?p=37</guid>
		<description><![CDATA[For most of my WordPress websites I tend to use an old but superb plugin called &#8220;Fold Page List&#8221; &#8211; this improves the standard WordPress navigation by showing child pages only when in a particular section! Perfect! But what if &#8230; <a href="http://www.craigcartwright.co.uk/2011/11/useful-wordpress-navigation-code/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>For most of my WordPress websites I tend to use an old but superb plugin called <a title="Wordpress Fold Page List plugin" href="http://www.webspaceworks.com/" target="_blank">&#8220;Fold Page List&#8221;</a> &#8211; this improves the standard WordPress navigation by showing child pages only when in a particular section! Perfect!</p>
<p>But what if I didn&#8217;t want to show the &#8220;whole navigation&#8221; on the left hand side when I went into section?!?!  Well as far as I can see I needed to create/use something custom.</p>
<p>So a search on Google came up with a few results but nothing really seemed to really do what I wanted, until I came across this post from <a title="TammyHart Designs" href="http://www.tammyhartdesigns.com/wordpress/wordpress-how-to-list-child-pages-in-sidebar/" target="_blank">TammyHart Designs</a> &#8211; and it worked out perfect!</p>
<p>Made a few tiny tweaks to make sure the code validated so here&#8217;s  my reworked code (kudos to TommyHart for the original start though!):</p>
<pre>&lt;?php if ( is_page() ) { ?&gt;
            &lt;?php
                if($post-&gt;post_parent)
                    $children = wp_list_pages('title_li=&amp;child_of='.$post-&gt;post_parent.'&amp;echo=0'); else
                    $children = wp_list_pages('title_li=&amp;child_of='.$post-&gt;ID.'&amp;echo=0');
                    if ($children) { ?&gt;

                    &lt;h2&gt;&lt;?php $parent_title = get_the_title($post-&gt;post_parent); echo $parent_title; ?&gt;&lt;/h2&gt;
                    &lt;ul&gt;
                        &lt;?php echo $children; ?&gt;
                    &lt;/ul&gt;
            &lt;?php } ?&gt;
        &lt;?php } ?&gt;</pre>
<p>Still not perfect as I only want to show grand-children pages when you click on the child page &#8211; exactly what Fold Page list does &#8211; so looks like I&#8217;ll be doing a tweak to that involving the above really soon <img src='http://www.craigcartwright.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.craigcartwright.co.uk/2011/11/useful-wordpress-navigation-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My use of Google Chrome Extensions</title>
		<link>http://www.craigcartwright.co.uk/2011/09/useful-google-chrome-extensions/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=useful-google-chrome-extensions</link>
		<comments>http://www.craigcartwright.co.uk/2011/09/useful-google-chrome-extensions/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 19:41:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Useful Web things]]></category>

		<guid isPermaLink="false">http://www.craigcartwright.co.uk/?p=25</guid>
		<description><![CDATA[Well I&#8217;ve finally done it!  Yep! I&#8217;ve finally made the move to Google Chrome for my default web browser.  I&#8217;ve had it installed for a while and used it frequently for checking etc, but always found the need to fall back to &#8230; <a href="http://www.craigcartwright.co.uk/2011/09/useful-google-chrome-extensions/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Well I&#8217;ve finally done it!  Yep! I&#8217;ve finally made the move to <a title="Google Chrome" href="http://www.google.com/chrome/intl/en-GB/landing_tv.html" target="_blank">Google Chrome</a> for my default web browser.  I&#8217;ve had it installed for a while and used it frequently for checking etc, but always found the need to fall back to Firefox for my day to day browsing.</p>
<p>But with the constant updates and the borwser seeming to get slower and slower each upgrade I&#8217;ve taken the plunge &#8211; especially now that I can get a load of the add-ons and extras I found so handy with Firefox with Chrome in some form or another.</p>
<p>So here&#8217;s a list of some of the more useful Chrome addons that I now utilise!</p>
<ul>
<li><a href="https://chrome.google.com/webstore/detail/bfbameneiokkgbdmiekhjnmfkcnldhhm?hc=search&amp;hcp=main" target="_blank">Web developer</a></li>
<li><a href="https://chrome.google.com/webstore/detail/ninejjcohidippngpapiilnmkgllmakh?hc=search&amp;hcp=main" target="_blank">YSlow</a></li>
<li><a href="https://chrome.google.com/webstore/detail/ojkcdipcgfaekbeaelaapakgnjflfglf" target="_blank">Check My Links</a></li>
<li><a href="https://chrome.google.com/webstore/detail/hehijbfgiekmjfkfjpbkbammjbdenadd?hc=search&amp;hcp=main" target="_blank">IE Tab</a></li>
<li><a href="https://chrome.google.com/webstore/detail/bmagokdooijbeehmkpknfglimnifench?hc=search&amp;hcp=main" target="_blank">Firebug Lite</a></li>
<li><a href="https://chrome.google.com/webstore/detail/oangcciaeihlfmhppegpdceadpfaoclj?hc=search&amp;hcp=main" target="_blank">SEO for Chrome</a></li>
<li><a href="https://chrome.google.com/webstore/detail/idfnpgjblkahngbondojabhffkkdekbd?hc=search&amp;hcp=main" target="_blank">Print button</a></li>
<li><a href="https://chrome.google.com/webstore/detail/cgndfbhngibokieehnjhbjkkhbfmhojo?hc=search&amp;hcp=main" target="_blank">HTML Validator</a> (or)</li>
<li><a href="https://chrome.google.com/webstore/detail/bbicmjjbohdfglopkidebfccilipgeif?hc=search&amp;hcp=main">Validity</a></li>
<li>Site Traffic</li>
<li><a href="https://chrome.google.com/webstore/detail/hbgbedpagfcecmjmlfpndghfclhnmmll?hc=search&amp;hcp=main" target="_blank">Simple Form Filler</a></li>
<li><a href="https://chrome.google.com/webstore/detail/lnejbeiilmbliffhdepeobjemekgdnok" target="_blank">Save in Delicious</a></li>
<li>JSLint for Google Chrome</li>
<li><a href="https://chrome.google.com/webstore/detail/jfpdnkkdgghlpdgldicfgnnnkhdfhocg">Spell check from Chrome</a></li>
<li><a href="https://chrome.google.com/webstore/detail/dphhbbnlnbdkabjgkljkhplmehadonid">Awesome screenshot</a></li>
<li><a href="https://chrome.google.com/webstore/detail/hooflclkcdjfidkpcammhdghekaohjfa">Mark Up</a></li>
<li><a href="https://chrome.google.com/webstore/detail/jlpkojjdgbllmedoapgfodplfhcbnbpn">Page Ruler</a></li>
<li><a href="https://chrome.google.com/webstore/detail/dbipijebmgpcpegbgdbccllmcnaihnhk">HTML2exel</a></li>
</ul>
<div>More to come &#8211; but the rest are on my works machine!</div>
<div>Meanwhile I&#8217;m also evaluating some of the Google Chrome &#8220;Apps&#8221; &#8211; though not sure about these yet <img src='http://www.craigcartwright.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </div>
]]></content:encoded>
			<wfw:commentRss>http://www.craigcartwright.co.uk/2011/09/useful-google-chrome-extensions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Email Regular expression</title>
		<link>http://www.craigcartwright.co.uk/2011/09/useful-regular-expression/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=useful-regular-expression</link>
		<comments>http://www.craigcartwright.co.uk/2011/09/useful-regular-expression/#comments</comments>
		<pubDate>Thu, 01 Sep 2011 21:31:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.craigcartwright.co.uk/?p=21</guid>
		<description><![CDATA[Stuck trying to come up with the perfect regular expression for email validation?!?!  Well look no further &#8211; here&#8217;s one that I&#8217;ve found &#8220;perfect&#8221; to date!  It seems to cover all the clever variants and funny characters that are accepted &#8230; <a href="http://www.craigcartwright.co.uk/2011/09/useful-regular-expression/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Stuck trying to come up with the perfect regular expression for email validation?!?!  Well look no further &#8211; here&#8217;s one that I&#8217;ve found &#8220;perfect&#8221; to date!  It seems to cover all the clever variants and funny characters that are accepted in email addresses!</p>
<p>Bet you didn&#8217;t know the apostrophe and many other &#8220;special&#8221; characters are actually valid in an email address.  Here&#8217;s a quick low-down on what I know is accepted (if you find out any more let me know!):</p>
<ul>
<li>Uppercase and lowercase English letters (a–z, A–Z)</li>
<li>Digits <code>0</code> to <code>9</code></li>
<li>Characters <code># $ % &amp; ' * + - / = ? ^ _ ` { | } ~</code></li>
<li>Character <code>.</code> (dot, period, full stop) provided that it is not the first or last character, and provided also that it does not appear two or more times consecutively (e.g. craig..cartwright@example.com).</li>
</ul>
<p>So here&#8217;s the useful reg expression:</p>
<p>/^[\.\#\$\%\&amp;\'\*\+\-\/\=\?\^\_\`\{\|\}\~0-9A-Za-z]+\@[A-Za-z0-9\-\_\.]+\.[A-Za-z]{2,4}$/</p>
<p>Hope this helps!</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.craigcartwright.co.uk/2011/09/useful-regular-expression/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some nice &#8220;responive web design&#8221; examples</title>
		<link>http://www.craigcartwright.co.uk/2011/08/some-nice-responive-web-design-examples/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=some-nice-responive-web-design-examples</link>
		<comments>http://www.craigcartwright.co.uk/2011/08/some-nice-responive-web-design-examples/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 13:03:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.craigcartwright.co.uk/?p=16</guid>
		<description><![CDATA[Full blog entry coming shortly (if I ever get enough time!) But in the meantime here&#8217;s some nice examples: http://edenspiekermann.com http://www.westminster-abbey.org http://fourkitchens.com http://sasquatchfestival.com http://www.palantir.net http://www.lancs.ac.uk (This is a great University website!) And some boiler plates and templates: http://www.getskeleton.com Drupal Omega &#8230; <a href="http://www.craigcartwright.co.uk/2011/08/some-nice-responive-web-design-examples/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Full blog entry coming shortly (if I ever get enough time!)</p>
<p>But in the meantime here&#8217;s some nice examples:</p>
<ul>
<li><a href="http://edenspiekermann.com/">http://edenspiekermann.com</a></li>
<li><a href="http://www.westminster-abbey.org/">http://www.westminster-abbey.org</a></li>
<li><a href="http://fourkitchens.com">http://fourkitchens.com</a></li>
<li><a href="http://sasquatchfestival.com">http://sasquatchfestival.com</a></li>
<li><a href="http://www.palantir.net">http://www.palantir.net</a></li>
<li><a href="http://www.lancs.ac.uk/home/">http://www.lancs.ac.uk</a> (This is a great University website!)</li>
</ul>
<p>And some boiler plates and templates:</p>
<ul>
<li><a href="http://www.getskeleton.com/">http://www.getskeleton.com</a></li>
<li>Drupal Omega theme: <a href="http://drupal.org/project/omega">http://drupal.org/project/omega</a></li>
</ul>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.craigcartwright.co.uk/2011/08/some-nice-responive-web-design-examples/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Testing Testing</title>
		<link>http://www.craigcartwright.co.uk/2010/06/testing-testing/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=testing-testing</link>
		<comments>http://www.craigcartwright.co.uk/2010/06/testing-testing/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 19:01:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.craigcartwright.co.uk/?p=5</guid>
		<description><![CDATA[Hello everyone&#8230;. just a quick test Hoping to add more useful (well I think so) here soon including film reviews, CMS and web information, car info and ummmm any other daft crap floating around I like and hope you may &#8230; <a href="http://www.craigcartwright.co.uk/2010/06/testing-testing/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hello everyone&#8230;. just a quick test</p>
<p>Hoping to add more useful (well I think so) here soon including film reviews, CMS and web information, car info and ummmm any other daft crap floating around I like and hope you may like!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.craigcartwright.co.uk/2010/06/testing-testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

