<?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>Pezholio &#187; stuff</title>
	<atom:link href="http://www.pezholio.co.uk/category/stuff/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pezholio.co.uk</link>
	<description>Musings on local government, web development, music and tings</description>
	<lastBuildDate>Mon, 25 Jul 2011 14:08:05 +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>Postcode to councillor in one easy step!</title>
		<link>http://www.pezholio.co.uk/2010/03/postcode-to-councillor-in-one-easy-step/</link>
		<comments>http://www.pezholio.co.uk/2010/03/postcode-to-councillor-in-one-easy-step/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 16:58:34 +0000</pubDate>
		<dc:creator>Pez</dc:creator>
				<category><![CDATA[Open Data]]></category>
		<category><![CDATA[stuff]]></category>

		<guid isPermaLink="false">http://www.pezholio.co.uk/?p=343</guid>
		<description><![CDATA[Finding out who your councillor is isn&#8217;t always easy is it? Even if you know which council provides your services, wards often have odd sounding names, and council websites don&#8217;t always have an easy postcode search. With this in mind, and now the Office of National Statistics have released a brand new API and because [...]]]></description>
			<content:encoded><![CDATA[<p>Finding out who your councillor is isn&#8217;t always easy is it? Even if you know which council provides your services, wards often have odd sounding names, and council websites don&#8217;t always have an easy postcode search. With this in mind, and now the <a href="http://neighbourhood.statistics.gov.uk/dissemination/Info.do?page=NDE.htm">Office of National Statistics have released a brand new API</a> and because I&#8217;ve got a day off looking after <a href="http://twitter.com/dotty_dog">my new puppy</a>, I decided to have a play and see if I could make it easier.</p>
<p>First I <a href="http://neighbourhood.statistics.gov.uk/HTMLDocs/downloads/QuickStart-Guide-V2.0.pdf">trawled through the documentation</a> to find the best API methods for my needs, it turns out that this URL did what I needed:</p>
<p><code>http://neighbourhood.statistics.gov.uk/NDE2/Disco/SearchSByAByPostcode?LevelTypeId=14&#038;Postcode=<strong>{POSTCODE}</strong></code></p>
<p>This basically asks the NeSS Data Exchange to return the details of a ward (which in Office of National Statistics language is level type ID 14) which a particular postcode is in. Helpfully, I don&#8217;t get the SNAC ID straight away (you&#8217;ll see why I need this later), so I have to get the ONS internal ID, and make another API call:</p>
<p><code>http://neighbourhood.statistics.gov.uk/NDE2/Disco/GetAreaDetail?AreaId=<strong>{AREA ID}</strong></code></p>
<p>This gives a whole bunch of extra info about the area, including the SNAC ID (which is called the ExtCode). Once I have that, I can then move across to OpenlyLocal, where I can get the councillor&#8217;s information:</p>
<p><code>http://openlylocal.com/wards/snac_id/<strong>SNAC ID</strong>.xml</code></p>
<p>Once I&#8217;ve got this info, I can then display it all, <a href="http://pezholio.co.uk/councillor.php?postcode=ws14+9sq">like so</a>! Obviously if the council isn&#8217;t on OpenlyLocal, then we can&#8217;t show their details, but we can say who their council is and what ward they&#8217;re in, and then, with a bit more jiggery pokery on the OpenlyLocal side, we can direct them to their local authority&#8217;s website, <a href="http://pezholio.co.uk/councillor.php?postcode=b463ld">like so</a>!</p>
<p><a href="http://pezholio.co.uk/councillor.php">Give it a try yourself</a>, and let me know any feedback in the ol&#8217; comments below. Obviously, this only shows your district council if you&#8217;re in a two tier council, but I&#8217;m working on getting county council info later <img src='http://www.pezholio.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>Oooh, it&#8217;s worth pointing out that you need a <a href="http://www.opsi.gov.uk/click-use/index.htm">PSI click-use licence </a> to publish the Data Exchange data on your own website, but it&#8217;s a doddle to apply for and goes live instantly!</p>
<p><strong>Update:</strong> I&#8217;ve published the code on <a href="http://github.com/pezholio/Who-is-my-councillor">Github</a> in case you want to see how I did it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pezholio.co.uk/2010/03/postcode-to-councillor-in-one-easy-step/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Barcode Posters &#8211; the second coming</title>
		<link>http://www.pezholio.co.uk/2009/11/barcode-posters-the-second-coming/</link>
		<comments>http://www.pezholio.co.uk/2009/11/barcode-posters-the-second-coming/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 17:11:11 +0000</pubDate>
		<dc:creator>Pez</dc:creator>
				<category><![CDATA[Council Stuff]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[stuff]]></category>
		<category><![CDATA[barcode]]></category>
		<category><![CDATA[urls]]></category>

		<guid isPermaLink="false">http://www.pezholio.co.uk/?p=292</guid>
		<description><![CDATA[With all this talk of data, and online, we can often lose sight of the real, physical world (as a certified iPhone addict, I know I do &#8211; there&#8217;s been a few times I&#8217;ve almost walked into a lampost due to me paying more attention to my phone than what&#8217;s going on in front of [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://chart.apis.google.com/chart?chs=125&#038;cht=qr&#038;chl=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DYu_moia-oVI" class="alignright" />With all this talk of data, and online, we can often lose sight of the real, physical world (as a certified iPhone addict, I know I do &#8211; there&#8217;s been a few times I&#8217;ve almost walked into a lampost due to me paying more attention to my phone than what&#8217;s going on in front of me!) &#8211; digital is all very well, but how do we link this in with real life?</p>
<p><a href="http://twitter.com/adrianshort">Adrian Short</a> (he of <a href="http://www.mashthestate.org.uk/">Mash the State</a> fame) recently blogged about <a href="http://mashthestate.wordpress.com/2009/09/28/guerilla-noticeboarding-the-council-with-barcode-posters/">his barcode posters site</a>, which allows you to change RSS feeds into printable documents with QR barcodes (those thingies above) attached to each article &#8211; people with smartphones that can read barcodes (iPhone, Android etc) can then scan the code and link directly to the article. It&#8217;s almost like hyperlinks for real life.</p>
<p>I&#8217;ve had this idea on the back burner for a while now, but after tweeting about seeing the first new style Ratemyplace (a website I run which publishes food safety scores online) poster &#8216;in the wild&#8217; &#8211; I got this reply:</p>
<script type="text/javascript" src="http://tweetpaste.thingamaweb.com/js/97845/"></script><noscript><iframe name="tp97845" id="tp97845" width="400" height="250" frameborder="0" src="http://tweetpaste.thingamaweb.com/embed/97845/" style="overflow: hidden; display: block; width: 400px; height: 250px;"><p><a href="http://tweetpaste.thingamaweb.com/embed/97845/" target="_blank">View tonypiper&rsquo;s tweet</a></p></iframe></noscript>
<p>This made me think &#8211; it&#8217;s a perfect fit for barcode posters &#8211; people can see the inspection certificate and scan the barcode to find more information. You can see an example of what I dun <a href="http://www.pezholio.co.uk/certificate.pdf" title="Example certificate with barcode">here</a></p>
<p>Now, I know what you&#8217;re thinking &#8211; &#8216;but generating images server side is hard! It&#8217;ll take me ages fiddling around with various libraries and I&#8217;ll be pulling my hair out with frustration!&#8217; &#8211; Not so &#8211; Thanks to the wonderful people at Google, all you need to do to generate a barcode for a given URL is this:</p>
<p><code>http://chart.apis.google.com/chart?chs=125&#038;cht=qr&#038;chl={url-goes-here}</code></p>
<p>You can then stick it in the src attribute of an IMG tag and display it on a page like so:</p>
<p><img src="http://chart.apis.google.com/chart?chs=125&#038;cht=qr&#038;chl=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DYu_moia-oVI" /></p>
<p>(Make sure you encode the URL of the website either on the server or using this <a href="http://www.albionresearch.com/misc/urlencode.php">handy online url encoder</a>.)</p>
<p>Simple innit? There&#8217;s more explanation of the whys and wherefores of QR barcodes on the <a href="http://www.barcodeposters.com/">Barcode posters website</a>. Now get out there and barcode! </p>
]]></content:encoded>
			<wfw:commentRss>http://www.pezholio.co.uk/2009/11/barcode-posters-the-second-coming/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Royal Mail calls striking workers &#8216;whiny&#8217; on Twitter. Sort of</title>
		<link>http://www.pezholio.co.uk/2009/10/royal-mail-calls-striking-workers-whiny-sort-of/</link>
		<comments>http://www.pezholio.co.uk/2009/10/royal-mail-calls-striking-workers-whiny-sort-of/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 10:05:43 +0000</pubDate>
		<dc:creator>Pez</dc:creator>
				<category><![CDATA[stuff]]></category>
		<category><![CDATA[royal mail]]></category>
		<category><![CDATA[social-media]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.pezholio.co.uk/?p=242</guid>
		<description><![CDATA[Now, I&#8217;m sure you&#8217;re fed up of me banging on about the Royal Mail, but bare with me, this isn&#8217;t about postcodes. Whilst idily surfing around Twitter using Tweetie 2 (which is awesome by the way), I thought I&#8217;d have a look at Royal Mail&#8217;s Twitter account to see if they&#8217;d had anything to say [...]]]></description>
			<content:encoded><![CDATA[<p>Now, I&#8217;m sure you&#8217;re fed up of me <a href="http://www.pezholio.co.uk/2009/10/one-step-forward-two-steps-back-ernest-marples-and-the-idiocy-of-the-royal-mail/">banging on</a> <a href="http://www.pezholio.co.uk/2009/10/royal-fail-part-2-lets-do-something/">about the Royal Mail</a>, but bare with me, this isn&#8217;t about postcodes.</p>
<p>Whilst idily surfing around Twitter using <a href="http://www.atebits.com/tweetie-iphone/">Tweetie 2</a> (which is awesome by the way), I thought I&#8217;d have a look at <a href="">Royal Mail&#8217;s Twitter account</a> to see if they&#8217;d had anything to say about the Ernest Marples postcode debacle. </p>
<p>Looking at their account, I noticed that they&#8217;d favourited a tweet, on closer inspection it appeared to be this:</p>
<p><a href="http://www.pezholio.co.uk/wp-content/uploads/2009/10/royalfail.png" title="Click for larger version"><img src="http://www.pezholio.co.uk/wp-content/uploads/2009/10/royalfail.png" alt="It is written into the CWU constitution that Royal Mail must go on strike once every 4 months. Whiny fucks." width="420" height="264" class="aligncenter size-full wp-image-243" /></a></p>
<p>Now, correct me if I&#8217;m wrong, when you favourite a tweet, you&#8217;re effectively validating the opinion of the tweeter and saying that you agree with it. </p>
<p>This is wholly unprofessional, and to write off the concerns of thousands of workers whose jobs are at risk by calling them &#8216;whiny fucks&#8217; is at best, clumsy, and at worst, insensitive &#8211; whatever you as an organisation think about the rights and wrongs of them striking.</p>
<p>I&#8217;m sure this will be attributed to the actions of an <a href="http://www.brandrepublic.com/News/915903/Habitat-blames-Twitter-faux-pas-intern/">over zealous intern</a>, but it really does highlight how you should tread carefully when on Twitter, especially if you&#8217;re a publicly owned organisation such as the Royal Mail.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pezholio.co.uk/2009/10/royal-mail-calls-striking-workers-whiny-sort-of/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>In the event of an attack&#8230;</title>
		<link>http://www.pezholio.co.uk/2009/09/in-the-event-of-an-attack/</link>
		<comments>http://www.pezholio.co.uk/2009/09/in-the-event-of-an-attack/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 18:05:14 +0000</pubDate>
		<dc:creator>Pez</dc:creator>
				<category><![CDATA[stuff]]></category>
		<category><![CDATA[advertising]]></category>
		<category><![CDATA[artwork]]></category>
		<category><![CDATA[retro]]></category>

		<guid isPermaLink="false">http://www.pezholio.co.uk/?p=166</guid>
		<description><![CDATA[I&#8217;m a big fan of 1950&#8242;s artwork, so imagine my joy when I come across this little beauty in a long forgotten box at work. It&#8217;s called &#8216;The Hydrogen Bomb&#8217; and (I assume) is from the early 50&#8242;s &#8211; some of the artwork is fantastic (especially the oh-so-helpful diagram telling you to sit under the [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.pezholio.co.uk/wp-content/uploads/2009/09/Untitled.jpg" alt="Underground bunker" title="Underground bunker" width="230" height="156" class="alignright size-full wp-image-167" />I&#8217;m a big fan of 1950&#8242;s artwork, so imagine my joy when I come across <a href="http://www.pezholio.co.uk/nuclear.pdf">this little beauty</a> in a long forgotten box at work.</p>
<p>It&#8217;s called &#8216;The Hydrogen Bomb&#8217; and (I assume) is from the early 50&#8242;s &#8211; some of the artwork is fantastic (especially the oh-so-helpful diagram telling you to sit under the stairs) and it&#8217;s a prime example of the &#8216;keep calm and carry on&#8217; ethos of the post war era.</p>
<p>&#8216;Cos I&#8217;m nice, I&#8217;ve scanned it and uploaded it for yis &#8211; and you can <a href="http://www.pezholio.co.uk/nuclear.pdf">download it here</a>.</p>
<p>We also came across a few tourism brochures from about the same period, which we&#8217;re hoping to get uploaded and scanned to the council site &#8211; my favourite bit is <a href="http://www.twitpic.com/h6n22">this advert, advertising the local area&#8217;s cheap and abundant supply of electricity</a>. Ah, the good old days!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pezholio.co.uk/2009/09/in-the-event-of-an-attack/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Local Trends on Twitter</title>
		<link>http://www.pezholio.co.uk/2009/07/local-trends-on-twitter/</link>
		<comments>http://www.pezholio.co.uk/2009/07/local-trends-on-twitter/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 13:45:13 +0000</pubDate>
		<dc:creator>Pez</dc:creator>
				<category><![CDATA[stuff]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[local]]></category>
		<category><![CDATA[trends]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.pezholio.co.uk/2009/07/local-trends-on-twitter/</guid>
		<description><![CDATA[I&#8217;ve been thinking recently about trending topics on Twitter and how it would be brilliant if there could be some kind of local trending system that picked up trends in a local area. Twitter already has location based searching, so it should be pretty trivial for a developer (albeit one with more skill than me) [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been thinking recently about trending topics on Twitter and how it would be brilliant if there could be some kind of local trending system that picked up trends in a local area. Twitter already has location based searching, so it should be pretty trivial for a developer (albeit one with more skill than me)</p>
<p>Step forward <a href="http://www.happn.in">happn.in</a>, which allows you to see trending topics based on a pre-defined list of cities. Birmingham (the UK one) <a href="http://happn.in/birm">has an entry</a>, so, after finding out the system had an <a href="http://api.happn.in">api</a>. I got cracking on playing with it.</p>
<p>The result is <a href="http://www.pezholio.co.uk/brumtrends.php">Brumtrends</a> (updated broken link, thanks to @prettysimple for pointing this out!) and it displays trending topics as a tag cloud with a lovely photo of Brum&#8217;s skyline. I knocked it up in about half an hour, so be kind!</p>
<p>I would like to expand on this, with maybe a widget for blogs, but, for now I&#8217;m taking a &#8216;wait and see&#8217; approach. At the moment it seems to only take a few tweets for something to trend, and trends don&#8217;t seem to change too often. Hopefully this will get better though, and this will grow into a really interesting insight into what&#8217;s going on in the Birmingham digital community.</p>
<p>* Please note: I wrote this post on the train using the WordPress iPhone app (just to see if I could more than anything!), so apologies for any dodgy typos!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pezholio.co.uk/2009/07/local-trends-on-twitter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oh, erm hi by the way!</title>
		<link>http://www.pezholio.co.uk/2009/02/oh-erm-hi-by-the-way/</link>
		<comments>http://www.pezholio.co.uk/2009/02/oh-erm-hi-by-the-way/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 14:54:25 +0000</pubDate>
		<dc:creator>Pez</dc:creator>
				<category><![CDATA[stuff]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[me]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[welcome]]></category>

		<guid isPermaLink="false">http://www.pezholio.co.uk/?p=27</guid>
		<description><![CDATA[Well well, how rude of me! Two blog posts and I&#8217;ve not introduced myself! Well, here I am (as you can see by the lovely photo). Things I am Local Authority Web Developer (for Lichfield District Council) Freelance web developer (Portfolio coming soon!) Drum and Bass DJ (Resident at Breakthru at the Factory Club) Lover [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://pezholio.co.uk/images/hello.jpg" style="float: right; margin: 0 0 10px 10px;" />Well well, how rude of me! Two blog posts and I&#8217;ve not introduced myself! Well, here I am (as you can see by the lovely photo).</p>
<h3>Things I am</h3>
<ul>
<li>Local Authority Web Developer (for <a href="http://www.lichfielddc.gov.uk/">Lichfield District Council)</a></li>
<li>Freelance web developer (Portfolio coming soon!)</li>
<li>Drum and Bass DJ (Resident at Breakthru at the <a href="http://www.factoryclub.co.uk/">Factory Club</a>)</li>
<li>Lover of real ale, whisky and good food</li>
</ul>
<h3>Things I do</h3>
<ul>
<li>Build websites</li>
<li>Write things</li>
<li>Mix other people&#8217;s records together</li>
<li>Keep hens</li>
<li>Have a inability to have photos taken of me without my mouth open</li>
</ul>
<p>I&#8217;m hoping to mainly update this blog with tutorials, thoughts and ideas about web development and social media in the local authority / government area, but I&#8217;ll also be sticking mixes up that I do occasionally and blogging about other general bits and bobs as I see fit.</p>
<p>If you think I sound like an interesting person, then please <a href="http://www.twitter.com/pezholio">follow me on Twitter</a>, and, if I like the look of you, I&#8217;ll follow back! (Twitter policy coming soon folks!)</p>
<p>Anyways, hope you enjoy my corner of the ol&#8217; world wide web, and I hope to be giving you lots on interesting content on a (semi) regular basis</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pezholio.co.uk/2009/02/oh-erm-hi-by-the-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

