<?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>tinyblob.com &#187; doom</title>
	<atom:link href="http://www.tinyblob.com/tag/doom/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tinyblob.com</link>
	<description>geekery and photographs</description>
	<lastBuildDate>Sun, 23 May 2010 17:26:49 +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>Threat level</title>
		<link>http://www.tinyblob.com/2008/08/07/threat-level/</link>
		<comments>http://www.tinyblob.com/2008/08/07/threat-level/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 09:36:31 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Geekery]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[doom]]></category>
		<category><![CDATA[threat level]]></category>

		<guid isPermaLink="false">http://www.tinyblob.com/?p=111</guid>
		<description><![CDATA[I had an idea a while ago for a bit of fun, and finally got around to making it: The UK&#8217;s current threat level, portrayed by Doomguy. For those that don&#8217;t know, in the classic and mighty first person shooter Doom your health is represented pictorially by an image of the main characters face, as [...]]]></description>
			<content:encoded><![CDATA[<p>I had an idea a while ago for a bit of fun, and finally got around to making it:<br />
<a href="http://tinyblob.com/threatlevel" title="current uk threat level portrayed by doomguy"><img src="http://www.tinyblob.com/wp-content/uploads/2008/08/threatstatus.jpg" alt="" title="threatstatus" width="478" height="381" class="alignnone size-full wp-image-118" /></a><br class="clear" /><br />
<a href="http://tinyblob.com/threatlevel" title="current uk threat level portrayed by doomguy">The UK&#8217;s current threat level, portrayed by Doomguy</a>.<br />
For those that don&#8217;t know, in the classic and mighty first person shooter <a href="http://en.wikipedia.org/wiki/Doom_%28video_game%29" title="Doom">Doom</a> your health is represented pictorially by an image of the main characters <a href="http://doom.wikia.com/wiki/Status_bar_face">face</a>, as you take damage his face makes it clear. So i wrote some code that scrapes the UK&#8217;s current threat level page, takes the current level, and displays the relevant image from one of the following:<br class="clear" /><br />
<img src="http://www.tinyblob.com/wp-content/uploads/2008/08/face1.gif" alt="" title="face1" width="109" height="128" class="alignnone size-full wp-image-113" /><strong>Low</strong><br /><em>An attack is unlikely</em><br class="clear" /><br />
<img src="http://www.tinyblob.com/wp-content/uploads/2008/08/face2.gif" alt="" title="face2" width="109" height="128" class="alignnone size-full wp-image-114" /><strong>Moderate</strong><br /><em>An attack is possible but not likely</em><br class="clear" /><br />
<img src="http://www.tinyblob.com/wp-content/uploads/2008/08/face3.gif" alt="" title="face3" width="109" height="128" class="alignnone size-full wp-image-115" /><strong>Substantial</strong><br /><em>An attack is a strong possibility</em><br class="clear" /><br />
<img src="http://www.tinyblob.com/wp-content/uploads/2008/08/face4.gif" alt="" title="face4" width="109" height="128" class="alignnone size-full wp-image-116" /><strong>Severe</strong><br /><em>An attack is highly likely</em><br class="clear" /><br />
<img src="http://www.tinyblob.com/wp-content/uploads/2008/08/face5.gif" alt="" title="face5" width="109" height="128" class="alignnone size-full wp-image-117" /><strong>Critical</strong><br /><em>An attack is expected imminently</em><br class="clear" /><br />
The Home Office page that displays the threat level is fairly weighty and the scraping code isn&#8217;t all that efficient, so it&#8217;s fairly slow to load (though does cache the result for 10 mins or so), but considering this is just for fun i doubt i&#8217;ll re-write the backend. Sadly considering our current state of affairs it&#8217;s fair to say our threat level won&#8217;t be changing all that often either.<br />
What i may do, however, is make a nice new frontend for doomguy, in flash, with mouseovers for the other statuses &#8211; and animations. I also intend to write one for the American threat level.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tinyblob.com/2008/08/07/threat-level/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
