<?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>David Preston</title>
	<atom:link href="http://dpreston.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://dpreston.com</link>
	<description>It&#039;s my blog, and I&#039;ll write what I like!</description>
	<lastBuildDate>Fri, 25 May 2012 17:28:07 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
		<item>
		<title>Prime Minister Follows Parody Darth Vader On Twitter</title>
		<link>http://dpreston.com/prime-minister-follows-parody-darth-vader/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=prime-minister-follows-parody-darth-vader</link>
		<comments>http://dpreston.com/prime-minister-follows-parody-darth-vader/#comments</comments>
		<pubDate>Fri, 25 May 2012 17:28:07 +0000</pubDate>
		<dc:creator>davepreston</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dpreston.com/?p=88</guid>
		<description><![CDATA[I&#8217;m not sure if this is good, bad, cool, uncool or just plain weird. The official Twitter account of the British Prime Minister follows a spoof Darth Vader account! Well, I suppose Cameron is something of a parody of a Prime Minister anyway, so why not?]]></description>
			<content:encoded><![CDATA[<p><a href="http://dpreston.com/wp-content/uploads/25052012-181305.jpg"><img class="alignleft size-medium wp-image-90" title="25052012-181305" src="http://dpreston.com/wp-content/uploads/25052012-181305-246x300.jpg" alt="Twitter screenshot" width="246" height="300" /></a>I&#8217;m not sure if this is good, bad, cool, uncool or just plain weird. The <a title="Prime Minister's Twitter account" href="https://twitter.com/#!/Number10gov">official Twitter account of the British Prime Minister</a> follows a spoof <a title="Darth Vader on Twitter" href="https://twitter.com/#!/darthvader">Darth Vader</a> account!</p>
<p>Well, I suppose Cameron is something of a parody of a Prime Minister anyway, so why not?</p>
]]></content:encoded>
			<wfw:commentRss>http://dpreston.com/prime-minister-follows-parody-darth-vader/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Favicon Update</title>
		<link>http://dpreston.com/favicon-update/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=favicon-update</link>
		<comments>http://dpreston.com/favicon-update/#comments</comments>
		<pubDate>Sun, 20 May 2012 14:17:42 +0000</pubDate>
		<dc:creator>davepreston</dc:creator>
				<category><![CDATA[This Blog]]></category>

		<guid isPermaLink="false">http://dpreston.com/?p=77</guid>
		<description><![CDATA[Further to my aside about the Denver Posts&#8217;s favicon, I finally got round to making my own. And it looks like theirs. But isn&#8217;t.]]></description>
			<content:encoded><![CDATA[<p>Further to my aside about the Denver Posts&#8217;s favicon, I finally got round to making my own. And it looks like theirs. But isn&#8217;t.</p>
]]></content:encoded>
			<wfw:commentRss>http://dpreston.com/favicon-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>And There Was I thinking I Was Being Original&#8230;</title>
		<link>http://dpreston.com/and-there-was-i-thinking-i-was-being-original/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=and-there-was-i-thinking-i-was-being-original</link>
		<comments>http://dpreston.com/and-there-was-i-thinking-i-was-being-original/#comments</comments>
		<pubDate>Tue, 15 May 2012 17:25:15 +0000</pubDate>
		<dc:creator>davepreston</dc:creator>
				<category><![CDATA[This Blog]]></category>

		<guid isPermaLink="false">http://dpreston.com/?p=72</guid>
		<description><![CDATA[Just noticed the Denver Posts&#8216;s favicon is just like my logo. Well, we do have the same initials. And they were probably around before me. So I won&#8217;t sue.]]></description>
			<content:encoded><![CDATA[<p>Just noticed the <a title="Denver Post" href="http://www.denverpost.com/" target="_blank">Denver Posts</a>&#8216;s favicon is just like my logo. Well, we do have the same initials. And they were probably around before me. So I won&#8217;t sue.</p>
]]></content:encoded>
			<wfw:commentRss>http://dpreston.com/and-there-was-i-thinking-i-was-being-original/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tidying &amp; Formatting Postal Addresses in PHP</title>
		<link>http://dpreston.com/tidying-formatting-postal-addresses-in-php/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tidying-formatting-postal-addresses-in-php</link>
		<comments>http://dpreston.com/tidying-formatting-postal-addresses-in-php/#comments</comments>
		<pubDate>Tue, 08 May 2012 16:19:22 +0000</pubDate>
		<dc:creator>davepreston</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://dpreston.com/?p=59</guid>
		<description><![CDATA[A couple of times in the course of my job, I&#8217;ve needed to tidy-up user input of postal addresses, usually when importing from an external database into a web application or taking input from a web form. It looks horrible when everything is in upper or lower case. PHP has strtoupper(), strtolower() and ucasewords() functions, [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of times in the course of my job, I&#8217;ve needed to tidy-up user input of postal addresses, usually when importing from an external database into a web application or taking input from a web form. It looks horrible when everything is in upper or lower case.</p>
<p>PHP has <code>strtoupper(),</code> <code>strtolower()</code> and <code>ucasewords()</code> functions, but none of these does just what I needed. Googling found a few attempts to solve the same problem, and I&#8217;ve probably pinched bits of code from various places. If I&#8217;ve pinched some of yours, let me know and I&#8217;ll acknowledge your contribution. Hence the function below.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> address_tidy<span style="color: #009900;">&#40;</span><span style="color: #000088;">$text</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$text</span> <span style="color: #339933;">=</span> <span style="color: #990000;">trim</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$text</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$text</span> <span style="color: #339933;">=</span> <span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'\r'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> <span style="color: #000088;">$text</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$text</span> <span style="color: #339933;">=</span> <span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'\n'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> <span style="color: #000088;">$text</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$words</span> <span style="color: #339933;">=</span> <span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">' '</span><span style="color: #339933;">,</span> <span style="color: #000088;">$text</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$words</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$word</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$word</span> <span style="color: #339933;">=</span> <span style="color: #990000;">ucfirst</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">strtolower</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$word</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #666666; font-style: italic;">//Specials like Mac, Mc etc</span>
		<span style="color: #000088;">$specials</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Mac'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'Mc'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'O\''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$specials</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$special</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #000088;">$pos</span> <span style="color: #339933;">=</span> <span style="color: #990000;">stripos</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$word</span><span style="color: #339933;">,</span> <span style="color: #000088;">$special</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$pos</span> <span style="color: #339933;">!==</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$pos</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
				<span style="color: #000088;">$parts</span> <span style="color: #339933;">=</span> <span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$special</span><span style="color: #339933;">,</span> <span style="color: #000088;">$word</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
				<span style="color: #000088;">$word</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$special</span> <span style="color: #339933;">.</span> <span style="color: #990000;">ucfirst</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$parts</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #009900;">&#125;</span>
		<span style="color: #009900;">&#125;</span>
		<span style="color: #666666; font-style: italic;">//...but not for some words that begin with 'Mac' </span>
		<span style="color: #666666; font-style: italic;">// (make your own mind up about Macintosh, Maclure &amp; Maclaren)</span>
		<span style="color: #000088;">$specials</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'macken'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'macclesfield'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'machynlleth'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">in_array</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">strtolower</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$word</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$specials</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #000088;">$word</span> <span style="color: #339933;">=</span> <span style="color: #990000;">ucfirst</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">strtolower</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$word</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
		<span style="color: #666666; font-style: italic;">//Let's go lower case on some words</span>
		<span style="color: #000088;">$specials</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'de'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'la'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'le'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'on'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'of'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'and'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'under'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'upon'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">in_array</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">strtolower</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$word</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$specials</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #000088;">$word</span> <span style="color: #339933;">=</span> <span style="color: #990000;">strtolower</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$word</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #b1b100;">return</span> <span style="color: #990000;">implode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">' '</span><span style="color: #339933;">,</span> <span style="color: #000088;">$words</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>Here&#8217;s a quick run-down of what it does when you feed it a string&#8230;</p>
<p>Lines 4, 5 &#038; 6 just strip white-space from either end of the string and remove any line breaks and newlines.</p>
<p>Line 7 breaks the string into words on space characters and the loop from line 8 to line 18 deals with each word, one at a time.</p>
<p>Line 9 does most of the work, converting the word first to lower case and then capitalising it, which is great for the vast majority of words, but what about Scottish and Irish names?</p>
<p>That&#8217;s what lines 11-17 deal with. Essentially, presented with a list of prefixes declared as <code>$specials</code> at line 11 (which you can add to if needed), we then find any words that begin with those prefixes and capitalise the fragment of word following. Example &#8211; the word being processed arrives at line 12 as &#8216;Macdonald&#8217;, and the code goes through each of the &#8216;specials&#8217; to see if our word starts with the prefix. It does in the case of &#8216;Mac&#8217;, so we capitalise &#8216;donald&#8217; and put the two fragments back together as &#8216;MacDonald&#8217;.</p>
<p>But that messes up &#8216;Macclesfield&#8217;, making it &#8216;MacClesfield&#8217;, so lines 21-24 undo what we just did for another list of &#8216;specials&#8217;, which you can also add to if you wish.</p>
<p>Lines 26-29 just make some shorter words (are they conjunctions?) into lower case, so you and up with &#8216;Walton le Dale&#8217; or &#8216;Stratford upon Avon&#8217;.</p>
<p>Then we put the text back together and return it at line 31. Easy.</p>
<p>Help yourself if you find this function useful. Any links back or other acknowledgements would be more than welcome, but aren&#8217;t necessary.</p>
<p>Leave a comment if you find any bugs, or you think you can improve my code.</p>
]]></content:encoded>
			<wfw:commentRss>http://dpreston.com/tidying-formatting-postal-addresses-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Developer&#8217;s CMS</title>
		<link>http://dpreston.com/a-developers-cms/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=a-developers-cms</link>
		<comments>http://dpreston.com/a-developers-cms/#comments</comments>
		<pubDate>Fri, 27 Apr 2012 17:33:49 +0000</pubDate>
		<dc:creator>davepreston</dc:creator>
				<category><![CDATA[ProcessWire]]></category>

		<guid isPermaLink="false">http://dpreston.com/?p=51</guid>
		<description><![CDATA[I have used CMSs (Content Management Systems) for years, mainly Joomla, but also others. I don&#8217;t consider WordPress a CMS, but that&#8217;s just me. Anyhow, I came across a new (to me, anyway) one a few weeks ago that has very quickly become my favourite. It is called ProcessWire, and it is unusual because it [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-53" title="ProcessWire" src="http://dpreston.com/wp-content/uploads/PW-screenshot.jpg" alt="ProcessWire" width="350" height="192" />I have used CMSs (Content Management Systems) for years, mainly <a title="Joomla" href="http://www.joomla.org/" target="_blank">Joomla</a>, but also others. I don&#8217;t consider WordPress a CMS, but that&#8217;s just me. Anyhow, I came across a new (to me, anyway) one a few weeks ago that has very quickly become my favourite.</p>
<p>It is called <a title="ProcessWire CMS" href="http://processwire.com/" target="_blank">ProcessWire</a>, and it is unusual because it has <em>no</em> front end. (The download comes with an example front end, but there is no requirement to use it.) So we PHP and CSS dabblers can have a field day! All the ProcessWire CMS (or content management <em>framework</em>) does is look after the back end organisation of fields into pages and pages into a hierarchy. It does a great deal more than that but click the link and read more there.</p>
<p>Every time I use ProcessWire I find new delights, whether in the way it makes data available for front end display or in the control it gives of data in the back end, and the community, though quite small, is knowledgeable, friendly and helpful. I could go on at great length, but get over there and find out for yourself!</p>
]]></content:encoded>
			<wfw:commentRss>http://dpreston.com/a-developers-cms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache Basic Authentication Username in Raw Access Logs</title>
		<link>http://dpreston.com/apache-basic-authentication-username-in-raw-access-logs/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=apache-basic-authentication-username-in-raw-access-logs</link>
		<comments>http://dpreston.com/apache-basic-authentication-username-in-raw-access-logs/#comments</comments>
		<pubDate>Tue, 27 Mar 2012 15:56:28 +0000</pubDate>
		<dc:creator>davepreston</dc:creator>
				<category><![CDATA[Web Technology]]></category>

		<guid isPermaLink="false">http://dpreston.com/?p=45</guid>
		<description><![CDATA[Here&#8217;s something that might be so blindingly obvious to everyone else in the world that I look like a jerk for talking about it, but I couldn&#8217;t find the answer by searching Google, so I&#8217;m going to share it anyway. We are developing a web project at work that I can&#8217;t talk about yet, but [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s something that might be so blindingly obvious to everyone else in the world that I look like a jerk for talking about it, but I couldn&#8217;t find the answer by searching Google, so I&#8217;m going to share it anyway.</p>
<p>We are developing a web project at work that I can&#8217;t talk about yet, but the boss wanted to email a link and login details (the site is protected by <a title="Apache Basic Authentication" href="http://httpd.apache.org/docs/2.0/howto/auth.html" target="_blank">Apache&#8217;s Basic Authentication</a>, you know, where a username and password box comes up before you can access a site or directory) to a potential partner. And we wanted to be able to check if they had used the information and visited the site.</p>
<p>Well, after much unsuccessful Googling, I noticed that the logged-in username is right there in the raw access log, just after the IP address of the visitor. So all I needed to do was create a new username/password pair just for them and we can see if they drop by.</p>
]]></content:encoded>
			<wfw:commentRss>http://dpreston.com/apache-basic-authentication-username-in-raw-access-logs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Synchronisity</title>
		<link>http://dpreston.com/synchronisity/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=synchronisity</link>
		<comments>http://dpreston.com/synchronisity/#comments</comments>
		<pubDate>Tue, 28 Feb 2012 17:29:02 +0000</pubDate>
		<dc:creator>davepreston</dc:creator>
				<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://dpreston.com/?p=39</guid>
		<description><![CDATA[I love coincidences. There was I, making some icons for a website I&#8217;m working on at work, when I noticed this one. The icon is to indicate that somewhere is open all year, and the file size? 365 bytes, naturally.]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-40" title="" src="http://dpreston.com/wp-content/uploads/synchronicity.png" alt="Coincidence" width="316" height="237" />I love coincidences. There was I, making some icons for a website I&#8217;m working on at work, when I noticed this one.</p>
<p>The icon is to indicate that somewhere is open all year, and the file size? 365 bytes, naturally.</p>
]]></content:encoded>
			<wfw:commentRss>http://dpreston.com/synchronisity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Whoops</title>
		<link>http://dpreston.com/whoops/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=whoops</link>
		<comments>http://dpreston.com/whoops/#comments</comments>
		<pubDate>Tue, 28 Feb 2012 17:22:48 +0000</pubDate>
		<dc:creator>davepreston</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://dpreston.com/?p=37</guid>
		<description><![CDATA[Whoops, messing about with the minify settings in W3 Total Cache and broke the CSS. Fixed now.]]></description>
			<content:encoded><![CDATA[<p>Whoops, messing about with the minify settings in <a title="W3 Total Cache" href="http://wordpress.org/extend/plugins/w3-total-cache/" target="_blank">W3 Total Cache</a> and broke the CSS. Fixed now.</p>
]]></content:encoded>
			<wfw:commentRss>http://dpreston.com/whoops/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Photo Experiment</title>
		<link>http://dpreston.com/photo-experiment/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=photo-experiment</link>
		<comments>http://dpreston.com/photo-experiment/#comments</comments>
		<pubDate>Fri, 24 Feb 2012 16:36:59 +0000</pubDate>
		<dc:creator>davepreston</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dpreston.com/?p=24</guid>
		<description><![CDATA[This is a bit of a mystery. This old photo is on the wall in my local, the White Bull, in Chorley, but nobody knows where the photo was taken. It&#8217;s obviously old, and looks to be of the laying of some tram tracks, but Chorley never had trams, so it isn&#8217;t here. Any ideas? [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://dpreston.com/wp-content/uploads/DSC00139-sized.jpg"><img class="size-thumbnail wp-image-27 alignleft" title="Mystery picture" src="http://dpreston.com/wp-content/uploads/DSC00139-sized-150x150.jpg" alt="Mystery picture" width="150" height="150" /></a>This is a bit of a mystery. This old photo is on the wall in my local, the White Bull, in Chorley, but nobody knows where the photo was taken.</p>
<p>It&#8217;s obviously old, and looks to be of the laying of some tram tracks, but Chorley never had trams, so it isn&#8217;t here. Any ideas?</p>
<p>(This is also an experiment with another post type, but the question above still stands.)</p>
]]></content:encoded>
			<wfw:commentRss>http://dpreston.com/photo-experiment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Carling Cup Final</title>
		<link>http://dpreston.com/carling-cup-final/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=carling-cup-final</link>
		<comments>http://dpreston.com/carling-cup-final/#comments</comments>
		<pubDate>Fri, 24 Feb 2012 15:22:47 +0000</pubDate>
		<dc:creator>davepreston</dc:creator>
				<category><![CDATA[Liverpool FC]]></category>

		<guid isPermaLink="false">http://dpreston.com/?p=22</guid>
		<description><![CDATA[I can safely say that I&#8217;m looking forward to the Carling Cup Final on Sunday as much as I&#8217;ve looked forward to a Liverpool game for many a long while. (And this is also a chance to experiment with different post formats!)]]></description>
			<content:encoded><![CDATA[<p>I can safely say that I&#8217;m looking forward to the Carling Cup Final on Sunday as much as I&#8217;ve looked forward to a Liverpool game for many a long while.</p>
<p>(And this is also a chance to experiment with different post formats!)</p>
]]></content:encoded>
			<wfw:commentRss>http://dpreston.com/carling-cup-final/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Database Caching using disk: basic

Served from: dpreston.com @ 2013-06-08 00:29:04 -->