<?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>Paul Silver&#039;s blog &#187; guardian</title>
	<atom:link href="http://www.paulsilver.co.uk/blog/tag/guardian/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.paulsilver.co.uk/blog</link>
	<description>Freelancing, programming, SEO and various things within New Media</description>
	<lastBuildDate>Wed, 21 Dec 2011 12:03:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>5K App: Article Suggester</title>
		<link>http://www.paulsilver.co.uk/blog/2009/04/5k-app-article-suggester/</link>
		<comments>http://www.paulsilver.co.uk/blog/2009/04/5k-app-article-suggester/#comments</comments>
		<pubDate>Sat, 18 Apr 2009 17:02:50 +0000</pubDate>
		<dc:creator>Paul Silver</dc:creator>
				<category><![CDATA[My Projects]]></category>
		<category><![CDATA[5kapp]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[guardian]]></category>
		<category><![CDATA[yahoo]]></category>
		<category><![CDATA[£5app]]></category>

		<guid isPermaLink="false">http://www.paulsilver.co.uk/blog/?p=11</guid>
		<description><![CDATA[For my third and final 5K app for the £5 App competition I built a cut-down version of something I’ve been meaning to build for ages, which is part of the reason for having the 5K limit in the first place &#8211; it forces you to concentrate on the main point of a script or [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>For my third and final <a href="../tag/5kapp/">5K app</a> for the <a onclick="urchinTracker('/outgoing/fivepoundapp.com/wiki/5kapp/?referer=');urchinTracker('/outgoing/fivepoundapp.com/wiki/5kapp/?referer=');" href="http://fivepoundapp.com/wiki/5kapp/">£5 App competition</a> I built a cut-down version of something I’ve been meaning to build for ages, which is part of the reason for having the 5K limit in the first place &#8211; it forces you to concentrate on the main point of a script or programme and leave out everything else.</p>
<p>At heart, the Article Suggester is a very simple application: you give it a bunch of text (for instance an article or blog post that you’re writing) and it will suggest a list of articles from the <a onclick="urchinTracker('/outgoing/www.guardian.co.uk/?referer=');urchinTracker('/outgoing/www.guardian.co.uk/?referer=');" href="http://www.guardian.co.uk/">Guardian</a> website.</p>
<p>Behind the scenes, things are slightly more complicated. When the form containing the text is submitted it’s first run through the <a onclick="urchinTracker('/outgoing/developer.yahoo.com/search/content/V1/termExtraction.html?referer=');urchinTracker('/outgoing/developer.yahoo.com/search/content/V1/termExtraction.html?referer=');" href="http://developer.yahoo.com/search/content/V1/termExtraction.html">Yahoo Term Extraction tool</a>, which gives back a list of words and phrases it thinks are important from the text. The script then runs this list through the <a onclick="urchinTracker('/outgoing/www.guardian.co.uk/open-platform?referer=');urchinTracker('/outgoing/www.guardian.co.uk/open-platform?referer=');" href="http://www.guardian.co.uk/open-platform">Guardian’s Open Platform</a> content API and gets back a couple of articles related to each phrase, offering them up as links next to the submitted text to help with further research.</p>
<p><a href="../../projects/article_suggester.php">Try out the Article Suggester</a>.</p>
<p>Both the Yahoo API and Guardian API have limits on their use, so if this gets popular it may not work. I’ll post up the source code soon so people can get their own API keys and extend it any way they want.</p>
<p>The code is written in PHP and uses <a onclick="urchinTracker('/outgoing/php.net/simplexml?referer=');urchinTracker('/outgoing/php.net/simplexml?referer=');" href="http://php.net/simplexml">SimpleXML</a> to work through the data coming back from the APIs. Currently it’s only 2,292 bytes, so there’s loads of space left in the 5K, I just don’t have any time to add new bits before the competition presentation and judging on Monday.</p>
<p>If you’re interested in seeing the competition presentations, it’s happening at <a onclick="urchinTracker('/outgoing/theskiff.org/?referer=');urchinTracker('/outgoing/theskiff.org/?referer=');" href="http://theskiff.org/">the Skiff </a>from <a title="£5 App meet listing on Upcoming" onclick="urchinTracker('/outgoing/upcoming.yahoo.com/event/2140148/?referer=');urchinTracker('/outgoing/upcoming.yahoo.com/event/2140148/?referer=');" href="http://upcoming.yahoo.com/event/2140148/">8pm on Monday 20th April</a>.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.paulsilver.co.uk/blog/2009/04/5k-app-article-suggester/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

