<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Pezholio</title>
	
	<link>http://www.pezholio.co.uk</link>
	<description>Musings on local government, web development, music and tings</description>
	<lastBuildDate>Mon, 06 Sep 2010 11:18:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/pezholioblog" /><feedburner:info uri="pezholioblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>First steps to councils publishing their own linked data</title>
		<link>http://feedproxy.google.com/~r/pezholioblog/~3/J72fVRekMB4/</link>
		<comments>http://www.pezholio.co.uk/2010/09/council-linked-data/#comments</comments>
		<pubDate>Mon, 06 Sep 2010 11:17:33 +0000</pubDate>
		<dc:creator>Pez</dc:creator>
				<category><![CDATA[Council Stuff]]></category>
		<category><![CDATA[Open Data]]></category>
		<category><![CDATA[linked data]]></category>
		<category><![CDATA[ontologies]]></category>
		<category><![CDATA[uris]]></category>

		<guid isPermaLink="false">http://www.pezholio.co.uk/?p=390</guid>
		<description><![CDATA[On Friday, I toddled along to London for a bit of a chat about local spending data, organised by LeGSB, the local government e-Standards body. In particular we looked at how councils can publish their spending data in a linked data format. It was an interesting day, and much of the work seems to have [...]]]></description>
			<content:encoded><![CDATA[<p>On Friday, I toddled along to London for a bit of a chat about local spending data, organised by <a href="http://www.legsb.gov.uk/Home.aspx">LeGSB</a>, the local government e-Standards body. In particular we looked at how councils can publish their spending data in a linked data format. It was an interesting day, and much of the work seems to have already been done by folks much cleverer than myself.</p>
<p>However, at the end of the day, Paul Davidson (the Director of Standards at LeGSB) raised an interesting topic. At the moment, much of the <em>describing</em> of councils in the linked data world seems to be done by external bodies, such as <a href="http://statistics.data.gov.uk">The Office for National Statistics</a> and <a href="http://data.ordnancesurvey.co.uk">Ordnance Survey</a>, and often, this isn&#8217;t always the best fit, with the data referring to geographical regions, rather than councils themselves.</p>
<p>Paul then made the point that really, it should be the councils themselves that describe who they are, rather than some arbitrary body, after all, there is no one better placed to know about the council than the council themselves! We then talked very briefly about the possibility of councils minting their own URIs and publishing some RDF with some information about themselves (such as contact details etc). Other organisations and people can then use these URIs to refer to the councils in their data.</p>
<p>I&#8217;ve been mulling this over over the weekend, and I fired off an email this morning suggesting that, rather than publishing a page of RDF, people simply add data to their council homepages, either as RDFa or metadata (although I&#8217;m not sure how you&#8217;d do the latter!). People could then use their council homepage URLs as URIs (perhaps with #id at the end of the URI, to make the URI for the council different to the one for the page).</p>
<p>With this in mind I&#8217;ve knocked up a sample dataset for Lichfield District Council using various ontologies from around the linked data web (including FOAF, vCard, Chris Taggart&#8217;s Openly Local ontology and a bit of the <a href="http://www.epimorphics.com/public/vocabulary/org.html">Organizational (sic) Ontology</a>). I&#8217;ve also <a href="http://sameas.org/">sameAs</a>ed to the <a href="http://statistics.data.gov.uk/">National Statistics Dataset</a>, <a href="http://openlylocal.com/">Openly Local</a> and <a href="http://openlylocal.com/">DBpedia</a>:</p>
<p><code><br />
&lt;?xml version=&quot;1.0&quot;?&gt;<br />
&lt;rdf:RDF xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;<br />
  xmlns:skos=&quot;http://www.w3.org/2004/02/skos/core#&quot;<br />
  xmlns:rdfs=&quot;http://www.w3.org/2000/01/rdf-schema#&quot;<br />
  xmlns:owl=&quot;http://www.w3.org/2002/07/owl#&quot;<br />
  xmlns:foaf=&quot;http://xmlns.com/foaf/0.1/&quot;<br />
  xmlns:dct=&quot;http://purl.org/dc/terms/&quot;<br />
  xmlns:vcard=&quot;http://www.w3.org/2006/vcard/ns#&quot;<br />
  xmlns:administrative-geography=&quot;http://statistics.data.gov.uk/def/administrative-geography/&quot;<br />
  xmlns:openlylocal=&quot;http://openlylocal.com/info/vocab#&quot;<br />
  xmlns:org=&quot;http://www.w3.org/ns/org#&quot;&gt;<br />
&lt;rdf:Description rdf:about=&quot;http://www.lichfielddc.gov.uk/#id&quot;&gt;<br />
        &lt;rdfs:label&gt;Lichfield District Council&lt;/rdfs:label&gt;<br />
        &lt;vcard:organisation-name&gt;Lichfield District Council&lt;/vcard:organisation-name&gt;<br />
        &lt;rdf:type rdf:resource=&quot;openlylocal:DistrictAuthority&quot;/&gt;<br />
        &lt;rdf:type rdf:resource=&quot;org:FormalOrganization&quot;/&gt;<br />
        &lt;skos:notation rdf:datatype=&quot;http://statistics.data.gov.uk/def/administrative-geography//StandardCode&quot;&gt;41UD&lt;/skos:notation&gt;<br />
        &lt;foaf:mbox&gt;enquiries@lichfielddc.gov.uk&lt;/foaf:mbox&gt;<br />
        &lt;foaf:homepage rdf:resource=&quot;http://www.lichfielddc.gov.uk&quot;/&gt;<br />
        &lt;foaf:phone rdf:resource=&quot;tel:+44-1543-308999&quot;/&gt;<br />
    &lt;foaf:holdsAccount&gt;<br />
      &lt;foaf:OnlineAccount rdf:about=&quot;http://twitter.com/Lichfield_DC&quot;&gt;<br />
        &lt;foaf:accountServiceHomepage rdf:resource=&quot;http://twitter.com/&quot;/&gt;<br />
        &lt;foaf:accountName&gt;Lichfield_DC&lt;/foaf:accountName&gt;<br />
      &lt;/foaf:OnlineAccount&gt;<br />
    &lt;/foaf:holdsAccount&gt;<br />
    &lt;foaf:holdsAccount&gt;<br />
      &lt;foaf:OnlineAccount rdf:about=&quot;http://www.facebook.com/lichfielddc&quot;&gt;<br />
        &lt;foaf:accountServiceHomepage rdf:resource=&quot;http://www.facebook.com/&quot;/&gt;<br />
        &lt;foaf:accountName&gt;Lichfield District Council&lt;/foaf:accountName&gt;<br />
      &lt;/foaf:OnlineAccount&gt;<br />
    &lt;/foaf:holdsAccount&gt;<br />
    &lt;vcard:ADR rdf:parseType=&quot;Resource&quot;&gt;<br />
      &lt;vcard:Extadd&gt;District Council House, Frog Lane, Lichfield WS13 6YY&lt;/vcard:Extadd&gt;<br />
      &lt;vcard:Country&gt;England&lt;/vcard:Country&gt;<br />
      &lt;vcard:postal-code rdf:resource=&quot;http://www.uk-postcodes.com/postcode/WS136YY.rdf&quot; /&gt;<br />
    &lt;/vcard:ADR&gt;<br />
        &lt;administrative-geography:coverage rdf:resource=&quot;http://data.ordnancesurvey.co.uk/id/7000000000014797&quot;/&gt;<br />
        &lt;owl:sameAs rdf:resource=&quot;http://statistics.data.gov.uk/id/local-authority-district/41UD&quot;/&gt;<br />
        &lt;owl:sameAs rdf:resource=&quot;http://openlylocal.com/councils/156.rdf&quot;/&gt;<br />
        &lt;owl:sameAs rdf:resource=&quot;http://dbpedia.org/resource/Lichfield_%28district%29&quot;/&gt;<br />
&lt;/rdf:Description&gt;<br />
&lt;/rdf:RDF&gt;<br />
</code></p>
<p>It&#8217;s not perfect, but it&#8217;s a start, there&#8217;s 24 triples there and I&#8217;m sure there could be more. Only problem is, I&#8217;m not a linked data expert, so I&#8217;m looking for a bit of feedback both on what I&#8217;ve done, but also what I could add &#8211; For example, I could add the chief executive and leader of the council &#8211; but I&#8217;m not sure how I&#8217;d do it!</p>
<p>Feedback from non-linked data experts is welcome too &#8211; especially those at the coal face of local gov &#8211; if there was a step by step guide to doing this, could you do it? (i.e. have you got access to add metadata to your homepage) and, more importantly, would you do it?</p>
<img src="http://feeds.feedburner.com/~r/pezholioblog/~4/J72fVRekMB4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.pezholio.co.uk/2010/09/council-linked-data/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.pezholio.co.uk/2010/09/council-linked-data/</feedburner:origLink></item>
		<item>
		<title>A Local Spending Data Brain Splurge</title>
		<link>http://feedproxy.google.com/~r/pezholioblog/~3/IXt9VCOPnEk/</link>
		<comments>http://www.pezholio.co.uk/2010/08/local-spending-data-a-few-ideas/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 13:40:49 +0000</pubDate>
		<dc:creator>Pez</dc:creator>
				<category><![CDATA[Council Stuff]]></category>
		<category><![CDATA[Open Data]]></category>

		<guid isPermaLink="false">http://www.pezholio.co.uk/?p=384</guid>
		<description><![CDATA[Today I was at a &#8216;quick and dirty&#8217; local spending data workshop at Birmingham City Council&#8217;s newly refurbished offices on Lancaster Circus. There&#8217;ll be more detailed info to come on the Local Open Data Community (login required), but I just wanted to blog a few of my thoughts post the meeting.
There was a lot of [...]]]></description>
			<content:encoded><![CDATA[<p>Today I was at a &#8216;quick and dirty&#8217; local spending data workshop at Birmingham City Council&#8217;s newly refurbished offices on Lancaster Circus. There&#8217;ll be more detailed info to come on the <a href="http://www.communities.idea.gov.uk/c/3916997/home.do">Local Open Data Community</a> (login required), but I just wanted to blog a few of my thoughts post the meeting.</p>
<p>There was a lot of talk about what other councils have done (such as Windsor and Maidenhead, Barnet, Islington etc), and it was agreed that there was a lot of difference in how the data was presented, Paul Davidson also talked about some of the work that the <a href="http://www.legsb.gov.uk/">Local eGovernment Standards Body</a> had done regarding getting spending data out there in a linked data format. There did seem to be a bit of resistance to the linked data approach, mainly because agreeing standards seems to be a long, drawn out process, which is counter to the JFDI approach of publishing local data.</p>
<p>However, while I am a fan of the possibilities of linked data, I also recognise that there are difficulties in both publishing the data and also working with it. For example, I think it&#8217;s unrealistic to expect every local authority to maintain a triple store to publish their spending data. As we learned from the local elections project, often local authorities don&#8217;t even have people who are competent in HTML, let alone RDF, SPARQL etc.</p>
<p>Therefore, I think the way forward is a centralised approach, with authorities publishing CSVs in a standard format on their website and some kind of system picking up these CSVs (say, on a monthly basis) and converting this data to a linked data format (as well as publishing in vanilla XML, JSON and CSV format). </p>
<p>The great thing about the linked data approach is it will mean that each item of spending can have its own URI &#8211; e.g.</p>
<p><code>http://localspending.data.gov.uk/41UD/12345</code></p>
<p>(The first part of the URI would be the SNAC code for the authority, and then the second part of the URI would be the internal reference number)</p>
<p>As well as having a human-readable summary of the data (together with links to the actual data in RDF, XML, CSV and JSON), there would be a comments box (similar to <a href="http://twitter.com/adrianshort">Adrian Short&#8217;s</a> fantastic <a href="http://armchairauditor.co.uk/">Armchair Auditor</a>), as well as the ability to ask any questions about an item of expenditure &#8211; the answers to these questions would then be automatically published next to the item of spend (hopefully helping to cut down on multiple FOI requests).</p>
<p>While this may be a bit of a pie in the sky idea, I do feel that there does need to be some kind of effort on the part of central government to help move this project along, as we&#8217;ve seen already (naming no names!) some authorities have got it drastically wrong, and while there is definitely mileage in the &#8216;just get it out there&#8217; approach, I think if we&#8217;re going to end up with something *really* useful (for both members of the public and local authorities), we need to get the data in one place.</p>
<p>Thoughts?</p>
<img src="http://feeds.feedburner.com/~r/pezholioblog/~4/IXt9VCOPnEk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.pezholio.co.uk/2010/08/local-spending-data-a-few-ideas/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		<feedburner:origLink>http://www.pezholio.co.uk/2010/08/local-spending-data-a-few-ideas/</feedburner:origLink></item>
		<item>
		<title>Further adventures in SPARQL</title>
		<link>http://feedproxy.google.com/~r/pezholioblog/~3/WF1vuaguj-g/</link>
		<comments>http://www.pezholio.co.uk/2010/07/further-adventures-in-sparql/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 15:18:23 +0000</pubDate>
		<dc:creator>Pez</dc:creator>
				<category><![CDATA[Open Data]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[national statistics]]></category>
		<category><![CDATA[ordnance survey]]></category>
		<category><![CDATA[parishes]]></category>
		<category><![CDATA[sparql]]></category>
		<category><![CDATA[wards]]></category>

		<guid isPermaLink="false">http://www.pezholio.co.uk/?p=374</guid>
		<description><![CDATA[It&#8217;s been a while since my last blog post, and after a request from Twitter, I thought it might be time to dust off Wordpress and do a quick blog post. Since we last spoke, UK Postcodes (the postcodes webservice I blogged about a few blog posts back) has been plodding along nicely and, as [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since my last blog post, and <a href="http://twitter.com/abeeken/status/18123920325">after a request from Twitter</a>, I thought it might be time to dust off Wordpress and do a quick blog post. Since we last spoke, <a href="http://www.uk-postcodes.com/">UK Postcodes</a> (the postcodes webservice I blogged about a few blog posts back) has been plodding along nicely and, as a natural tinkerer, I&#8217;ve been tinkering ever since. </p>
<p>I&#8217;ve sped up request times considerably, and wanted to add the ability to get parliamentary constituencies from a Postcode &#8211; originally, I was using the <a href="http://www.theyworkforyou.com/api/">TheyWorkForYou API</a>, which, while useful, didn&#8217;t return a National Statistics or Ordnance Survey URI / ID, so I got to thinking about how I could SPARQL this using the <a href="http://statistics.data.gov.uk/">National Statistics Endpoint</a>, after some exploration, I noticed that district wards were always inside one parliamentary consituency, so thanks to some linked data knowledge (helpfully pumped into my brain at a two-day training course at Talis a few weeks back), I got to writing a SPARQL query, which you can see below (using the SNAC ID for Coleshill South Ward, where I live):</p>
<pre>
PREFIX rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
PREFIX administrative-geography: &lt;http://statistics.data.gov.uk/def/administrative-geography/&gt;
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX skos: &lt;http://www.w3.org/2004/02/skos/core#&gt;
PREFIX electoral-geography: &lt;http://statistics.data.gov.uk/def/electoral-geography/&gt;

SELECT ?ward ?label ?constituency ?constituencyname
WHERE {
?ward
a &lt;http://data.ordnancesurvey.co.uk/ontology/admingeo/Ward&gt; .
?ward skos:notation &quot;44UBGC&quot;^^administrative-geography:StandardCode .
?ward rdfs:label ?label .
?ward electoral-geography:parliamentaryConstituency ?constituency .
?constituency skos:prefLabel ?constituencyname ;
}
LIMIT 1
</pre>
<p>This query basically asks for the URI and name of a ward with a specific SNAC ID, as well as the constiuency&#8217;s URI and name. <a href="http://www.uk-postcodes.com/postcode/B463LD">I&#8217;ve now added this to UK Postcodes</a>.</p>
<p>But I haven&#8217;t stopped there, oh no! The next step is to get parishes. Again, ward and parish boundaries don&#8217;t overlap, so I&#8217;ve used another (slightly more complex) SPARQL query to find out what parish a ward is inside, this time using the <a href="http://api.talis.com/stores/ordnance-survey/services/sparql">Ordnance Survey Endpoint</a>:</p>
<pre>
PREFIX rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
PREFIX spatialrelations: &lt;http://data.ordnancesurvey.co.uk/ontology/spatialrelations/&gt;
PREFIX admingeo: &lt;http://data.ordnancesurvey.co.uk/ontology/admingeo/&gt;

SELECT ?parish ?parishcode ?ward ?label
WHERE {
?ward a &lt;http://data.ordnancesurvey.co.uk/ontology/admingeo/DistrictWard&gt; .
?ward admingeo:hasCensusCode &quot;44UBGB&quot; .
?parish a &lt;http://data.ordnancesurvey.co.uk/ontology/admingeo/CivilParish&gt; .
?parish spatialrelations:contains ?ward .
?parish admingeo:hasCensusCode ?parishcode .
?parish foaf:name ?label ;
}
LIMIT 1
</pre>
<p>This fella here is asking for a parish which contains a given ward<del datetime="2010-07-09T15:36:21+00:00"> &#8211; at the moment I&#8217;m using the OS URI, but I&#8217;m hoping to figure out a way of using SNAC IDs before I put it onto the live UK Postcodes system</del>.</p>
<p>Hope this gives people a bit of an insight, and if anyone who is cleverer than me wants to point out any problems, or make any suggestions, feel free! <img src='http://www.pezholio.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/pezholioblog/~4/WF1vuaguj-g" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.pezholio.co.uk/2010/07/further-adventures-in-sparql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.pezholio.co.uk/2010/07/further-adventures-in-sparql/</feedburner:origLink></item>
		<item>
		<title>Ringing Mapping the changes</title>
		<link>http://feedproxy.google.com/~r/pezholioblog/~3/JkCp2LALZvA/</link>
		<comments>http://www.pezholio.co.uk/2010/05/ringing-mapping-the-changes/#comments</comments>
		<pubDate>Tue, 25 May 2010 09:21:44 +0000</pubDate>
		<dc:creator>Pez</dc:creator>
				<category><![CDATA[Open Data]]></category>
		<category><![CDATA[boundaries]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[hack day]]></category>
		<category><![CDATA[mapitude]]></category>
		<category><![CDATA[mapping]]></category>
		<category><![CDATA[ordnance survey]]></category>

		<guid isPermaLink="false">http://www.pezholio.co.uk/?p=368</guid>
		<description><![CDATA[Some people would say we&#8217;re mad, but last Saturday, on the hottest day of the year so far, a group of people eschewed barbecues and beer in the garden for a whole day spent working with mapping data and other bits of open data to help people understand the benefits of open data at Mapitude, [...]]]></description>
			<content:encoded><![CDATA[<p>Some people would say we&#8217;re mad, but last Saturday, on the hottest day of the year so far, a group of people eschewed barbecues and beer in the garden for a whole day spent working with mapping data and other bits of open data to help people understand the benefits of open data at <a href="http://mapitude.eventbrite.com/">Mapitude</a>, an event aimed at developing understanding and practical collaboration between web developers and mappers.</p>
<p>As well as unconference style talks and discussions, there was also a hack day, where a group of us got together to try and solve practical problems using open data in just one day. The brief we decided on was to map a council ward, add some statistical information to it, and then compare it with a neigbouring ward.</p>
<p>As <a href="http://twitter.com/danslee">Dan Slee</a> from Walsall Council was in attendance, he was keen that we map <a href="http://openlylocal.com/wards/1959-St-Matthews">St. Matthew&#8217;s ward</a> in Walsall, a deprived ward in the centre of Walsall, and compare it with <a href="http://openlylocal.com/wards/1944-Aldridge-Central-and-South">Aldridge Central and South</a>, a neighbouring, but significantly less deprived area.</p>
<p>Once the brief was written up, I got together with <a href="http://twitter.com/countculture">Chris Taggart</a> of <a href="http://www.openlylocal.com">OpenlyLocal</a> to identify some data sources. The first thing we noticed was that OpenlyLocal didn&#8217;t have much information about the wards and councillors in Walsall &#8211; however, after a bit of trawling Walsall&#8217;s website and adapting an existing screen scraper, OpenlyLocal had Walsall&#8217;s data up, this made it easier to get the councillors for each ward.</p>
<p>The next challenge was getting the ward boundaries. Now, a few months ago, this would have been nigh on impossible without either breaking the law, or physically walking the boundaries with a GPS tracker (which, even then, might have been dodgy). However, thanks the the release of <a href="http://www.ordnancesurvey.co.uk/oswebsite/opendata/">Ordnance Survey data</a>, this is now significantly easier.</p>
<p>However, even with Open Data, this was still not an easy task. The boundary data comes in <a href="http://en.wikipedia.org/wiki/Shapefile">ESRI shapefile format</a>, which, on it&#8217;s own isn&#8217;t a particularly friendly format for web developers, as it&#8217;s designed for desktop GIS software, so the first task was converting the Shapefiles to something we can easily work with online.</p>
<p>Thankfully, I&#8217;d been doing some research a few days prior, and chanced upon <a href="http://kartoweb.itc.nl/RIMapper/">this bit of work</a>, which includes a program that converts ESRI Shapefiles to MySQL tables, a format that is much kinder to web developers. Once that was done, we then had to convert the boundaries themselves from <a href="http://www.ordnancesurvey.co.uk/oswebsite/freefun/geofacts/geo0667.html">Ordnance Survey National Grid References</a> to latitude and longitude, which was easily done by <a href="http://www.jstott.me.uk/phpcoord/">this PHP script</a>.</p>
<p>We now had councillors and shapefiles, and already time was against us. The group who put together the brief had decided on population, families claiming child benefit, average income, and number of unpaid carers. This could be retrieved from the <a href="http://www.neighbourhood.statistics.gov.uk/dissemination/Info.do?page=NDE.htm">National Statistics Data Exchange</a>, but we ran out of time, so ended up simply copying and pasting the data. However, given enough time, we knew we could&#8217;ve done it.</p>
<p><a href="http://mapitude.pezholio.co.uk/">You can see the results of our work here</a>, and some of the comparisons are quite stark. We would&#8217;ve liked to add crime data from the <a href="http://policeapi.rkh.co.uk/">Police API</a>, but again, pressures of time meant we didn&#8217;t get round to it. However, if you look at the crime stats for <a href="http://openlylocal.com/areas/search?postcode=WS1+1PL&#038;submit=Search+by+postcode">St Matthew&#8217;s</a> and <a href="http://openlylocal.com/areas/search?postcode=WS9+0BG+&#038;submit=Search+by+postcode">Aldridge Central and South</a>, you can see there&#8217;s quite a difference, with crime in St Matthew&#8217;s being much much higher. However, this may be slightly skewed by the fact that St Matthew&#8217;s takes in much of Walsall town centre where there are a lot of pubs and bars, so fights etc at chucking out time are, sadly, common.</p>
<h3>Where next?</h3>
<p>So, was it all worth it? Well, I know Chris Taggart will be adding similar functionality to OpenlyLocal in the future, so in that respect it was useful. It also helped me get a handle on how to work with the OS boundary data, and yesterday, I released the Lichfield portion in a much more usable format on the <a href="http://www.lichfielddc.gov.uk/data">Lichfield District Council open data section</a>.</p>
<p>The most important aspect though, I think, is serving as an example of what can be done with open data. For too long, us open data folks have been banging on about how great open data is and everyone should do it. However, the people who have the power to really open stuff up aren&#8217;t always convinced, they might be wary, or not understand the issues. With examples like this, we can start with a problem, and in less than a day, have a solution. It&#8217;s these solutions which open people&#8217;s eyes to the power of data, and convince them that this is the future.</p>
<img src="http://feeds.feedburner.com/~r/pezholioblog/~4/JkCp2LALZvA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.pezholio.co.uk/2010/05/ringing-mapping-the-changes/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.pezholio.co.uk/2010/05/ringing-mapping-the-changes/</feedburner:origLink></item>
		<item>
		<title>The postcode – freed!</title>
		<link>http://feedproxy.google.com/~r/pezholioblog/~3/U8WpKJOXM3c/</link>
		<comments>http://www.pezholio.co.uk/2010/04/the-postcode-freed/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 09:35:27 +0000</pubDate>
		<dc:creator>Pez</dc:creator>
				<category><![CDATA[Open Data]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[geodata]]></category>
		<category><![CDATA[linked data]]></category>
		<category><![CDATA[ordnance survey]]></category>
		<category><![CDATA[postcodes]]></category>

		<guid isPermaLink="false">http://www.pezholio.co.uk/?p=358</guid>
		<description><![CDATA[Well, it&#8217;s finally happened, Ordnance Survey have gone from being the bad guy of the internet, a big, bumbling behemoth, squishing innovation wherever it goes, to being the darling of the internet, throwing out free data wherever it goes (well, sort of).
As well as lots of mapping data being released, it also release Codepoint Open, [...]]]></description>
			<content:encoded><![CDATA[<p>Well, it&#8217;s finally happened, Ordnance Survey have gone from being the bad guy of the internet, a big, bumbling behemoth, squishing innovation wherever it goes, to being the darling of the internet, throwing out free data wherever it goes (well, sort of).</p>
<p>As well as lots of mapping data being released, it also release Codepoint Open, which matches every postcode up a geographical location, it&#8217;s what I, along with the <a href="http://www.ernestmarples.com/">oh-so-clever uber trolling project Ernest Marples</a> have been banging on about for ages. Now, finally, developers can get a user&#8217;s location details based on one thing that almost everyone in the UK is guaranteed to know, their postcode &#8211; this can then be used to get all sorts of useful information, like their nearest school, fire station, police station, cafe, tanning salon (or whatever).</p>
<p>As well as matching postcodes to a physical location, CodePoint Open also matches postcodes to local authority information, something which, in the past, I&#8217;ve used the <a href="http://www.pezholio.co.uk/2010/03/postcode-to-councillor-in-one-easy-step/">NESS Data Exchange for</a>, but I&#8217;ll probably migrate to this, &#8216;cos it&#8217;s easier.</p>
<p>Anyway, although the data has been released and is out there, it&#8217;s in a whopping 250mb CSV file, so if anyone wants to use it, they need to download a local copy and import it into a database for their own use. I wanted to do this, but thought, instead of everyone doing this, why don&#8217;t I make it easier for everyone (myself included) and wrap it in a web service?</p>
<p>That is wot I dun &#8211; enter <a href="http://www.uk-postcodes.com">UK Postcodes</a>. Initially I built this over the Easter break, in a few snatched moments between eating easter eggs and making sure my <a href="http://twitter.com/dotty_dog">new puppy</a> didn&#8217;t wee anywhere. On the surface it&#8217;s very simple, a request like this:</p>
<p><code>http://www.uk-postcodes.com/postcode/WS136YY.xml</code></p>
<p>will give you all the information about WS13 6YY in XML format, including latitude/longitude, easting/northing, a Geo Hash URI, as well as the county council (if applicable), district council and ward the postcode is in. You can also have JSON, CSV and RDF just by changing the extension (Thanks to <a href="http://www.jenitennison.com/blog/">Jeni Tennison</a> for her help with the latter format!).</p>
<p>After posting the results of my fiddling on the <a href="http://groups.google.com/group/uk-government-data-developers">UK government Data Developers mailing list</a> &#8211; I got a lot of helpful people suggesting other ways I could interact with the data, so I know have methods for finding the nearest postcodes to a point, as well as reverse geocoding (going from a lat/lng point to a postcode) &#8211; there&#8217;s more information on the <a href="http://www.uk-postcodes.com/api.php">API page</a>.</p>
<p>That&#8217;s basically it, I&#8217;m always happy to hear feedback, so if you&#8217;ve got any suggestions or feedback (good or bad!), please feel free to comment below!</p>
<p>(Oh, and a massive thanks goes out to <s><a href="http://twitter.com/adrianshort">Adrian Short</a></s> (actually it was Adrian who created the torrent of the data &#8211; proving that file sharing isn&#8217;t always used for nefarious purposes :cough:#debill:cough:) <a href="http://twitter.com/dracos">Matthew Somerville</a>, who translated all those Eastings and Northings in the original dataset to Latitude and Longitude &#8211; you can download his version from the <a href="http://parlvid.mysociety.org:81/os/">MySociety mirror</a>.)</p>
<img src="http://feeds.feedburner.com/~r/pezholioblog/~4/U8WpKJOXM3c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.pezholio.co.uk/2010/04/the-postcode-freed/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		<feedburner:origLink>http://www.pezholio.co.uk/2010/04/the-postcode-freed/</feedburner:origLink></item>
		<item>
		<title>Postcode to councillor in one easy step!</title>
		<link>http://feedproxy.google.com/~r/pezholioblog/~3/AE_umimjfjI/</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>
<img src="http://feeds.feedburner.com/~r/pezholioblog/~4/AE_umimjfjI" height="1" width="1"/>]]></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>
		<feedburner:origLink>http://www.pezholio.co.uk/2010/03/postcode-to-councillor-in-one-easy-step/</feedburner:origLink></item>
		<item>
		<title>Royal Fail Part 3: Response received (and it ain’t good)</title>
		<link>http://feedproxy.google.com/~r/pezholioblog/~3/u1EJS_db2fY/</link>
		<comments>http://www.pezholio.co.uk/2010/01/royal-fail-part-3-response-received-and-it-aint-good/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 13:31:27 +0000</pubDate>
		<dc:creator>Pez</dc:creator>
				<category><![CDATA[Open Data]]></category>
		<category><![CDATA[consultation]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[paf]]></category>
		<category><![CDATA[postcodes]]></category>

		<guid isPermaLink="false">http://www.pezholio.co.uk/?p=340</guid>
		<description><![CDATA[Well, it&#8217;s been an exciting few months for the open data movement, with the future of the Ordnance Survey and geographical data going out to consultation and data.gov.uk being launched, but imagine my horror when I finally received a response to the petition I started to make postcode data free to non-profits. The full text [...]]]></description>
			<content:encoded><![CDATA[<p>Well, it&#8217;s been an exciting few months for the open data movement, with the <a href="http://www.communities.gov.uk/publications/corporate/ordnancesurveyconsultation">future of the Ordnance Survey and geographical data going out to consultation</a> and <a href="http://data.gov.uk">data.gov.uk</a> being launched, but imagine my horror when I finally received a response to <a href="http://petitions.pm.gov.uk/Nfppostcodes">the petition I started to make postcode data free to non-profits</a>. The full text is below:</p>
<blockquote>
<p><span dir="ltr">Under the Postal Services Act 2000, Parliament set up Royal Mail as a public limited company with the Government as its only shareholder.&nbsp;&nbsp; Under this framework, the Government established an arm’s length relationship with the company so that the company had more commercial freedom and could run its operations without interference from the shareholder.&nbsp; </span></p>
<p><span dir="ltr">The Postcode Address File (PAF) dataset was designed and engineered by Royal Mail and is owned and managed by the company as a commercial asset of the business (containing around 29 million addresses in the UK).&nbsp; Royal Mail developed the PAF with the primary purpose to aid the efficient delivery of mail, though over the years the PAF has come to be used for a number of purposes other than the postal purpose for which it is designed and was established.&nbsp; Indeed, many organisations, including new postal operators, banks, insurance companies and others offering to deliver goods to your door, use the information held on the database.&nbsp; The PAF is also used in other business processes, including mailing list “cleaning”, anti-fraud activities and various customer services. </span></p>
<p><span dir="ltr">Royal Mail invests significantly in collating and maintaining the Postcode Address File (PAF) and this cost is recovered through an independently regulated licensing arrangement.&nbsp; It would of course be very time-consuming and costly for anyone to try to replicate the list, so Royal Mail licenses PAF data, for a fee, allowing others to use it.&nbsp; Under Section 116 of the Postal Services Act 2000,&nbsp;&nbsp; Royal Mail must maintain the PAF and make it available to any person who wishes to use it on “such terms as are reasonable”.&nbsp; </span></p>
<p><span dir="ltr">This requirement is replicated as a condition of Royal Mail’s licence issued by the postal regulator, Postcomm.&nbsp; Provision exists for Royal Mail to recover a reasonable charge for the supply of PAF and it must not impose any term or condition other than reasonable restrictions to safeguard its intellectual property rights (IPR), and to ensure that the PAF and its updates are used to support effective addressing.</span></p>
<p><span dir="ltr">As access to the PAF is governed under a condition of licence, Postcomm monitors its practice.&nbsp; Royal Mail’s licence obliges the company to make access to the PAF available on reasonable terms. Postcomm allows the company to make a reasonable specified profit margin and monitors its accounts.&nbsp;&nbsp; </span></p>
<p><span dir="ltr">Postcomm has previously undertaken a public consultation reviewing how the PAF was managed.&nbsp; The consultation started in 2006 and finished in 2007.&nbsp; Postcomm took all the diverse uses of the PAF into account before reaching its decision in 2007, announcing more safeguards for the management of the address information held in the PAF with the aim of making sure that the PAF is maintained properly and made available on fair and reasonable terms.&nbsp; The findings of the consultation can be found on Postcomm’s website (<a href="http://www.psc.gov.uk">www.psc.gov.uk</a>).&nbsp; </span></p>
<p><span dir="ltr">If any PAF user or stakeholder feels that Royal Mail is not complying with the terms of section 116 of the PSA 2000 or Condition 22 of its licence, they can either raise concerns direct with the company or with Postcomm.&nbsp; Postcomm would consider the merits of any such concerns in the light of its statutory duties. </span></p>
</blockquote>
<p>This is, word for word, the exact same response I got from Lord Young via my MP, Mike O&#8217;Brien after I wrote to him in October (which is also <a href="http://www.number10.gov.uk/Page20993">exactly the same response as the Free PAF petition got earlier last year</a>). No mention of data.gov.uk, no mention of the Ordnance Survey consultation, just a flat out &#8216;no&#8217;, even though steps have already been put into place to free postcode data!</p>
<p>I can only assume that this was written (read: copy and pasted) by someone who has little or no understanding of the issues, has seen &#8216;postcodes&#8217; and &#8216;royal mail&#8217; and just whacked a standard response on. It doesn&#8217;t really do much for your faith in democracy and the system when you know more than the Prime Minister&#8217;s office seems to know.</p>
<img src="http://feeds.feedburner.com/~r/pezholioblog/~4/u1EJS_db2fY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.pezholio.co.uk/2010/01/royal-fail-part-3-response-received-and-it-aint-good/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.pezholio.co.uk/2010/01/royal-fail-part-3-response-received-and-it-aint-good/</feedburner:origLink></item>
		<item>
		<title>Open postcodes – my letter to the FT</title>
		<link>http://feedproxy.google.com/~r/pezholioblog/~3/JgnID8LMiA8/</link>
		<comments>http://www.pezholio.co.uk/2009/12/open-postcodes-my-letter-to-the-ft/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 11:32:11 +0000</pubDate>
		<dc:creator>Pez</dc:creator>
				<category><![CDATA[Open Data]]></category>
		<category><![CDATA[clueless]]></category>
		<category><![CDATA[confused]]></category>
		<category><![CDATA[financial times]]></category>
		<category><![CDATA[royal mail]]></category>

		<guid isPermaLink="false">http://www.pezholio.co.uk/?p=337</guid>
		<description><![CDATA[As some of you have have seen, Sue Cameron of the Financial times has written a confused and desperate sounding article about the government&#8217;s recent announcement to open up the postcode dataset for public reuse. 
As the FT doesn&#8217;t have any commenting functionality (my biggest bugbear with newspaper websites), I&#8217;ve drafted a letter to the [...]]]></description>
			<content:encoded><![CDATA[<p>As some of you have have seen, Sue Cameron of the Financial times has written a <a href="http://www.ft.com/cms/s/0/4cdde84a-ef69-11de-86c4-00144feab49a.html">confused and desperate sounding article</a> about the government&#8217;s recent announcement to open up the postcode dataset for public reuse. </p>
<p>As the FT doesn&#8217;t have any commenting functionality (my biggest bugbear with newspaper websites), I&#8217;ve drafted a letter to the editor. I&#8217;ve not sent it yet, so would appreciate your comments! The full text is below:</p>
<blockquote><p>
Sir,</p>
<p>In Sue Cameron&#8217;s article &#8216;Mandy and Gordon &#8211; the unravelling&#8217;, Ms. Cameron claims Gordon Brown&#8217;s opening of the PAF dataset will be a &#8216;free gift from the taxpayer to major money makers such as Google&#8217;.</p>
<p>Yes, large corporations will benefit slightly (very slightly &#8211; they won&#8217;t have to pay £1,200 per year to use the PostZon dataset), but the real winners will be small, community built websites, such as Planning Alerts, Job Centre Pro Plus, The Straight Choice and countless other sites, which, until recently were powered by a free service &#8211; ernestmarples.com, which tied location data to postcodes.</p>
<p>These sites offered services like alerting people to planning applications and jobs in their area for free, providing useful, innovative services for free and taking the load off the stretched public sector.</p>
<p>However, in October, Ernestmarples.com was forced to close by heavy-handed legal action from the Royal Mail, and without a free location-based dataset, these sites could not function and were closed down.</p>
<p>Linking locations to postcodes is an extremely valuable service which should not be in the control of one private organisation, the data was sourced at the public&#8217;s expense and should be free for the public to reuse as they see fit. Who knows &#8211; it might end up saving the government a few quid too.</p>
<p>Yours Faithfully</p>
<p>Stuart Harrison
</p></blockquote>
<img src="http://feeds.feedburner.com/~r/pezholioblog/~4/JgnID8LMiA8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.pezholio.co.uk/2009/12/open-postcodes-my-letter-to-the-ft/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		<feedburner:origLink>http://www.pezholio.co.uk/2009/12/open-postcodes-my-letter-to-the-ft/</feedburner:origLink></item>
		<item>
		<title>An iPhone app in 5 days?</title>
		<link>http://feedproxy.google.com/~r/pezholioblog/~3/xlY1xi8IhS0/</link>
		<comments>http://www.pezholio.co.uk/2009/12/an-iphone-app-in-5-days/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 12:13:55 +0000</pubDate>
		<dc:creator>Pez</dc:creator>
				<category><![CDATA[Council Stuff]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[appcelerator]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[phonegap]]></category>
		<category><![CDATA[ratemyplace]]></category>
		<category><![CDATA[titanium]]></category>

		<guid isPermaLink="false">http://www.pezholio.co.uk/?p=326</guid>
		<description><![CDATA[iPhones are ace aren&#8217;t they? Despite howls of derision from some camps, in the space of a few years, it&#8217;s completely turned the mobile world on its head.
I&#8217;ve wanted to build an iPhone app for Ratemyplace &#8211; the food safety ratings website I run at the council on behalf of 8 other councils in Staffordshire [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.pezholio.co.uk/wp-content/uploads/2009/12/ratemyplace-290x300.png" alt="Mockup of Ratemyplace app on an iPhone and iPod touch " title="Mockup of Ratemyplace app on an iPhone and iPod touch " width="170" height="175" class="alignright size-medium wp-image-327" />iPhones are ace aren&#8217;t they? Despite <a href="http://www.electronista.com/articles/07/04/30/ballmer.on.iphone/">howls of derision</a> from some camps, in the space of a few years, it&#8217;s completely turned the mobile world on its head.</p>
<p>I&#8217;ve wanted to build an iPhone app for <a href="http://www.ratemyplace.org.uk">Ratemyplace</a> &#8211; the food safety ratings website I run at the council on behalf of 8 other councils in Staffordshire for a while, but unfortunately just didn&#8217;t have time to learn Objective-C, the language that iPhone apps are built in &#8211; at the same time, I&#8217;m also aware that not everyone has an iPhone, so have been scouting around for ways to build apps that can be ported to other platforms quickly and easily.</p>
<p>About 6 months ago, I looked at <a href="http://phonegap.com/">Phonegap</a>, which promised to allow me to build apps quickly using only HTML and Javascript. I beavered away for a few weeks, and finally had an app I was (sort of) pleased with. It used native features such as geolocation, and I used <a href="http://code.google.com/p/iphone-universal/">the UiUi Kit CSS library</a> to make the app look as much like a native app as possible. I was all ready to submit it to the app store. Then the 3.0 firmware upgrade came.</p>
<p>My iPhone app was busted &#8211; native geolocation no longer worked, and a little hack I&#8217;d worked out to get a toolbar at the bottom and a navbar at the top was also kaputt. I tried to fix it for a bit, but other priorities took over, and the project went on hold.</p>
<p>Then, a few weeks ago, I came across <a href="http://www.appcelerator.com/">Appcelerator Titanium</a>, a platform that does pretty much everything Phonegap does, but (in my opinion) much better. While Phonegap uses a portion of the iPhone&#8217;s API called the webview to display webpages as though they were native apps, Titanium goes one better, it compiles your code into a mixture of web views and native Objective-C code. Like Phonegap, it also works with Android, and a promise of more platforms to come.</p>
<p>This means that you can not only take advantage of many more native iPhone features, your app is much less likely to be rejected (as <a href="http://www.readwriteweb.com/archives/why_is_apple_rejecting_phonegap-built_iphone_apps.php">a lot of phonegap apps were</a>) because of the use of what Apple calls &#8216;private APIs&#8217;.</p>
<p>I dusted down my old bits of code, bookmarked the <a href="http://www.codestrong.com/timobile/api/">API documentation</a>, and set to work. In the end, as well as doing my other duties, the app took me 5 days (and one beery evening) to complete. You can see a few screenshots below:</p>
<p><iframe align="center" src="http://www.flickr.com/slideShow/index.gne?set_id=72157622918161445"  width="460" height="460" frameBorder="0" scrolling="no"></iframe></p>
<p>I submitted it to Apple yesterday, and I&#8217;m not expecting to hear anything for a good few weeks, if not months (Apple&#8217;s approvals processes to get an app into the app store are <a href="http://theappleblog.com/2008/09/13/why-apples-app-store-approval-process-is-broken/">notoriously strict</a>) but I&#8217;m reasonably hopeful. I&#8217;m now looking at porting my code to Android phones, with a view to looking at Blackberry and Nokia devices too.</p>
<p>Looking forward a few years, with the growing adoption by mobile phone browsers of HTML5 and CSS3, I can see that apps are going to become more browser based, and (hopefully), this will lead to standards being adopted across the industry, but, until then, it seems that platforms like Titanium are going to be the best way to get your apps to as many people as quickly as possible.</p>
<img src="http://feeds.feedburner.com/~r/pezholioblog/~4/xlY1xi8IhS0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.pezholio.co.uk/2009/12/an-iphone-app-in-5-days/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://www.pezholio.co.uk/2009/12/an-iphone-app-in-5-days/</feedburner:origLink></item>
		<item>
		<title>Fixmytweet!</title>
		<link>http://feedproxy.google.com/~r/pezholioblog/~3/6xF8vwlaiB4/</link>
		<comments>http://www.pezholio.co.uk/2009/12/fixmytweet/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 12:24:07 +0000</pubDate>
		<dc:creator>Pez</dc:creator>
				<category><![CDATA[Council Stuff]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[fixmystreet]]></category>
		<category><![CDATA[fixmytweet]]></category>
		<category><![CDATA[mysociety]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.pezholio.co.uk/?p=323</guid>
		<description><![CDATA[I love Fixmystreet &#8211; it&#8217;s the nearest thing we&#8217;ve got to a national problem reporting hub, while other council website bury their reporting facilities under pages and pages of navigation, Fixmystreet is simple, quick and direct.
What I also love is its openness, as well as being able to pull out reports for problems in your [...]]]></description>
			<content:encoded><![CDATA[<p>I love <a href="http://www.fixmystreet.com/">Fixmystreet</a> &#8211; it&#8217;s the nearest thing we&#8217;ve got to a national problem reporting hub, while other council website bury their reporting facilities under pages and pages of navigation, Fixmystreet is simple, quick and direct.</p>
<p>What I also love is its openness, as well as being able to <a href="http://www.fixmystreet.com/alert">pull out reports for problems in your area</a>, you can also <a href="http://www.fixmystreet.com/import">inject problem reports directly into the system</a>, meaning anyone can build their own front end for the system.</p>
<p>I&#8217;ve been thinking about Fixmystreet a lot recently, after building my own frontend for it via the <a href="http://www.lichfielddc.gov.uk/site/custom_scripts/map.php">Ubermap</a>, I&#8217;ve also been thinking about repurposing our existing streetscene reporting forms, and getting them to use Fixmystreet.</p>
<p>It was while fiddling about under the hood, that I thought &#8216;wouldn&#8217;t it be cool if people could report problems via Twitter?&#8217; </p>
<p>Twitter is a fast way of communicating, and crucially, it&#8217;s mobile. There&#8217;s a plethora of mobile apps and frontends for Twitter, and even if you&#8217;re only on an aged Nokia 3310, you can send tweets by text message. This means that when you spot a problem, you can report it straight away. You could even add a picture.</p>
<p>I got cracking on it, and, within the space of 24 hours I had a prototype &#8211; users sign up with their Twitter username and email address on the <a href="http://fixmytweet.com/">Fixmytweet website</a>, and whenever they spot a problem, they can send a tweet in this format:</p>
<p><code>@fixmytweet {postcode} {description of problem} {twitpic link (optional)}</code></p>
<p>(If you&#8217;ve got a smartphone with a Twitter app that supports the <a href="http://blog.twitter.com/2009/08/location-location-location.html">geolocation API</a> you don&#8217;t even need the postcode!)</p>
<p>The system then parses the tweet and sends the necessaries to Fixmystreet. Fixmystreet then sends an email to the user, with a link for them to add more detail and approve the report. It then gets sent directly to the council! (and, if the council is smart, they can even <a href="http://www.mysociety.org/2008/11/12/first-council-lets-fixmystreet-post-straight-to-the-crm/">integrate it with their CRM system</a>)</p>
<p>I&#8217;m currently testing this out on a test version of Fixmystreet, and it seems to be working well so far. If you&#8217;re interested in helping test me test it, please <a href="http://fixmytweet.com/">sign up on the Fixmytweet website</a> and send a test tweet.</p>
<p>I&#8217;ll keep everyone posted on developments on Twitter and this here blog!</p>
<img src="http://feeds.feedburner.com/~r/pezholioblog/~4/6xF8vwlaiB4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.pezholio.co.uk/2009/12/fixmytweet/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.pezholio.co.uk/2009/12/fixmytweet/</feedburner:origLink></item>
	</channel>
</rss>
