<?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>89pies</title>
	<atom:link href="http://www.89pies.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.89pies.com</link>
	<description>nomnomnom</description>
	<lastBuildDate>Mon, 24 Oct 2011 12:56:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>How TFL endorsed me as a taxi firm or why how to monitor external links</title>
		<link>http://www.89pies.com/2011/07/how-tfl-endorsed-me-as-a-taxi-firm-or-why-how-to-monitor-external-links/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-tfl-endorsed-me-as-a-taxi-firm-or-why-how-to-monitor-external-links</link>
		<comments>http://www.89pies.com/2011/07/how-tfl-endorsed-me-as-a-taxi-firm-or-why-how-to-monitor-external-links/#comments</comments>
		<pubDate>Sun, 03 Jul 2011 22:10:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Automation]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Web Security]]></category>

		<guid isPermaLink="false">http://www.89pies.com/?p=45</guid>
		<description><![CDATA[This is going to be a technical post so a short bit of background for anybody who doesn't live in London, Transport for London is a local government body who are responsible for most of the aspects of travel in London including (but not limited to) the Tube, Busses, Trains, Streets and most relavent to [...]]]></description>
			<content:encoded><![CDATA[<p>This is going to be a technical post so a short bit of background for anybody who doesn't live in London, <a href="http://www.tfl.gov.uk">Transport for London</a> is a local government body who are responsible for most of the aspects of travel in London including (but not limited to) the Tube, Busses, Trains, Streets and most relavent to this post Taxis. They are an official body so information supplied by them is deemed to be trusted.</p>
<p>I was wanting to book a taxi one night and as my usual company <a href="http://www.addisonlee.com">AddisonLee</a> were fully booked (it was the day of the <a href="http://www.bbc.co.uk/news/uk-13967580">public sector strikes</a>) I decided to try and find another company on the <a href="http://www.tfl.gov.uk/gettingaround/taxisandminicabs/taxis/1136.aspx">TFL Website</a>. As I usually prefer to book online (I can pay by card) I tried the first link on the page which was to <a href="http://www.onenumbertaxis.co.uk/">http://www.onenumbertaxis.co.uk/</a> however rather than a site with a nice booking form I was redirect to <a href="http://this-is-not-a-real-web-site.com">http://this-is-not-a-real-web-site.com</a>. I'm not sure quite why that was so I decided to have a quick check why and the easiest way to do this is just by curling it on the command line:</p>
<p><script src="https://gist.github.com/1062587.js">// <![CDATA[
&nbsp;
// ]]&gt;</script></p>
<p>The response is exactly as I thought it would be, a redirect from the original domain to this new one, as is always with a domain which looks interesting my first response is to see if it is registered or not...</p>
<p><script src="https://gist.github.com/1062601.js">// <![CDATA[
&nbsp;
// ]]&gt;</script></p>
<p>And it's not, this means TFL are linking to a URL which doesn't exist and anybody can register. Naturally whenever I find a URL like this I'm thinking about registering it but this one was different as this one was linked to from a trusted site and anybody could easily register it, redirect it to a smiliar looking domain and start a fake taxi firm. This would then mean TFL are endorsing an unlicensed minicab firm which goes against all the good work they have been doing with <a href="http://www.tfl.gov.uk/tfl/gettingaround/taxisandminicabs/taxis/default.aspx">cabwise</a>. Of course I went ahead and registered it and at the time of writing this clicking on the top link on the TFL taxi page takes you to <a href="http://www.89pies.com/2011/07/tfl-fix-your-links/">this post</a> so effectivly endorsing my site as a reputable taxi company.</p>
<p>Again the horror stories of what could have happened are for another post so to continue on the technical aspect what could they have done to prevent this from happening? As anybody who has used the web knows it is ever changing and sites can change with an alarming frequency rendering a site which was nice and safe one day full of porn or worse the next day which can seriously damage a companies reputation and image both for the company who used to own the domain and anybody linking to it.</p>
<p>So what could TFL have done about this? They can't manually check every link every day so the only answer which makes sense is automation. There are so many things you can automate online from reports to tests to content validation and security testing. This issue falls under the category of content validation and this is a relativly easy one to perform once you have got the architecture in place, for a scenario like this I would suggest having some form of data store containing your 3rd party URLs and this can range from an extra field on your database table for a small site like a blog to using a document store such as <a href="http://www.mongodb.org/">MongoDB </a>if you have a huge amount of external links.</p>
<p>How you handle this data once you have decided you are going to automate this testing varies as well and as with all good architecture you need to design it to not only scale well but also to not over engineer it so you never finish building it or once you have delivered it the system is so complex it is full of issues. However you write it there are a few key questions you will have to ask yourself:</p>
<ol>
<li>How often should you check? You must have the system run on a regular basis, once a day is probably enough and would suffice for most applications but some systems will require a much higher frequency of monitoring.</li>
<li>What constitues a failure? For some systems this will be the domain not responding in a certain timeframe, a key piece of content missing (usually &lt;/html&gt; to not the page has failed mid generation) or sending a non 200 response.</li>
<li>How do you handle a failure? This should be be an action such as queuing for a check again within a set time frame e.g. 5 minutes in case the error is temporary, alerting to the monitoring systems or even an automated content removal from the site.</li>
<li>What happens next? If the content is removed  automatically should it come back automatically or does it go into a moderation queue or have to be reinstered manually?</li>
</ol>
<p>There are so many variants of the above it's impossible to say exactly how your applicaiton should behave without sitting down to plan it out but this should be a key part of your architecture and should be done during the initial planning and not left until the last minute as I can guarantee this will get overlooked to get the product out. Ensure whoever is looking at this understands your infrastructure as well, in short ensure your Technical Leads and Architects know what they are doing although this goes without saying but is worth repeating!</p>
<p>In this case I will now wait to see how long it takes after being notified for TFL to fix this issue, if they haven't done it in a few days I will chase them again although leaving your automated testing to random people on the Internet is not the best approach to take really.</p>
<p>Incidently the link doesn't have a massivly high ctr, I'll try and compile some stats at some point but I would have expect it to be higher than it is.</p>
<p>Lastly for anybody who says I should have not registered this domain and just told TFL I have informed them via their web contact form so hopefully they will fix it quickly. I wanted to register it as soon as I could after seeing it in case anybody else had seen it and thought of doing the same and redirecting to something a lot less palatable.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.89pies.com/2011/07/how-tfl-endorsed-me-as-a-taxi-firm-or-why-how-to-monitor-external-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TFL Fix Your Links!</title>
		<link>http://www.89pies.com/2011/07/tfl-fix-your-links/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tfl-fix-your-links</link>
		<comments>http://www.89pies.com/2011/07/tfl-fix-your-links/#comments</comments>
		<pubDate>Sat, 02 Jul 2011 22:49:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Security]]></category>

		<guid isPermaLink="false">http://www.89pies.com/?p=37</guid>
		<description><![CDATA[If you've arrived here from the link on tfl.gov.uk then sorry but they have managed to link to a site which doesn't work. If you need a taxi in London I'd recommend AddisonLee for a professional, reliable service (and no, I'm not connected to them!) If you don't trust the web any more give them a call [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>If you've arrived here from the link on tfl.gov.uk then sorry but they have managed to link to a site which doesn't work.</p>
<p>If you need a taxi in London I'd recommend <a href="http://www.addisonlee.com/">AddisonLee</a> for a professional, reliable service (and no, I'm not connected to them!) If you don't trust the web any more give them a call on 0844 800 66 77.</p>
<p>&lt;edit&gt;I've written a follow up post with a few technical details and recommentations on how and why <a href="http://www.89pies.com/2011/07/how-tfl-endorsed-me-as-a-taxi-firm-or-why-how-to-monitor-external-links/">external links should be monitored</a>.&lt;/edit&gt;</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.89pies.com/2011/07/tfl-fix-your-links/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Web marketing and the complete campaign</title>
		<link>http://www.89pies.com/2011/05/web-marketing-and-the-complete-campaign/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=web-marketing-and-the-complete-campaign</link>
		<comments>http://www.89pies.com/2011/05/web-marketing-and-the-complete-campaign/#comments</comments>
		<pubDate>Mon, 30 May 2011 17:59:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Rants]]></category>
		<category><![CDATA[Web Marketing]]></category>
		<category><![CDATA[marketing]]></category>
		<category><![CDATA[rants]]></category>

		<guid isPermaLink="false">http://www.89pies.com/?p=30</guid>
		<description><![CDATA[So google chrome has launched a new campaign #thewebiswhatyoumakeofit to promote the use of google Chrome offline and has done so with some very big ads. Now these ads are emotional, moving and may make you cry but that's not the point of this post. As usual a company (and this time as one as [...]]]></description>
			<content:encoded><![CDATA[<p>So google chrome has launched a new campaign #thewebiswhatyoumakeofit to promote the use of google Chrome offline and has done so with some very big ads. Now these ads are emotional, moving and may make you cry but that's not the point of this post.</p>
<p>As usual a company (and this time as one as big as google) hasn't thought this one completely through from a marketing perspective.</p>
<p>&nbsp;</p>
<p>The UK ad (the one I just saw) looks like this:</p>
<p><object width="550" height="334"><param name="movie" value="http://www.youtube.com/v/O5NKYKE6U2c?version=3"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/O5NKYKE6U2c?version=3" type="application/x-shockwave-flash" width="550" height="334" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Now it's all very nice but what about the information in the background of the video? Namely in this case the email address and YouTube account? The YouTube account on screen is for <a href="http://www.youtube.com/user/EdwardLewis599">EdwardLewis599</a> however when you look this up it's an empty account created a couple of weeks ago, now that's better than some poor persons random account but I think it would have been nicer to create a backstory.</p>
<p>&nbsp;</p>
<p>The American ad:</p>
<p><object width="550" height="334"><param name="movie" value="http://www.youtube.com/v/R4vkVHijdQk?version=3"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/R4vkVHijdQk?version=3" type="application/x-shockwave-flash" width="550" height="334" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Has the same thing linking to <a href="http://www.youtube.com/user/danlee0599">DanLee0599</a> which again has no content but a few comments on how it's not linked to anything! The email address on screen dear.sophie.lee@gmail.com is slightly different as it is linked to this <a href="https://www.facebook.com/profile.php?id=100002512381402">facebook profile</a>.</p>
<p>&nbsp;</p>
<p>I'm assuming these email addresses are registered by google however I really think they should do something with them and the YouTube accounts. Now these accounts have a small amount of views (~1,500 US/~150 UK) and it's a small thing really but everytime I see an email address, URL or account not used it annoys me!</p>
<p>I also hope the linked facebook account doesn't belong to somebody not related to the campaign as if they're broadcasting actual addresses somebody is going to be very annoyed!</p>
<p>Minor rant over!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.89pies.com/2011/05/web-marketing-and-the-complete-campaign/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello World!</title>
		<link>http://www.89pies.com/2011/05/hello-world/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=hello-world</link>
		<comments>http://www.89pies.com/2011/05/hello-world/#comments</comments>
		<pubDate>Sun, 22 May 2011 17:58:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Brain Dump]]></category>
		<category><![CDATA[hello world]]></category>
		<category><![CDATA[placekitten]]></category>

		<guid isPermaLink="false">http://www.89pies.com/?p=1</guid>
		<description><![CDATA[Well the blog is back up, this time however with extra kittens care of placekitten.com &#160; I won't be migrating the old posts as they were old and rambling, besides which I don't actually have the data anymore! Things I will be posting about on the new incarnation: Web development including symfony/Drupal development Firefox Extension [...]]]></description>
			<content:encoded><![CDATA[<p>Well the blog is back up, this time however with extra kittens care of <a href="http://placekitten.com">placekitten.com</a></p>
<img src="http://placekitten.com/600/300" height="300" width="600" alt="placekitten" />
<p>&nbsp;</p>
<p>I won't be migrating the old posts as they were old and rambling, besides which I don't actually have the data anymore!</p>
<p>Things I will be posting about on the new incarnation:</p>
<ul>
<li>Web development including symfony/Drupal development</li>
<li>Firefox Extension Development</li>
<li>Web optimisation and performance (back and front end)</li>
<li>Infrastructure optimisation</li>
<li>The general problems I've had with all of the above and debugging/fixing them</li>
<li>SEO and Social Media</li>
<li>Recruitment and the fun to be had with hiring</li>
<li>Rants about things both tech and non-tech related</li>
<li>Food (although I won't be uploading all my food related pics which is a good sign)</li>
<li>Beer, mmmmm sweet, sweet beer</li>
</ul>
<p>Actually that's a lot, based on my past history this will last about 42 days before I get bored/swamped with other things. Either that or I'll wipe out my server by hitting the wrong button on my iPhone, not that I've ever done that before, erm, honest!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.89pies.com/2011/05/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

