<?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>*nao &#124; notanorange</title>
	<atom:link href="http://notanorange.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://notanorange.com</link>
	<description>Neil Kemp&#039;s corner of the Interwebs</description>
	<lastBuildDate>Mon, 02 Aug 2010 13:53:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Seph Brown</title>
		<link>http://notanorange.com/work/seph-brown/</link>
		<comments>http://notanorange.com/work/seph-brown/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 12:45:53 +0000</pubDate>
		<dc:creator>Neil</dc:creator>
				<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://notanorange.com/?p=305</guid>
		<description><![CDATA[Theme for political WordPress blog <a href="http://notanorange.com/work/seph-brown/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This site was built in a scarily short timescale for political campaign consultant, Seph Brown, as an outlet for his views on British politics and the Middle-East, among other things.</p>
<p>The theme was built from the scratch, using a stripped down version of WordPress 3.0′s default TwentyTen theme as a base.</p>
<p>We decided to opt for a small sidebar-based header to give the content pride of place on the page. The most recent tweets from Seph’s <a title="SephRBrown on Twitter" href="http://twitter.com/SephRBrown">Twitter</a> feed are also displayed in the sidebar.</p>
]]></content:encoded>
			<wfw:commentRss>http://notanorange.com/work/seph-brown/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Egham Pool League</title>
		<link>http://notanorange.com/work/egham-pool-league/</link>
		<comments>http://notanorange.com/work/egham-pool-league/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 20:36:43 +0000</pubDate>
		<dc:creator>Neil</dc:creator>
				<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://notanorange.com/?p=285</guid>
		<description><![CDATA[Site to display league results tables and fixtures for a local pool league <a href="http://notanorange.com/work/egham-pool-league/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This site was built for a local league as an easily accessible online home for their results and fixtures information.</p>
<p>Its design was loosely based on the league&#8217;s printed sheets, to help maintain a consistant feel to the layout of the information across both types of media.</p>
<p>Due to the large amounts of tabular data that the site contains, I opted to keep the design imageless. This was to keep loading times to a minimum – especially over slower connections – and to keep the interface as clean as possible.</p>
]]></content:encoded>
			<wfw:commentRss>http://notanorange.com/work/egham-pool-league/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SPEARdesign</title>
		<link>http://notanorange.com/work/speardesign/</link>
		<comments>http://notanorange.com/work/speardesign/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 19:57:24 +0000</pubDate>
		<dc:creator>Neil</dc:creator>
				<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://notanorange.com/?p=282</guid>
		<description><![CDATA[Single page information site for a graphic designer &#038; photographer <a href="http://notanorange.com/work/speardesign/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This site was developed for designer &amp; photographer Ben Spear, as a front to his website.</p>
<p>It was designed to give his work maximum impact, without the need for a standard gallery-style page. To do this, we decided to use the entire background of the site to showcase a piece of his work.</p>
<p>The backgrounds are randomly picked from a folder of images on Ben’s web server, so he has full control over the images that are used, without the need to edit any code.</p>
<p>The panel transitions and navigation link animations were created using jQuery.</p>
]]></content:encoded>
			<wfw:commentRss>http://notanorange.com/work/speardesign/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP: Random Images</title>
		<link>http://notanorange.com/blog/web/php-random-images/</link>
		<comments>http://notanorange.com/blog/web/php-random-images/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 16:08:35 +0000</pubDate>
		<dc:creator>Neil</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://notanorange.com/?p=166</guid>
		<description><![CDATA[Selecting a random image with PHP. As seen on <a href="http://speardesign.co.uk/">SpearDesign</a>. <a href="http://notanorange.com/blog/web/php-random-images/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A little while ago, I was asked to &#8220;sort out a website&#8221; for a friend of mine. A big part of this was the randomly picked images that sit behind the content.</p>
<p>While writing the few lines of PHP to accomplish this, I decided it would be for the best if <a title="SPEARdesign" href="http://speardesign.co.uk/" target="_blank">Ben</a> &#8211; who will be the first to admit he&#8217;s not very code-savvy &#8211; didn&#8217;t have to touch any code if he wanted to change the images.</p>
<p>Here&#8217;s how I did it:<br />
<code> </code></p>
<p><code></p>
<pre>$dir = "images"; // the directory the images are in
// get all the filenames into an array
if ($dh = opendir($dir)) {
    $count = 0;
    while (false !== ($file = readdir($dh))) {
        $file = removeExtension($file);
        if ($file == "." || $file == "") {
            // do nothing
        } else {
            $imageList[$count] = $file;
            $count++;
        }
    }
    closedir($dh);
}
// remove file extensions
function removeExtension($strName) {
    $ext = strrchr($strName, '.');
    if($ext !== false) {
        $strName = substr($strName, 0, -strlen($ext));
    }
    return $strName;
}
$imgCount = sizeof($imageList) - 1;
$imgNum = rand(0,$imgCount);</pre>
<p></code><br />
Then, wherever the image is needed:<br />
<code> </code></p>
<p><code></p>
<pre>&lt;img src="&lt;?php echo $dir ."/". $imageList[$imgNum]; ?&gt;.jpg" alt="" /&gt;</pre>
<p></code><br />
And that&#8217;s that. All you need to do is drop any images you want to use into that folder.</p>
<p>Obviously, after one look at that code you&#8217;ll notice that the images need to be JPGs, but that wasn&#8217;t an issue with Ben&#8217;s images as they are all large sized JPGs. I&#8217;ll probably revise this snippet at some point, but in the mean time, head over to <a title="SPEARdesign" href="http://speardesign.co.uk/">Ben&#8217;s site</a> and give it a few refreshes to see it in action (just try not to rape too much of his bandwidth).</p>
]]></content:encoded>
			<wfw:commentRss>http://notanorange.com/blog/web/php-random-images/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Everyone Loves Free T-shirts!</title>
		<link>http://notanorange.com/blog/personal/everyone-loves-free-t-shirts/</link>
		<comments>http://notanorange.com/blog/personal/everyone-loves-free-t-shirts/#comments</comments>
		<pubDate>Sun, 14 Mar 2010 10:41:29 +0000</pubDate>
		<dc:creator>Neil</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Rant]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[shirt]]></category>

		<guid isPermaLink="false">http://notanorange.com/?p=138</guid>
		<description><![CDATA[I won something? That never happens! <a href="http://notanorange.com/blog/personal/everyone-loves-free-t-shirts/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s the truth, no?</p>
<p>I can&#8217;t explain why, but it seems that free t-shirts always seem to fit better as well. The <a title="Dropbox" href="http://dropbox.com/">Dropbox</a> &#8220;Psychobox&#8221; shirt that found its way through my door on Friday is no exception.</p>
<div class="wp-caption alignnone" style="width: 630px"><img class="  " title="dropbox-cropped" src="http://notanorange.com/wp-content/uploads/2010/03/dropbox-cropped.png" alt="" width="620" height="200" /><p class="wp-caption-text">Front view</p></div>
<h2>In It To Win It&#8230;</h2>
<p>&#8230;and other such phrases.</p>
<blockquote><p>What&#8217;s that? T-shirt giveaway? Everyone loves free tees.#dropboxshirt</p></blockquote>
<p>The truth is, when I chucked out that tweet, I didn&#8217;t really think about winning. The probability of getting selected had to be one in thousands, right? But I thought I&#8217;d have a go regardless.</p>
<p>I had actually forgotten about the whole thing until I saw this:</p>
<div class="wp-caption alignnone" style="width: 630px"><img class=" " title="dropboxshirt-winners" src="http://notanorange.com/wp-content/uploads/2010/03/dropboxshirt-winners.png" alt="Winners" width="620" height="200" /><p class="wp-caption-text">Surprise!</p></div>
<p>I&#8217;d won something! That never happens. I messaged Jon and got the details sorted out, and awaited the arrival of my &#8216;Psychobox&#8217; shirt.</p>
<h2>Snail Mail</h2>
<p>San Francisco is a long way from London. This is the truth. You don&#8217;t have to be a genius to work out that overnight delivery is a little out of the question, but six-and-a-bit weeks? Seriously, what did they do, walk it here?</p>
<p>Ok, fair play, it was a free shirt. I&#8217;m not complaining, but with today&#8217;s technology you would have thought that the USPS (and Royal Mail or whoever else got their grubby mitts on it) could shift a bit quicker.</p>
<h2>The End</h2>
<p>If you aren&#8217;t one of the 4 million+ of us using Dropbox, head over <a title="Dropbox" href="http://dropbox.com/">there</a>, and get on it, the slogan says it all.</p>
<blockquote><p>It just (somehow) works</p></blockquote>
<p>Big love to all the Dropbox team, thanks for the shirt!</p>
]]></content:encoded>
			<wfw:commentRss>http://notanorange.com/blog/personal/everyone-loves-free-t-shirts/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Zion and the White Boys</title>
		<link>http://notanorange.com/blog/music/zion-and-the-white-boys/</link>
		<comments>http://notanorange.com/blog/music/zion-and-the-white-boys/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 00:38:02 +0000</pubDate>
		<dc:creator>Neil</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[gig]]></category>
		<category><![CDATA[live]]></category>
		<category><![CDATA[Oxford]]></category>
		<category><![CDATA[Zion and the White Boys]]></category>

		<guid isPermaLink="false">http://notanorange.com/?p=109</guid>
		<description><![CDATA[A band photography mission in Oxford. <a href="http://notanorange.com/blog/music/zion-and-the-white-boys/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Early on Friday afternoon, <a title="Ben Spear" href="http://speardesign.co.uk">Ben Spear</a> and I set off for Oxford, laden with camera gear, to get snap happy with a bloke named Zion and some white boys (and girls) from Guildford. Well, strictly speaking, it was Ben getting snap happy. I spent most of my time stood around with my arms in the air, holding things just out of shot &#8211; but that still counts as helping, right?</p>
<div class="wp-caption alignnone" style="width: 630px"><a href="http://speardesign.co.uk/blog/2010/posts/zion-and-the-white-boys/"><img class="  " title="zion-cropped" src="http://notanorange.com/wp-content/uploads/2010/03/zion-cropped.png" alt="Zion..." width="620" height="200" /></a><p class="wp-caption-text">Zion...</p></div>
<p>After park-and-riding our way into the centre of town, we grabbed some lunch and wandered around the streets trying to find a neutral-looking location that didn&#8217;t just scream &#8220;we&#8217;re in Oxford&#8221;. We ended up finding a spot by accident; a small alley/yard area just off the High Street, which had everything we needed &#8211; steps, mostly. After all, with ten subjects, you don&#8217;t want everyone on the same level.</p>
<div class="wp-caption alignnone" style="width: 630px"><a href="http://speardesign.co.uk/blog/2010/posts/zion-and-the-white-boys/"><img class="  " title="whiteboys-cropped" src="http://notanorange.com/wp-content/uploads/2010/03/whiteboys-cropped.png" alt="White Boys" width="620" height="200" /></a><p class="wp-caption-text">...and some White Boys</p></div>
<h2>Burritos and Batteries</h2>
<p>After hanging around in an alley for a bit &#8211; and shooting a few shots in some phone booths &#8211; we headed for food, and then to the <a title="Skylarkin' Soundsystem" href="http://skylarkinsoundsystem.co.uk">Skylarkin&#8217; Soundsystem</a> night at <a title="The Cellar, Oxford" href="http://cellarmusic.co.uk">The Cellar</a>. While the band set up and sound-checked, Ben and I managed to get the temperamental wireless flash working and sort out some hand-signals in preparation for the band&#8217;s performance later that evening.</p>
<p>We had some fun outside with the newly working flash, and took some more photos of the band inside the venue. We even got in a few shots of <a title="Kwasi Asante" href="http://www.myspace.com/kwasiasante">MC Kwasi</a> and &#8220;Oxford&#8217;s most esteemed dubmeister&#8221; <a title="Count Skylarkin" href="http://skylarkin.wordpress.com/residents/count-skylarkin/">Count Skylarkin</a> before the band hit the stage.</p>
<h2>Showtime!</h2>
<p>From the intro of the first track to the very end of their set, Zion and the White Boys had the place hooked. I would have quite happily paid money to get in &#8211; good vibes, good music, good crowd; awesome night.</p>
<div class="wp-caption alignnone" style="width: 630px"><a href="http://speardesign.co.uk/blog/2010/posts/zion-and-the-white-boys/"><img class="  " title="zatwb-onstage-cropped" src="http://notanorange.com/wp-content/uploads/2010/03/zatwb-onstage-cropped.png" alt="Zion and the White Boys" width="620" height="200" /></a><p class="wp-caption-text">Zion and the White Boys</p></div>
<p>If you haven&#8217;t already, I strongly encourage you to check out the Zion and the White Boys <a title="Zion and the White Boys" href="http://myspace.com/zionandthewhiteboys">myspace</a> page for some serious ear-worm business (&#8220;Roots Rock Reggae Riddim&#8221; was soundtrack to my weekend whether I liked it or not), and of course, all images courtesy of <a title="Spear Design" href="http://speardesign.co.uk/">Ben Spear</a> (check out more of these photos <a title="Zion and the White Boys - Spear Design blog" href="http://speardesign.co.uk/blog/2010/posts/zion-and-the-white-boys/">here</a>).</p>
]]></content:encoded>
			<wfw:commentRss>http://notanorange.com/blog/music/zion-and-the-white-boys/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>2010: A Spain Oddity</title>
		<link>http://notanorange.com/blog/personal/2010-a-spain-oddity/</link>
		<comments>http://notanorange.com/blog/personal/2010-a-spain-oddity/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 22:01:11 +0000</pubDate>
		<dc:creator>Neil</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Rant]]></category>
		<category><![CDATA[crap weather]]></category>
		<category><![CDATA[flamenco]]></category>
		<category><![CDATA[spain]]></category>
		<category><![CDATA[taxi driver]]></category>

		<guid isPermaLink="false">http://notanorange.com/?p=90</guid>
		<description><![CDATA[A tale of seven days in an Andalusian shower. <a href="http://notanorange.com/blog/personal/2010-a-spain-oddity/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Friday afternoon I landed back in Blighty after a mostly damp week on the south coast of Spain. A week which involved the worst Spanish February weather for over thirty years, a lost taxi driver, the resulting Policia escort, and some old men flamenco dancing. Lovely.</p>
<div id="attachment_174" class="wp-caption alignnone" style="width: 630px"><a href="http://notanorange.com/wp-content/uploads/2010/02/malaga-knees.png"><img class="size-full wp-image-174   " title="malaga-knees" src="http://notanorange.com/wp-content/uploads/2010/02/malaga-knees.png" alt="Málaga Airport" width="620" height="200" /></a><p class="wp-caption-text">Málaga Airport – the view from my knees</p></div>
<h2>Que?</h2>
<p>Five minutes past four on a grey Friday, the tyres of the British Airways Airbus A320 danced their way along the tarmac at Málaga airport. We breezed through passport control with as much messing about as a Jeremy Paxman interview, and our baggage beat us to the carousel &#8211; take that, Heathrow!</p>
<p>&#8220;Well, that was easy.&#8221;</p>
<p>Ever get the feeling you&#8217;ve spoken too soon? To be fair, I should have expected the experience to go downhill when we got in the cab to find that the driver had no evident knowledge of the handbrake&#8217;s existence, but I let it slide.</p>
<p>The address seemed to make perfect sense to the driver, who nodded, mumbled something in Spanish, and headed out of the airport. A few minutes in, he began signalling &#8211; in a fashion not unlike the iconic mannerisms of Manuel from Fawlty Towers &#8211; to see the paperwork once again. This second look appeared to do nothing but perplex poor old Manuel.</p>
<h3>El Hospital?</h3>
<p>My suspicions that Manuel didn&#8217;t have a clue where we were going were confirmed by our brief visit to the hospital. We weren&#8217;t supposed to be anywhere near the hospital, but there we sat and blocked the single lane of traffic for a few moments while Señor Sat-Nav went to get directions from a fellow taxi driver.</p>
<p>I&#8217;m going to give the poor guy the benefit of the doubt and say that the directions he received were worse than that week&#8217;s weather forecast. A few minutes later, we were lost. Again.</p>
<p>This time it was what seemed like the middle of nowhere. The far end of a quiet cul-de-sac.</p>
<h3>Policia Local: Brit Delivery Service</h3>
<p>A three-point turn and some more Spanish mumbling were followed by what looked like an impression if a duck attempting some sort of flamenco routine, and &#8211; although the Spaniard&#8217;s flailing in an attempt to visualise the directions was much more impressive than his sense of direction &#8211; we weren&#8217;t getting anywhere.</p>
<p>Cue the Policia Local, who &#8211; thankfully &#8211; were passing by on their way to do something clearly less important than help get some Brits to a resort.</p>
<p>Shortly thereafter, we roll up to the bottom of the steps outside reception and our Policia escort leaves us to enjoy the damp, dreary weather.</p>
<h2>When It Rains In Spain&#8230;</h2>
<p>&#8230; it gets a bit chilly too.</p>
<p>In fact, the weather was barely warmer than the UK and I could have gone to Brighton and been dryer. At least then I would have been able to use my iPhone to keep myself occupied, and not have to sell a kidney to pay for roaming data costs &#8211; but that&#8217;s another rant entirely.</p>
<p>So what do you do in Spain, in abnormally bad February weather, when the tennis court is under 2 inches of water, the jacuzzi is freezing, and the pool is like diving into gazpacho, just less tasty? Pick up British daytime telly on the satellite, of course! A few days &#8211; with the exception of a brief bus-ride into Marbella &#8211; were spent drinking tea, watching Jeremy Kyle blindly hurl big words at the bottom of the gene pool, and thinking about dinner.</p>
<h2>Olé!</h2>
<p>Flamenco dancing &#8211; it&#8217;s all stamping and clapping isn&#8217;t it?</p>
<p>Wrong! Theres much more to it than that. Much, much more indeed &#8211; there&#8217;s a shite-load of unnecessary fabric too! Like dancing in a curtain.</p>
<p>I&#8217;m not mocking the flamenco style, and I can totally understand the whole &#8216;big dress&#8217; thing, in that cancan sort of way, for the visual element that adds that little something extra to the movement and music to round off the whole experience, but surely there&#8217;s a limit?</p>
<p>For the most part, the show was genuinely very entertaining. However, in one of the solo sections, the dancer looked like she was attempting to awkwardly reverse park a wedding dress. It was just odd. If you nearly trip yourself up that many times in a two-minute routine, there&#8217;s got to be some part of your mind telling you it&#8217;s just plain ridiculous.</p>
<p>She managed to finish her routine with dress, and dignity, intact &#8211; then came the inevitable.</p>
<p>The usual &#8220;I really don&#8217;t care whether you want to or not, you&#8217;re going to make an arse out of yourself on this stage &#8230; now!&#8221; bit. Strangely, they chose to target the over-60s, dragging every old codger onto the stage one-by-one to humiliate them with a sequence of half-arsed stamping, clapping and spinning. It was like seeing <a title="Statler and Waldorf" href="http://www.youtube.com/watch?v=lhmjnYKlVnM" target="_blank">Statler and Waldorf</a> on Strictly Come Dancing &#8211; only much less amusing.</p>
<h2>Homeward Bound</h2>
<p>I&#8217;m not going to lie. I don&#8217;t really have a climactic finish to my ramble through the oddities of my week. Nothing much more than the first entirely dry day in Spain being the one with the early start to get to the airport. Oh, and landing at Heathrow nearly half an hour early and sitting on the plane for just as long because they didn&#8217;t have any steps ready.</p>
<p>To be fair, I&#8217;m fairly sure my ranting, disjointed writing would have made most give up before the bit about Señor Sat-Nav, so well done for reaching the end with your sanity intact.</p>
]]></content:encoded>
			<wfw:commentRss>http://notanorange.com/blog/personal/2010-a-spain-oddity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
