<?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:dc="http://purl.org/dc/elements/1.1/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
<title>xlab.co.uk</title>
<link>http://www.xlab.co.uk</link>
<description>A weblog about the internet, technology, games, culture and football. By Philip Lindsay, Newcastle-based web designer/developer.</description>
<language>en-gb</language>
<managingEditor>phil@xlab.co.uk</managingEditor>
<webMaster>phil@xlab.co.uk</webMaster>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<ttl>60</ttl>
<pubDate>Sat, 05 Sep 2009 22:09:51 UTC</pubDate>
<lastBuildDate>Sat, 05 Sep 2009 22:09:51 UTC</lastBuildDate>
<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/xlab" type="application/rss+xml" /><feedburner:browserFriendly></feedburner:browserFriendly><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
<title>Apple to announce streaming iTunes app?</title>
<link>http://www.xlab.co.uk/weblog/711</link>
<description><![CDATA[	<p>After much speculation, Apple eventually <a href="http://paidcontent.co.uk/article/419-spotify-says-apple-still-testing-iphone-app-spotify-vanishes-from-app-s/">approved</a> the Spotify music-streaming app for the iPhone - a potential rival to it&#8217;s own iTunes music app. More than a week after the announcement, it&#8217;s yet to show up in the App Store.</p>


	<p>Having <a href="http://twitter.com/pl/status/3776903574">tweeted</a> about the delay, Jon Bradford <a href="http://twitter.com/jd/status/3777008789">replied</a> with an interesting explanation -</p>
	<blockquote><p>my guess is that on Wednesday apple will announce a streaming subscription version of itunes and release spotify the day after..</p></blockquote>
	<p>An interesting theory and one that adds up. Apple has planned a <a href="http://digitaldaily.allthingsd.com/20090831/its-official-apple-announces-sept-9-event/">music event</a> for Wednesday when they&#8217;re expected to announce a revamped lineup of iPods, but you can imagine this also being a very apt moment to introduce the world to the new streaming version of iTunes.</p>
	<p>It explains why, when most people expected it to get rejected, Apple would approve the Spotify app - because they knew they had something bigger and better in the pipeline.</p>
	<p>As well as having a huge user base, the iTunes streaming app would also trump the Spotify app by being able to play audio in the background - a very useful feature on a multi-functional device like the iPhone.</p>
	<p>So, is it true? I guess we&#8217;ll have to wait until Wednesday to find out.</p>
]]></description>
<pubDate>Sat, 05 Sep 2009 22:09:51 UTC</pubDate>
<guid isPermaLink="true">http://www.xlab.co.uk/weblog/711</guid>
<comments>http://www.xlab.co.uk/weblog/711#comments</comments>
</item>
<item>
<title>Twitter Spam</title>
<link>http://www.xlab.co.uk/weblog/710</link>
<description><![CDATA[	<p>Earlier on today I <a href="http://twitter.com/pl/status/3511524116">tweeted</a> about the Apple Store being down for updates. I received a <a href="http://twitter.com/neilmcloram/status/3511539748">reply from @neilmcloram</a> speculating (correctly) that it was being updated to include Snow Leopard. Nothing unusual there, but I then received 5 replies from spam accounts containing the same text as @neilmcloram&#8217;s tweet. I&#8217;ve had 18 of these so far.
</p>


	<p><img src="/images/tweetie-spam.png" alt="" /></p>
	<p>It seems some devious spammers have figured out a way to grab a recent tweet from your @replies stream, then automatically send it from multiple spam accounts (if it wasn&#8217;t so damn annoying I&#8217;d be impressed by their ingenuity). </p>
	<p>I hoping the Twitter devs are onto this and find a way to keep the scum at bay - it would seem a shame if this wonderful platform was ruined by spam.</p>
]]></description>
<pubDate>Mon, 24 Aug 2009 20:59:34 UTC</pubDate>
<guid isPermaLink="true">http://www.xlab.co.uk/weblog/710</guid>
<comments>http://www.xlab.co.uk/weblog/710#comments</comments>
</item>
<item>
<title>Using PHP to avoid caching of CSS and javascript</title>
<link>http://www.xlab.co.uk/weblog/709</link>
<description><![CDATA[	<p>Here&#8217;s a handy tip which I&#8217;ve been using recently. Often when developing sites you&#8217;ll make a change to an external CSS file, then reload the page only to find the change you made isn&#8217;t visible (or more likely, you&#8217;ve sent the link to the client who emails back saying &#8216;Still looks the same to me!&#8217;). Rather than having to explain caching to your client, there&#8217;s some simple PHP code you can use to get around this.
</p>


	<p>The key to the solution is the <a href="http://www.php.net/filemtime">filemtime</a> PHP function. Give it the path of a file and it&#8217;ll return a timestamp of when the file was last modified. To use in your website, you would embed the following PHP into the <code><head></code> of your HTML :</p>
	<p><code>$css_file = 'css/main.css';<br />
if (is_file($css_file)) {<br />
��echo &#8216;<br />
<link rel="stylesheet" rev="stylesheet" href="&#8217;.$css_file.'?v='.filemtime($css_file).'" media="screen" />';<br />
}</code></p>
	<p>This will output something like -<br />
<code><br />
<link rel="stylesheet" rev="stylesheet" href="css/main.css?v=1250171883" media="screen" /></code></p>
	<p>Each time the value of the <code>v</code> variable being passed to the CSS file changes (i.e. when you make a change to the CSS file), the browser will load in a fresh copy.</p>
	<p>This method also works well when including external javascript files - you&#8217;d simply echo out a <code><script></code> tag instead of the <code><br />
<link></code> tag.
</p>
]]></description>
<pubDate>Thu, 13 Aug 2009 15:20:14 UTC</pubDate>
<guid isPermaLink="true">http://www.xlab.co.uk/weblog/709</guid>
<comments>http://www.xlab.co.uk/weblog/709#comments</comments>
</item>
<item>
<title>teamfinder.org</title>
<link>http://www.xlab.co.uk/weblog/708</link>
<description><![CDATA[	<p><a href="http://www.teamfinder.org/" class="img"><img src="http://farm4.static.flickr.com/3091/3755378519_7378dd0999.jpg" alt="teamfinder.org" class="photo" /></a></p>
	<p>I&#8217;ve just recently launched <a href="http://www.teamfinder.org/">teamfinder.org</a>, a website to help organise games of football. Frustrated after years of calling, texting and emailing friends, I decided to build a small webpage where my mates could visit and tick their name to indicate if they were playing. </p>
	<p>The prototype worked well and the feedback was positive, so I decided to develop it into a web app that anyone could use. After working on it on and off for nearly a year, it&#8217;s great to be able to open it to the general public - <a href="http://www.teamfinder.org/">enjoy!</a>.
</p>


<br />
]]></description>
<pubDate>Tue, 11 Aug 2009 10:42:03 UTC</pubDate>
<guid isPermaLink="true">http://www.xlab.co.uk/weblog/708</guid>
<comments>http://www.xlab.co.uk/weblog/708#comments</comments>
</item>
<item>
<title>Enlightened</title>
<link>http://www.xlab.co.uk/weblog/707</link>
<description><![CDATA[	<p><a href="http://www.flickr.com/photos/plindsay/3804808426/" class="img"><img src="http://farm4.static.flickr.com/3461/3804808426_c66b186a18.jpg" alt="Enlightened" class="photo" /></a></p>
	<p>This weekend we paid a visit to <a href="http://en.wikipedia.org/wiki/Brinkburn_Priory">Brinkburn Priory</a> - a magnificent 12th century Augustinian Church near Rothbury in Northumberland. We often zoom past Brinkburn down the B6344 on the way to <a href="http://en.wikipedia.org/wiki/Cragside">Cragside</a>, but this time we decided it was due a visit. Down a single track road and nestled in a secluded spot where the River Coquet bends round the landscape, the Priory is the perfect spot for a peaceful picnic. After lunch we explored inside and admired the breathtaking beauty of the building.
</p>


<br />
]]></description>
<pubDate>Sun, 09 Aug 2009 17:39:27 UTC</pubDate>
<guid isPermaLink="true">http://www.xlab.co.uk/weblog/707</guid>
<comments>http://www.xlab.co.uk/weblog/707#comments</comments>
</item>
<item>
<title>Free Pitching</title>
<link>http://www.xlab.co.uk/weblog/706</link>
<description><![CDATA[	<p>I&#8217;ve seen a worrying number of free pitch requests <a href="http://www.presencemultimedia.co.uk">at work</a> recently (one in particular from a public sector organisation). For the uninitiated, this is where a company or organisation sends a brief which requests some sample designs to be sent with your proposal. The assumption is then that the company reviews all the design work and decides which agency to hire on this basis. This practice has been around for years, and, to be frank, it&#8217;s downright rude. Would you have a meal in every restaurant in town, but only pay for the one you liked the most? Why is it somehow deemed reasonable to behave like this when commissioning web design work?
</p>


	<p>It doesn&#8217;t help that a lot of agencies and freelancers accept free pitching as part of finding new work. For whatever reasons, there will always be designers willing to give away free design work in an effort to secure a job. This practice benefits no-one. Designers end up completely de-valuing their work by giving it away for free (and put themselves at risk of clients using it without permission) and clients receive sub-standard work without the benefit of a proper briefing or understanding the client&#8217;s needs.</p>
	<p>The sad thing is that it&#8217;s difficult to see an end to this practice. Ideally, I&#8217;d like to see an organisation like <a href="http://www.dandad.org/">D&#038;AD</a> or the <a href="http://www.designcouncil.org.uk/">Design Council</a> make an effort to educate designers about the consequences of free pitching. It&#8217;d also be useful to have a document on the web which is aimed at clients requesting free design work. When replying to the public sector organisation above, stating my reasons for not submitting a proposal, my message would&#8217;ve been given considerable weight had I been able to reference some &#8216;official&#8217; notice to back me up.</p>
	<p>It&#8217;ll probably never go away, but given the above (simple) measures, we could hopefully see less of it.
</p>
]]></description>
<pubDate>Sat, 26 Jan 2008 15:13:55 UTC</pubDate>
<guid isPermaLink="true">http://www.xlab.co.uk/weblog/706</guid>
<comments>http://www.xlab.co.uk/weblog/706#comments</comments>
</item>
<item>
<title>Acid3</title>
<link>http://www.xlab.co.uk/weblog/705</link>
<description><![CDATA[	<p><img src="/images/wasp.gif" alt="WaSP logo" class="picright" />I missed this last week - <a href="http://www.webstandards.org">WaSP</a> have created an <a href="http://www.webstandards.org/action/acid3">Acid3</a> test for browsers. Whereas <a href="http://www.webstandards.org/action/acid2">Acid2</a> is designed to test out a browsers ability to render XHTML and CSS, Acid3 is aimed at assessing their DOM and Javascript abilities.</p>
	<p>You can view how current browsers fare in Acid3 in <a href="http://ejohn.org/blog/acid3-tackles-ecmascript/">this post on John Resig&#8217;s blog</a>. Looks like IE7 has a bit of work to do...</p>


<br />
]]></description>
<pubDate>Wed, 23 Jan 2008 16:17:40 UTC</pubDate>
<guid isPermaLink="true">http://www.xlab.co.uk/weblog/705</guid>
<comments>http://www.xlab.co.uk/weblog/705#comments</comments>
</item>
</channel>
</rss>
