﻿<?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>Adrian Short &#187; Sutton Guardian</title>
	<atom:link href="http://adrianshort.co.uk/tag/sutton-guardian/feed/" rel="self" type="application/rss+xml" />
	<link>http://adrianshort.co.uk</link>
	<description>Design, citizenship and the city</description>
	<lastBuildDate>Thu, 02 Sep 2010 20:53:06 +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>Building a local news mashup with Twitter, TwitterFeed, Delicious, Yahoo! Pipes, Ruby and RSS</title>
		<link>http://adrianshort.co.uk/2009/03/15/building-a-local-news-mashup-with-twitter-twitterfeed-delicious-yahoo-pipes-ruby-and-rss/</link>
		<comments>http://adrianshort.co.uk/2009/03/15/building-a-local-news-mashup-with-twitter-twitterfeed-delicious-yahoo-pipes-ruby-and-rss/#comments</comments>
		<pubDate>Sun, 15 Mar 2009 18:35:27 +0000</pubDate>
		<dc:creator>Adrian Short</dc:creator>
				<category><![CDATA[Software design]]></category>
		<category><![CDATA[Sutton]]></category>
		<category><![CDATA[apis]]></category>
		<category><![CDATA[atom]]></category>
		<category><![CDATA[Delicious]]></category>
		<category><![CDATA[Hpricot]]></category>
		<category><![CDATA[mashups]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[Paul Burstow]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Stonecot Hill News]]></category>
		<category><![CDATA[Sutton Council]]></category>
		<category><![CDATA[Sutton Guardian]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[TwitterFeed]]></category>
		<category><![CDATA[Yahoo! Pipes]]></category>

		<guid isPermaLink="false">http://adrianshort.co.uk/?p=311</guid>
		<description><![CDATA[(Click on the image to download the PDF, 19KB, opens in new window/tab.) Like this? Follow me on Twitter: http://twitter.com/adrianshort I&#8217;m a self-confessed and unashamed news junkie and this is how I&#8217;m starting to mash up news in my local &#8230; <a href="http://adrianshort.co.uk/2009/03/15/building-a-local-news-mashup-with-twitter-twitterfeed-delicious-yahoo-pipes-ruby-and-rss/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://adrianshort.co.uk/wp-content/uploads/2009/03/sutton-local-news-mashup.pdf" target="_blank"><img class="alignnone size-medium wp-image-330" title="sutton-local-news-mashup" src="http://adrianshort.co.uk/wp-content/uploads/2009/03/sutton-local-news-mashup-400x282.png" alt="sutton-local-news-mashup" width="400" height="282" /></a></p>
<p><em>(Click on the image to download the PDF, 19KB, opens in new window/tab.)</em></p>
<p><em>Like this? Follow me on Twitter: <a href="http://twitter.com/adrianshort">http://twitter.com/adrianshort</a><br />
</em></p>
<p>I&#8217;m a self-confessed and unashamed news junkie and this is how I&#8217;m starting to mash up news in my local area. For those that aren&#8217;t local, <a href="http://en.wikipedia.org/wiki/London_Borough_of_Sutton">Sutton</a> is a London borough with a population of approximately 180,000. Stonecot Hill is a neighbourhood within Sutton with a population of a few thousand.</p>
<p>Here&#8217;s how it all works.</p>
<p><strong>Sources (green boxes)</strong></p>
<p>I write <a href="http://www.stonecothillnews.co.uk/">Stonecot Hill News</a> which is a local news blog running as a standalone <a href="http://wordpress.org/">WordPress</a> installation on its own server. It produces an <a href="http://en.wikipedia.org/wiki/RSS_(file_format)">RSS 2.0 feed</a> which here is treated as an outbound <a href="http://en.wikipedia.org/wiki/Api">API</a>.</p>
<p><a href="http://paulburstow.com/">Paul Burstow</a> is the local member of parliament (constituency: Sutton &amp; Cheam). Paul posts news regularly to his website and for many years that site has been serving an RSS 1.0 (RDF) feed. Whether he realises it or not, Paul laid one of the first foundations for news mashability in the borough.</p>
<p>The <a href="http://www.suttonguardian.co.uk/">Sutton Guardian</a> is the local newspaper, published by Newsquest. Together with its sister titles in other areas, they publish <a title="Sutton Guardian RSS feeds" href="http://www.suttonguardian.co.uk/misc/rss/">several dozen RSS 2.0 feeds</a> for a wide variety of content.</p>
<p><a href="http://www.sutton.gov.uk/">Sutton Council</a> is the local authority for the borough. Despite a recent £270,000 revamp to their website they haven&#8217;t yet managed to step into the Twenty-First and produce any RSS feeds. However, they do publish a variety of content regularly on their website, including their <a title="Sutton Council press releases" href="http://www.sutton.gov.uk/index.aspx?articleid=3434">press releases</a>.</p>
<p><strong>APIs (grey boxes)</strong></p>
<p>For the non-technical: API stands for Application Programming Interface, but that doesn&#8217;t tell you very much. Think of APIs like connectors or adapters that allow one program to plug into another in the same way that our household appliances can all connect to the electrical network because they share common plugs and sockets.</p>
<p>An API may be <em>inbound </em>(allowing data to be put into an application), <em>outbound </em>(allowing data to be extracted) or both.</p>
<p>As we can see in the diagram, applications which use APIs can be daisy-chained together, with the output of one application being fed into another.</p>
<p>RSS and <a href="http://en.wikipedia.org/wiki/Atom_(standard)">Atom</a> feeds are also APIs in that they provide a structured way for a program to get data out of an application. These feed formats are simple to implement (many applications produce them automatically) and are the first thing to consider when implementing a simple outbound API for an application.</p>
<p><strong>Mashers (pink boxes)</strong></p>
<p>Mashers are small programs that connect otherwise incompatible inbound and outbound APIs together. <a href="http://twitterfeed.com/">TwitterFeed</a> is a simple example. Say you want to automatically post the new items from your blog to your <a href="http://twitter.com/">Twitter</a> account. Your blog serves an RSS feed but Twitter, while it has an inbound API, cannot accept RSS directly as input. TwitterFeed links the two, allowing the user to define any number of RSS feeds as inputs and any number of Twitter accounts as outputs, via the Twitter API. In this way, TwitterFeed plugs blogs into Twitter.</p>
<p><a href="http://pipes.yahoo.com/">Yahoo! Pipes</a> is a much more sophisticated and flexible masher. It can take inputs from a variety of sources (RSS, Atom, <a title="Comma-separated values file format" href="http://en.wikipedia.org/wiki/Comma-separated_values">CSV</a>, <a title="Flickr photo sharing website" href="http://www.flickr.com/">Flickr</a> API, <a href="http://base.google.com/base/">Google Base</a> or even raw web pages), sort, filter and combine them in every conceivable way, and output the results as a single stream in various formats (RSS, <a title="JavaScript Object Notation" href="http://en.wikipedia.org/wiki/Json">JSON</a>, and <a title="KML - Keyhole Markup Language" href="http://en.wikipedia.org/wiki/Kml">KML</a>, the geo-format used by <a href="http://earth.google.com/">Google Earth</a>). For my mashup I created <a title="Stonecot Hill news mashup Yahoo Pipe" href="http://pipes.yahoo.com/adrianshort/tin_59X73RG83ZoNpgt1Yg">this pipe</a> to filter Paul Burstow&#8217;s, the Sutton Guardian&#8217;s and Sutton Council&#8217;s news and only pass through items containing the word &#8220;stonecot&#8221; to the stream that eventually ends in the <a href="http://twitter.com/stonecothill">@stonecothill Twitter feed</a>, which is just for Stonecot Hill residents. The number of items coming through these sources about Stonecot Hill is very low, but when something appears residents will want to see it. (By way of example, only a single press release from Sutton Council in the last 227 concerns the Stonecot Hill area specifically.)</p>
<p>As mentioned above, Sutton Council doesn&#8217;t provide an RSS feed or any other kind of outbound API for its press release. I wrote a screen scraper in <a title="Ruby programming language" href="http://www.ruby-lang.org/en/">Ruby</a> (using <a title="Hpricot HTML parser for Ruby" href="http://wiki.github.com/why/hpricot">Hpricot</a>) that grabs the press releases directly from the council website, dumps them into a <a href="http://www.mysql.com/">MySQL</a> database and pushes new items into the <a title="Delicious social bookmarks manager" href="http://delicious.com/">Delicious</a> API. I&#8217;ve used Delicious here for two reasons. Firstly, because it generates an RSS feed automatically from all the items posted to it, so I can easily connect this output to other mashers and APIs further downstream without having to generate and host an RSS feed myself. Also, Delicious provides a useful search facility on its website allowing me to easily search just the press releases from Sutton Council. This isn&#8217;t possible with the council&#8217;s own website, where searches are scoped to the entire site.</p>
<p><strong>Destinations (orange boxes)</strong></p>
<p>In my diagram, the destinations are sites and services which represent new ways of consuming information coming from the original sources. Don&#8217;t want to read Sutton Council&#8217;s press releases on their own website? You can folllow them in <a title="Sutton Council's press releases on Delicious" href="http://delicious.com/suttonboro">Delicious</a> or on <a title="Sutton Council's press releases on Twitter" href="http://twitter.com/suttonboro">Twitter</a>. Want to keep up with the latest news about Stonecot Hill? Again, the <a href="http://twitter.com/stonecothill">@stonecothill Twitter account</a> can find this for you from various sources. I also add my own items to @stonecothill, making it a unique mashup of original and syndicated content that&#8217;s highly targeted and very local.</p>
<p>The information stream doesn&#8217;t need to end with these destinations. Any destination that provides an outbound API can simply be another link in the chain to downstream services. In my diagram, the RSS feed from Delicious is used to do just that, pushing all its content on to the @suttonboro Twitter account, and just the Stonecot Hill-related content on to the @stonecothill account via the Yahoo! Pipes filter. Twitter has its own specific outbound API and also serves RSS feeds. There&#8217;s nothing to stop anyone else building on these destinations by combining and filtering them with other sources to produce their own unique, relevant information streams that they find useful.</p>
<p><strong>What next?</strong></p>
<p>If you run a website, it&#8217;s time to start thinking of mashability with the same degree of seriousness as you treat human visitors. Your website needs to serve up feeds and APIs so that other programs can connect to your content and deliver it to people in ways and contexts that they find useful. Some of these may have an audience of thousands or even millions. Others may have an audience of one. Regardless, by providing an API to your content you enable others to build things that you haven&#8217;t imagined, don&#8217;t have the resources or desire to build yourself, and won&#8217;t have to maintain. Businesses like newspapers that survive by selling their content (or selling advertising around their content) are thinking very carefully about the challenges and opportunities for the future of their industries. For government and voluntary organisations, it&#8217;s time to start thinking more like evangelists than economists. Spread the word like the free Bibles in hotel bedrooms and take every opportunity to get your message out there.</p>
<p>Sutton Council have been encouraged in various ways to implement feeds on their own website and the song will remain the same until they do. I don&#8217;t want to maintain my scraper for ever and I certainly don&#8217;t want to build any more of them.</p>
<p>The whole API and mashability agenda is far bigger than simple web feed formats like RSS and Atom. It&#8217;s time for technologists to stop flogging the line that &#8220;RSS is an easy way for people who follow lots of websites to read all their news in one place&#8221;. Direct human consumption of RSS feeds is never going to hit the mainstream in that way. If you&#8217;re reading this, you&#8217;re far more likely that average to use an RSS reader. (I&#8217;ve got 86 feeds in my <a href="http://www.google.com/reader/">Google Reader</a> right now). The average web user has barely heard of the concept and most definitely don&#8217;t do it. I suspect they never will. But it&#8217;s likely they&#8217;re already benefiting from syndicated content through sites and applications that they use. If they never have to see or care about the underlying technology that&#8217;s really no more a problem than worrying that the average web user doesn&#8217;t understand <a href="http://en.wikipedia.org/wiki/Http">HTTP</a> or <a href="http://en.wikipedia.org/wiki/Domain_Name_System">DNS</a>. It&#8217;s just plumbing that can stay out of sight and out of mind as long as it works.</p>
<p>For the minority that do use personal RSS readers, I&#8217;d like to see more of them with built-in filtering features. Setting a simple keyword filter on a feed makes RSS reading considerably more powerful.</p>
<p>For those serving up feeds, I&#8217;d like to see Atom more widely used. Without wanting to open a can of Wineresque worms, RSS 2.0 fudges a number of important issues around content semantics and provides no support whatsoever for correctly attributing items in feeds mashed from several sources. Atom was designed to solve these problems and it does. Let&#8217;s use it.</p>
<p>Lastly, mashability is about every conceivable kind of content and content type. It&#8217;s not just about news and text. Every stream of information should have its own machine-readable feed. Every system that can accept data from human input should implement an inbound API to do likewise. To take one example, <a href="http://www.fixmystreet.com/">FixMyStreet</a> is a website for people to report street faults to local authorities and currently takes around 1000 reports a week. It even has its own <a title="FixMyStreet on the iPhone" href="http://www.mysociety.org/2008/12/10/fixmystreet-iphone/">iPhone application</a> so people can report faults complete with GPS locations and photos directly from the street. Only a single local authority in over 400 has implemented an inbound API to receive these reports. The rest get them by email, which must be manually copied into their own databases with all the effort, expense, possibility for error and opportunity costs that represents. Third-parties building extensions to other people&#8217;s systems is no longer unusual, so organisations need to embrace the possibilities rather than fighting against it or standing around looking bemused.</p>
<p>It&#8217;s time to open the doors and windows and get the web joined up, mashed up and moving.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianshort.co.uk/2009/03/15/building-a-local-news-mashup-with-twitter-twitterfeed-delicious-yahoo-pipes-ruby-and-rss/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Technosocial scenarios for Sutton: 3: Starting a chess club</title>
		<link>http://adrianshort.co.uk/2009/03/10/technosocial-scenarios-for-sutton-3-starting-a-chess-club/</link>
		<comments>http://adrianshort.co.uk/2009/03/10/technosocial-scenarios-for-sutton-3-starting-a-chess-club/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 19:33:05 +0000</pubDate>
		<dc:creator>Adrian Short</dc:creator>
				<category><![CDATA[Sutton]]></category>
		<category><![CDATA[Web design]]></category>
		<category><![CDATA[iCalendar]]></category>
		<category><![CDATA[PledgeBank]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[Sutton Guardian]]></category>
		<category><![CDATA[Upcoming]]></category>

		<guid isPermaLink="false">http://adrianshort.co.uk/?p=305</guid>
		<description><![CDATA[Brian loves chess but finds it hard to get a decent match with an opponent at his level. He&#8217;d love to start a local chess club but doesn&#8217;t want to take the risk of setting something up and having too &#8230; <a href="http://adrianshort.co.uk/2009/03/10/technosocial-scenarios-for-sutton-3-starting-a-chess-club/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Brian loves chess but finds it hard to get a decent match with an opponent at his level. He&#8217;d love to start a local chess club but doesn&#8217;t want to take the risk of setting something up and having too few people attend. He asks on a local chat forum whether anyone would like to start a club. He gets a couple of tentative offers and a suggestion that he posts a new pledge to Sutton Council&#8217;s own local version of <a href="http://www.pledgebank.com/">PledgeBank</a>.</p>
<p>PledgeBank is new to Brian but he soon creates a pledge, saying, &#8220;I will join a new local chess club and pay a membership fee of up to £20 a year but only if 15 other people from Sutton will too.&#8221; A month later, Brian has found 18 members for his new club. A few people found out about it through the chat forum (to which Brian posted a link to the pledge). Some more found it just by browsing Sutton&#8217;s PledgeBank. Items from the <a href="http://en.wikipedia.org/wiki/RSS_(file_format)">RSS feed</a> of new pledges appear on the council&#8217;s website home page one week in every four, which brought in five new people. One person even had a filtered subscription to the new pledges feed for &#8220;chess&#8221;.</p>
<p>Brian easily finds a meeting room for his group using Sutton FreeSpace, which allows people to book halls and function rooms across the borough by finding free space from the various venues&#8217; <a href="http://en.wikipedia.org/wiki/Icalendar">iCalendar</a> feeds. But Brian doesn&#8217;t need to know anything about the technology, he just asks for a room for up to 25 people any weekday evening within his price range and he gets a few options nicely plotted on a map for him with availability and pricing. He books a room at a local community centre and as the event is a public meeting, an entry is automatically created in the centre&#8217;s public calendar feed which is then syndicated to the Sutton Guardian (where it appears in print as well as on their website), <a href="http://upcoming.yahoo.com/">Upcoming</a>, the council&#8217;s main borough calendar and a couple of local blogs. The first meeting of the new chess club is a great success. A year later, Brian is back on Sutton FreeSpace looking for a bigger venue for their club nights.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianshort.co.uk/2009/03/10/technosocial-scenarios-for-sutton-3-starting-a-chess-club/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Twittering Sutton</title>
		<link>http://adrianshort.co.uk/2008/08/18/twittering-sutton/</link>
		<comments>http://adrianshort.co.uk/2008/08/18/twittering-sutton/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 10:00:42 +0000</pubDate>
		<dc:creator>Adrian Short</dc:creator>
				<category><![CDATA[Sutton]]></category>
		<category><![CDATA[Sutton Council]]></category>
		<category><![CDATA[Sutton Guardian]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://adrianshort.co.uk/?p=59</guid>
		<description><![CDATA[Introducing my new Twitter feed for the Sutton news that matters. <a href="http://adrianshort.co.uk/2008/08/18/twittering-sutton/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Problems:</p>
<p>1. <a href="http://www.sutton.gov.uk/news/latest/">Sutton Council&#8217;s Latest News section</a> doesn&#8217;t have an <a href="http://news.bbc.co.uk/1/hi/help/3223484.stm">RSS feed</a> or any easy way for the public to track it other than by visiting it regularly.</p>
<p>2. The <a href="http://www.yourlocalguardian.co.uk/news/local/suttonnews/">Sutton Guardian</a> has more dirt than diamonds (although at least it has a <a title="Sutton Guardian RSS feed" href="http://www.yourlocalguardian.co.uk/news/local/suttonnews/rss/">feed</a>).</p>
<p>3. Other things happen that don&#8217;t get reported.</p>
<p>4. You don&#8217;t have time to plough through two dozen websites to keep track of what&#8217;s going on in Sutton.</p>
<p>Solutions:</p>
<p>1. Visit <a href="http://twitter.com/suttonboro">http://twitter.com/suttonboro</a> for a concise, well-edited overview of borough activity.</p>
<p>2. If you use an <a title="Google Reader" href="http://www.google.com/reader/">RSS reader</a>, subscribe to the feed at <a href="http://feeds.feedburner.com/suttonboro">http://feeds.feedburner.com/suttonboro</a></p>
<p>3. <a title="Email subscription to Twitter / suttonboro" href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=2334759&amp;loc=en_US">Subscribe to the latest updates by email</a>, if that&#8217;s your thing.</p>
<p>Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://adrianshort.co.uk/2008/08/18/twittering-sutton/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
