<?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"
	>

<channel>
	<title>FRP</title>
	<atom:link href="http://www.diturner.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.diturner.co.uk</link>
	<description>Bits 'n' bobs, odds 'n' sods</description>
	<pubDate>Thu, 13 Nov 2008 22:30:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Offline WordPress released</title>
		<link>http://www.diturner.co.uk/tech/offline-wordpress-released/</link>
		<comments>http://www.diturner.co.uk/tech/offline-wordpress-released/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 22:29:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Tech]]></category>

		<category><![CDATA[download]]></category>

		<category><![CDATA[iphone]]></category>

		<category><![CDATA[ipod touch]]></category>

		<category><![CDATA[offline]]></category>

		<category><![CDATA[wget]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.diturner.co.uk/?p=237</guid>
		<description><![CDATA[I guide for using my Offline WordPress script.]]></description>
			<content:encoded><![CDATA[<p>I finally got around to releasing <a href="http://www.diturner.co.uk/labs/offline-wordpress/">my script</a> I use for toting my private WordPress notebook around on my iPod. It&#8217;s essentially a PHP page that creates a static HTML page with a load of JavaScript to selectively hide and show posts as they&#8217;re searched for.</p>
<p>This is my method for getting the resulting file onto my iPod. I&#8217;ve included it here in case it&#8217;s useful to someone.</p>
<h2>Things you will need</h2>
<ul>
<li>A jailbroken iPod/iPhone</li>
<li>MobileTerminal (from Cydia)</li>
<li>wget (from Cydia)</li>
<li>file:// Schema in Safari (from Cydia)</li>
</ul>
<h2>Setting up the alias</h2>
<p>Open MobileTerminal and type the following:</p>
<p><code>iPod:~ mobile$ <strong>nano .bashrc</strong></code></p>
<p>This will either open your existing .bashrc file or create one for you in Nano.</p>
<p>The following command will create an alias that makes a backup of your previously downloaded export page and then downloads the latest version.</p>
<p><code>alias wp='cd; mv export.html export~.html; wget http://www.domain.com/pathtopage --output-document=export.html'</code></p>
<p>Note that if your blog is behind a password you will need to add <code>--http-user=name</code> and <code>--http-password=pass</code> to the wget part of the alias.</p>
<p>Now close the file by typing CTRL-O.</p>
<p>To make sure your .bashrc file loads when you start up your iPod you now need to create a .profile. Type the following:</p>
<p><code>iPod:~ mobile$ <strong>nano .profile</strong></code></p>
<p>Then add the following to that file:</p>
<p><code>source $HOME/.bashrc</code></p>
<p>Close the file by typing CTRL-O.</p>
<p>Now any time you want to download your WP data just load up MobileTerminal and type wp. To load your offline page in Safari you need go to the URL file:///var/mobile/export.html.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.diturner.co.uk/tech/offline-wordpress-released/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The best todo app on the iPhone/iPod</title>
		<link>http://www.diturner.co.uk/tech/the-best-todo-app-on-the-iphone-ipod/</link>
		<comments>http://www.diturner.co.uk/tech/the-best-todo-app-on-the-iphone-ipod/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 14:38:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Tech]]></category>

		<category><![CDATA[iphone]]></category>

		<category><![CDATA[iPod]]></category>

		<category><![CDATA[omnifocus]]></category>

		<category><![CDATA[remember the milk]]></category>

		<category><![CDATA[rtm]]></category>

		<category><![CDATA[todo]]></category>

		<guid isPermaLink="false">http://www.diturner.co.uk/?p=235</guid>
		<description><![CDATA[Finally I have full integration with my desktop on portable todo lists.]]></description>
			<content:encoded><![CDATA[<p><img src='http://www.diturner.co.uk/wp-content/uploads/2008/11/rtm.jpg' alt='RTM on iPhone' align="right" style="border: solid 0px #fff !important" />I love <a href="http://www.rememberthemilk.com">Remember the Milk</a>. I&#8217;ve been using it for about two months now, both for work and personal lists. RTM have recently released an iPhone/iPod app to integrate with their web app. It syncs your data for use offline and unlike Appigo&#8217;s Todo (which also syncs with RTM) it supports tags. True you do need to have a pro RTM account but at $25 per year it won&#8217;t break the bank. It&#8217;s certainly less than buying the <a href="http://www.omnigroup.com/applications/OmniFocus/iphone/" title="Yes, I'm still annoyed at my wasted £12">awful, slow and crash-prone OmniFocus for iPhone</a> along with either the desktop version of OmniFocus or MobileMe account you&#8217;ll need to sync it to. Oh and did I mention that it will eat your data?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.diturner.co.uk/tech/the-best-todo-app-on-the-iphone-ipod/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Removing the 3 pixel gap in Hotmail email for Firefox</title>
		<link>http://www.diturner.co.uk/webdesign/removing-the-3-pixel-gap-in-hotmail-email-for-firefox/</link>
		<comments>http://www.diturner.co.uk/webdesign/removing-the-3-pixel-gap-in-hotmail-email-for-firefox/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 14:35:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Web Design / Dev]]></category>

		<category><![CDATA[hotmail]]></category>

		<category><![CDATA[newsletters]]></category>

		<guid isPermaLink="false">http://www.diturner.co.uk/?p=234</guid>
		<description><![CDATA[Yet another fix for Hotmail HTML rendering.]]></description>
			<content:encoded><![CDATA[<p>A while back I wrote a post about <a href="http://www.diturner.co.uk/webdesign/removing-the-3-pixel-gap-in-hotmail-email/">removing the 3 pixel gap in Hotmail</a>. While that provided a solution for IE I've since discovered another fix that works in Firefox. It's the same problem as before; a 3 pixel gap is added beneath images, particular to images inside table cells. The problem seems to stem from the font size settings, obviously this shouldn't affect a table cell that does not contain text. Chalk it up to yet another That Shouldn't Make Any Difference But It Does&#8482; This time the fix is to add <code>style="line-height: 50%"</code> to the TD tag. You should then end up with the following:</p>
<div class="syntax_hilite"><span class="langName">HTML:</span>
<div id="html-1">
<div class="html"><span style="color: #009900;"><a href="http://december.com/html/4/element/td.html"><span style="color: #000000; font-weight: bold;">&lt;td</span></a> <span style="color: #000066;">style</span>=<span style="color: #ff0000;">"line-height: 50%"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">&lt;img</span></a> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">"image.gif"</span> <span style="color: #000066;">width</span>=<span style="color: #ff0000;">"300"</span> <span style="color: #000066;">height</span>=<span style="color: #ff0000;">"50"</span> <span style="color: #000066;">alt</span>=<span style="color: #ff0000;">""</span> /<span style="color: #000000; font-weight: bold;">&gt;</span></a></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td&gt;</span></span></div>
</div>
</div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.diturner.co.uk/webdesign/removing-the-3-pixel-gap-in-hotmail-email-for-firefox/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Apple &#8216;upgrades&#8217;</title>
		<link>http://www.diturner.co.uk/tech/apple-upgrades/</link>
		<comments>http://www.diturner.co.uk/tech/apple-upgrades/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 18:02:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Tech]]></category>

		<category><![CDATA[Apple]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[shiny]]></category>

		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.diturner.co.uk/?p=233</guid>
		<description><![CDATA[I can't believe I'm actually thinking of moving away from Apple but they've forced me to it.]]></description>
			<content:encoded><![CDATA[<p>Hmm, reading up on the big Apple hardware announcement on Tuesday I have to say I'm disappointed. I was really hoping for an OS X powered netbook. Instead what we have now is a so-called pro laptop with a shiny screen. Oh and if you want a small form factor laptop with firewire then you're SOL because the MacBook only has USB2 in the new models.</p>
<p>Reading the various comments on <a href="http://www.tuaw.com/">TUAW</a> the fanboy response of "if you want firewire buy a pro" is quite spectacularly idiotic. If your laptop is your only computer then fine, go pro. I however, already have a desktop, I don't need another all singing all dancing workhorse, and 15 inch laptops are not very mobile. The MacBook is too expensive to be missing such a key port. I don't mind that my Eee PC only does USB, it cost less than £300, it's not designed to be used solo. A MacBook is, or was.</p>
<p>I'm seriously questioning my commitment to using Apple computers. I've already given up waiting for a netbook for this round of my laptop upgrade cycle with the purchase of the Eee. Currently I work on a white 20 inch iMac, what do I do if that breaks? Suck it up and buy a shiny screened iMac? Nope, I remember the nightmare of shiny CRTs too clearly. What about a Mac Pro? I design websites, I don't operate mission control, 8 cores is overkill for my needs. And an £1800 starting price? Forget it. So it looks like either I join the dark side and get used to Windows or I switch to Linux. I've been using <a href="http://www.ubuntu.com/">Ubuntu</a> on my Eee and I'm impressed with it. It even runs <a href="http://appdb.winehq.org/objectManager.php?sClass=application&#038;iId=17">Photoshop</a>. Then there's always <a href="http://www.virtualbox.org/">VirtualBox</a> to run anything that isn't covered on linux.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.diturner.co.uk/tech/apple-upgrades/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to setup SEO friendly URLs for WordPress on Zeus</title>
		<link>http://www.diturner.co.uk/webdesign/how-to-setup-seo-friendly-urls-for-wordpress-on-zeus/</link>
		<comments>http://www.diturner.co.uk/webdesign/how-to-setup-seo-friendly-urls-for-wordpress-on-zeus/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 21:38:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Web Design / Dev]]></category>

		<category><![CDATA[mod_rewrite]]></category>

		<category><![CDATA[permalinks]]></category>

		<category><![CDATA[seo]]></category>

		<category><![CDATA[zeus]]></category>

		<guid isPermaLink="false">http://www.diturner.co.uk/?p=232</guid>
		<description><![CDATA[This is the rewrite.script I use for setting up SEO friendly mod_rewrites for WordPress when hosting on the Zeus webserver.]]></description>
			<content:encoded><![CDATA[<p>Up until a year ago I'd only ever used Apache to host websites. At Oxeye Daisy we host on Zeus webservers. After a lot of fruitless searching on the internet for guides on how to setup SEO friendly permalinks for WordPress hosted on Zeus I stumbled upon the relevant code. I've finally got around to tweaking and commenting it. I thought I'd post it here in case anyone else is having the same trouble.</p>
<p>First you need to go to your WordPress admin page and set up the permalink structure in <strong>Options</strong> &gt; <strong>Permalinks</strong>. I've set mine to <code>/%year%/%monthnum%/%day%/%postname%/</code> but you may want something different.</p>
<p>The notes in the script assume the requested URL to be http://www.domain.co.uk/blog/2007/10/31/an-example-post/?color=red I've added the GET queries so you can see how they are handled, they're not used in WordPress. This URL is then translated into http://www.domain.co.uk/blog/index.php/2007/10/31/an-example-post/?color=red. Notice the index.php in the middle? That's the key bit to making all this work.</p>
<p>Save the following code in a file called rewrite.script and upload it to your web space. Note that you will need to uncomment some parts of the script depending on whether your blog is in a sub directory or the top level of your site.</p>
<p>The code is currently set to work with a sub directory of blog. It has only been tested on Namesco servers and it's set to ignore their specific hosting folders like webmail, controlpanel and tech_support.</p>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-2">
<div class="code">RULE_0_START:<br />
<span style="color:#FF9933; font-style:italic;"># Get the document root path and put value into the SCRATCH array.</span><br />
<span style="color:#FF9933; font-style:italic;"># This is the server path not the web URL.</span><br />
<span style="color:#FF9933; font-style:italic;"># e.g. /content/DesignerPlus/i/n/domain.co.uk/web/</span><br />
map path into SCRATCH:DOCROOT from /</p>
<p><span style="color:#FF9933; font-style:italic;"># Get the URL without the domain.</span><br />
<span style="color:#FF9933; font-style:italic;"># e.g. /test&amp;colour=red</span><br />
<span style="color:#FF9933; font-style:italic;"># e.g. /blog/2007/10/31/an-example-post/?color=red</span><br />
set SCRATCH:ORIG_URL = %<span style="">&#123;</span>URL<span style="">&#125;</span><br />
set SCRATCH:REQUEST_URI = %<span style="">&#123;</span>URL<span style="">&#125;</span></p>
<p><span style="color:#FF9933; font-style:italic;"># See if there are any queries in our URL.</span><br />
match URL into $ with ^<span style="">&#40;</span>.*<span style="">&#41;</span>\?<span style="">&#40;</span>.*<span style="">&#41;</span>$<br />
<span style="color:#FF9933; font-style:italic;"># If there are...</span><br />
if matched then<br />
&nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;"># Set a var to path without the domain part.</span><br />
&nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;"># e.g. /blog/2007/10/31/an-example-post</span><br />
&nbsp; &nbsp; set SCRATCH:REQUEST_URI = $<span style="color:#800000;">1</span><br />
&nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;"># Set a var to the passed queries.</span><br />
&nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;"># e.g. colour=red</span><br />
&nbsp; &nbsp; set SCRATCH:QUERY_STRING = $<span style="color:#800000;">2</span><br />
endif<br />
RULE_0_END:</p>
<p>RULE_1_START:<br />
<span style="color:#FF9933; font-style:italic;"># This is setting a var to the server path and sub folders.</span><br />
<span style="color:#FF9933; font-style:italic;"># e.g. /content/DesignerPlus/i/n/domain.co.uk/web//blog/2007/10/31/an-example-post</span><br />
set SCRATCH:REQUEST_FILENAME = %<span style="">&#123;</span>SCRATCH:DOCROOT<span style="">&#125;</span><br />
set SCRATCH:REQUEST_FILENAME . %<span style="">&#123;</span>SCRATCH:REQUEST_URI<span style="">&#125;</span></p>
<p><span style="color:#FF9933; font-style:italic;"># Check to see if the file exists.</span><br />
look for file at %<span style="">&#123;</span>SCRATCH:REQUEST_FILENAME<span style="">&#125;</span><br />
if not exists then<br />
&nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;"># The file wasn't found so is it a folder?</span><br />
&nbsp; &nbsp; look for dir at %<span style="">&#123;</span>SCRATCH:REQUEST_FILENAME<span style="">&#125;</span><br />
&nbsp; &nbsp; if not exists then<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;"># No folder either. So now check the URL for special hosting folders.</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; match SCRATCH:ORIG_URL into % with ^/webmail|^/tech_support|^/controlpanel<br />
&nbsp; &nbsp; &nbsp; &nbsp; if matched then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;"># If a special folder was requested end the script.</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; goto END<br />
&nbsp; &nbsp; &nbsp; &nbsp; else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;"># There were no files, folders or special folders so set the new URL.</span></p>
<p><span style="color:#FF9933; font-style:italic;"># -- Sub directory -------------------------------------------------------------</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;"># If the blog is in a sub directory...</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;"># e.g. /blog/index.php/2007/10/31/an-example-post</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; match SCRATCH:REQUEST_URI into $ with ^/blog<span style="">&#40;</span>.*<span style="">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if matched then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set URL = /blog/index.<span style="">php</span>$<span style="color:#800000;">1</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; endif<br />
<span style="color:#FF9933; font-style:italic;"># -- Sub directory ends --------------------------------------------------------</span></p>
<p><span style="color:#FF9933; font-style:italic;"># or...</span></p>
<p><span style="color:#FF9933; font-style:italic;"># -- Top level -----------------------------------------------------------------</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;"># If the blog is in the top level of the site...</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;"># e.g. /index.php/2007/10/31/an-example-post</span><br />
<span style="color:#FF9933; font-style:italic;">#&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;set URL = /index.php%{SCRATCH:REQUEST_URI}</span><br />
<span style="color:#FF9933; font-style:italic;"># -- Top level ends ------------------------------------------------------------</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;"># Go to the next rule.</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; goto RULE_2_START<br />
&nbsp; &nbsp; &nbsp; &nbsp; endif<br />
&nbsp; &nbsp; endif<br />
endif<br />
<span style="color:#FF9933; font-style:italic;"># If files or folders were found end the rewrite script.</span><br />
goto END<br />
RULE_1_END:</p>
<p>RULE_2_START:<br />
<span style="color:#FF9933; font-style:italic;"># Check for queries in the requested URL.</span><br />
match SCRATCH:ORIG_URL into % with \?<span style="">&#40;</span>.*<span style="">&#41;</span>$<br />
if matched then<br />
&nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;"># If queries were found add them to the new URL.</span><br />
&nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;"># e.g. /index.php/2007/10/31/an-example-post/&amp;colour=red</span><br />
&nbsp; &nbsp; set URL = %<span style="">&#123;</span>URL<span style="">&#125;</span>&amp;%<span style="">&#123;</span>SCRATCH:QUERY_STRING<span style="">&#125;</span><br />
endif</p>
<p><span style="color:#FF9933; font-style:italic;"># -- Sub directory -------------------------------------------------------------</span><br />
<span style="color:#FF9933; font-style:italic;"># If you only want to rewrite the sub directory uncomment this bit.</span><br />
match SCRATCH:ORIG_URL into % with ^/blog<br />
if matched then<br />
<span style="color:#FF9933; font-style:italic;"># -- Sub directory ends --------------------------------------------------------</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;"># End the script.</span><br />
&nbsp; &nbsp; goto END<br />
&nbsp; &nbsp; <br />
<span style="color:#FF9933; font-style:italic;"># -- Sub directory -------------------------------------------------------------</span><br />
endif<br />
<span style="color:#FF9933; font-style:italic;"># -- Sub directory ends --------------------------------------------------------</span><br />
RULE_2_END:</div>
</div>
</div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.diturner.co.uk/webdesign/how-to-setup-seo-friendly-urls-for-wordpress-on-zeus/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Linux versions of mac applications</title>
		<link>http://www.diturner.co.uk/tech/linux-versions-of-mac-applications/</link>
		<comments>http://www.diturner.co.uk/tech/linux-versions-of-mac-applications/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 19:18:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.diturner.co.uk/?p=231</guid>
		<description><![CDATA[This is a list of the software I've been using on linux, I've tried to find applications that seem as similar to mac apps I use.]]></description>
			<content:encoded><![CDATA[<p>A couple of months ago I gave up waiting for Apple to release a slight, small notebook. The Macbook Air is too big. I didn't need a paper-thin laptop that still required a large bag to put it in. I needed a small thing I could throw in my backpack and not have to make the daily decision as to whether I really needed to take it with me. Cue the Eee PC 901. I bought the XP version as I wasn't sure how I'd find working with linux. After about a week of using XP I wiped it and installed <a href="http://www.xubuntu.org/">Xubuntu</a>. It's lighter than <a href="http://www.ubuntu.com/">Ubuntu</a> as it uses <a href="http://www.xfce.org/">XFCE</a> rather than <a href="http://www.gnome.org/">Gnome</a> as its desktop. As a total mac-head I needed to find some equivalent apps to put on my new toy.</p>
<h2>The Easy Stuff</h2>
<p>Some apps didn't need replacing, <a href="http://www.mozilla-europe.org/en/firefox/">Firefox</a> is available for linux and Photoshop runs brilliantly under <a href="http://www.winehq.org/">Wine</a>. And of course linux has a Terminal.</p>
<h2>Text Editor</h2>
<p><strong>Mac: <a href="http://macromates.com/">TextMate</a><br />
Linux: <a href="http://www.jedit.org/">jEdit</a></strong></p>
<p>I've been using TextMate for <a href="http://www.diturner.co.uk/webdesign/my-best-textmate/">a while now</a>, it's probably my most used app, it's the only one I actually miss when using my laptop. jEdit is a reasonable substitute, it allows you to configure your own syntax colouring, so I copied my favourite TextMate colour scheme.</p>
<h2>FTP</h2>
<p>Mac: <a href="http://www.panic.com/transmit/">Transmit</a><br />
Linux: <a href="http://gftp.seul.org/">gFTP</a></p>
<p>Initially I tried <a href="http://filezilla-project.org/">FileZilla</a> but I had problems with it disconnecting from servers, it got painful having to navigate to the same folder over and over again each time I wanted to update a file. gFTP fixes this, plus it is quick to load and run.</p>
<h2>Chat</h2>
<p><strong>Mac: <a href="http://www.adiumx.com/">Adium</a><br />
Linux: <a href="http://www.pidgin.im/">Pidgin</a></strong></p>
<p>Pidgin is available for both windows and linux. It supports MSN, AIM, Google Talk, ICQ and Bonjour among others.</p>
<h2>Music Player</h2>
<p><strong>Mac: <a href="http://www.apple.com/itunes/">iTunes</a><br />
Linux: <a href="http://www.exaile.org/">Exaile</a></strong></p>
<p>Exaile doesn't do everything, it won't sync my iPod for instance. It does play MP3s however and that's all I needed.</p>
<h2>PDF Reader With Annotation</h2>
<p><strong>Mac: <a href="http://www.adobe.com/products/acrobatstd/">Adobe Acrobat</a><br />
Linux: <a href="http://www.docu-track.com/home/prod_user/PDF-XChange_Tools/pdfx_viewer">PDF Xchange Portable</a></strong></p>
<p>This one's a bit of a cheat, being a Windows app it needs to be run under Wine. I searched in vain for a native linux app that handled annotation in a standard way; I need to be able to read my annotations on my mac as well as my Eee. PDF Xchange Portable runs very well under Wine.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.diturner.co.uk/tech/linux-versions-of-mac-applications/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Phorm: round three</title>
		<link>http://www.diturner.co.uk/tech/phorm-round-three/</link>
		<comments>http://www.diturner.co.uk/tech/phorm-round-three/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 17:11:13 +0000</pubDate>
		<dc:creator>Di</dc:creator>
		
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.diturner.co.uk/?p=230</guid>
		<description><![CDATA[Tin foil hat time as round three of the Phorm trials start tomorrow.]]></description>
			<content:encoded><![CDATA[<p>Round three of the <a href="http://www.theregister.co.uk/2008/09/29/bt_phorm_trial_go/">Phorm</a> trials start tomorrow. If I were with BT / Talk Talk / Virgin Media I'd be seriously thinking of changing my ISP about now. Just the thought of all my HTTP traffic being monitored makes me twitch. After all, I am already paying for my ISP service, that surely should be enough. Greedy ISPs deserve to lose customers.</p>
<p>You can <a href="http://badphorm.co.uk/">read all about Phorm here</a> and <a href="http://www.dephormation.org.uk/">find some useful detection scripts here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.diturner.co.uk/tech/phorm-round-three/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Download and view local HTML files on an iPod Touch</title>
		<link>http://www.diturner.co.uk/tech/download-and-view-local-html-files-on-an-ipod-touch/</link>
		<comments>http://www.diturner.co.uk/tech/download-and-view-local-html-files-on-an-ipod-touch/#comments</comments>
		<pubDate>Thu, 18 Sep 2008 18:27:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Tech]]></category>

		<category><![CDATA[air sharing]]></category>

		<category><![CDATA[iPod]]></category>

		<category><![CDATA[jailbreak]]></category>

		<category><![CDATA[nano]]></category>

		<category><![CDATA[offline]]></category>

		<guid isPermaLink="false">http://www.diturner.co.uk/?p=229</guid>
		<description><![CDATA[A guide to downloading and viewing local HTML files on your jailbroken iPod/iPhone.]]></description>
			<content:encoded><![CDATA[<p>I keep a personal WordPress as a notebook online along with a page that allows me to save the entire contents for offline viewing. I thought it would be useful to have this file on my iPod. I've written up my method here in case someone else might find it useful. This guide makes the following assumptions:</p>
<ul>
<li>You have 2.* software jailbroken iPod</li>
<li>
		Using Cydia you have installed the following:</p>
<ul>
<li>Mobile Terminal</li>
<li>sudo</li>
<li>wget</li>
<li>file:// Schema in Safari</li>
</ul>
</li>
</ul>
<h3>Overview</h3>
<p>The aim is to have a simple command that can be run from the terminal on the iPod to download the HTML file. Safari is then used to view the file offline.</p>
<h3>Setting up the aliases</h3>
<p>Create a .bashrc file in your home directory, this is where we will store the alias settings. We will use Nano for this:</p>
<p><code>iPod:~ mobile$ <strong>nano .bashrc</strong></code></p>
<p>Hopefully your screen now looks something like the image below.</p>
<p><img src='http://www.diturner.co.uk/wp-content/uploads/2008/09/nano.gif' alt='Nano' /></p>
<p>I'm making an assumption about the filename you wish to give your downloaded HTML file, change it if you wish. In Nano you need to type the following:</p>
<p><code>alias notes='cd; mv notes.html notes~.html; wget http://www.domain.com/page.html --output-document=notes.html'</code></p>
<p>If, like me, the page you wish to download is behind a password change the <code>dlnotes</code> alias to the following, supplying your own username and password:</p>
<p><code>alias notes='cd; mv notes.html notes~.html; wget http://www.domain.com/page.html --http-user=<em>username</em> --http-password=<em>password</em> --output-document=notes.html'</code></p>
<p>That's it. You can now save your .bashrc file by typing CTRL-o and answering yes to the prompt. Quit Nano by typing CTRL-x.</p>
<p>The iPod doesn't always load the .bashrc file so we need to create a .profile page again using Nano and add the following code:</p>
<p><code>source $HOME/.bashrc</code></p>
<p>Finally you need to reload your .bashrc file:</p>
<p><code>iPod:~ mobile$ <strong>source .bashrc</strong></code></p>
<p>Whenever you want to grab your HTML page for offline viewing just open the terminal and type <code>notes</code>. Then view the file in Safari by typing in the URL <em>file://var/mobile/notes.html</em>, a copy of the old HTML file will have been saved too just in case. You can setup another alias to delete the backup in the same way above, the command would be:</p>
<p><code>alias delnotes='cd; rm notes~.html'</code></p>
<h3>Air Sharing</h3>
<p>If you use Air Sharing you may want your file to be saved in its directory and be available over a network. Below is a quick guide to finding where Air Sharing stores files.</p>
<p>Use Air Sharing to copy a file from your computer to your iPod, make its filename unique as you will need to search for it later on. e.g. <code>moocow.html</code></p>
<p>The rest of the work is done in the iPod Terminal. So grab your iPod and open the Terminal application. <strong>Note that I've highlighted the commands you type as bold.</strong></p>
<p>We can use the <code>locate</code> command to find the file. First you will need to update the locate database. This needs to be done as root. To change to the root user type the commands below. The password will be alpine unless you've changed it:</p>
<p>
	<code>iPod:~ mobile$ <strong>su</strong><br />
		Password:<strong><em>&lt;password&gt;</em></strong><br />
		iPod:/var/mobile root# <strong>updatedb</strong><br />
		iPod:/var/mobile root# <strong>exit</strong><br />
	</code>
</p>
<p>Next we search for the file you copied over with Air Sharing:</p>
<p><code>iPod:~ mobile$ <strong>locate moocow.html</strong></code></p>
<p>Note that it may take a few seconds to search, there are a lot of files on your iPod. You should get something back that looks like this:</p>
<p><code>/private/var/mobile/Applications/94724F2A-847G-371D-8H36-3DF5E659C9D2/Documents/Air\ Sharing/moocow.html</code></p>
<p>So now we know that Air Sharing stores its files here:</p>
<p><code>/private/var/mobile/Applications/94724F2A-847G-371D-8H36-3DF5E659C9D2/Documents/Air\ Sharing/</code></p>
<p>Using this information you can adjust the alias above to download your files directly to the Air Sharing directory.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.diturner.co.uk/tech/download-and-view-local-html-files-on-an-ipod-touch/feed/</wfw:commentRss>
		</item>
		<item>
		<title>More B-52s&#8230;</title>
		<link>http://www.diturner.co.uk/real-life/more-b-52s/</link>
		<comments>http://www.diturner.co.uk/real-life/more-b-52s/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 18:10:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Real Life]]></category>

		<category><![CDATA[birmingham]]></category>

		<category><![CDATA[Music]]></category>

		<category><![CDATA[the b-52s]]></category>

		<guid isPermaLink="false">http://www.diturner.co.uk/?p=222</guid>
		<description><![CDATA[Some YouTube videos from the Birmingham gig.]]></description>
			<content:encoded><![CDATA[<p>Found these videos on YouTube, Planet Claire was their third encore. Whoever filmed that one must have been stood just in front of us.</p>
<p><object width="595" height="379"><param name="movie" value="http://www.youtube.com/cp/vjVQa1PpcFP5EupKtBLKAmTqcX1L5bcgbo2sVvmCKHA="></param><embed src="http://www.youtube.com/cp/vjVQa1PpcFP5EupKtBLKAmTqcX1L5bcgbo2sVvmCKHA=" type="application/x-shockwave-flash" width="595" height="379"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.diturner.co.uk/real-life/more-b-52s/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The B-52s at the Birmingham Academy</title>
		<link>http://www.diturner.co.uk/real-life/the-b-52s-at-the-birmingham-academy/</link>
		<comments>http://www.diturner.co.uk/real-life/the-b-52s-at-the-birmingham-academy/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 16:14:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Real Life]]></category>

		<category><![CDATA[birmingham]]></category>

		<category><![CDATA[Music]]></category>

		<category><![CDATA[the b-52s]]></category>

		<guid isPermaLink="false">http://www.diturner.co.uk/?p=221</guid>
		<description><![CDATA[Finally got to see one of my favourite bands.]]></description>
			<content:encoded><![CDATA[<p><img src='http://www.diturner.co.uk/wp-content/uploads/2008/07/b52s2.jpg' alt='The B-52s' /></p>
<p>Went to see the B-52s last night at Birmingham Academy. We learned several things; GPS hardware doesn't like those underpass road bits they like in Brum and that maybe it would make more sense to go on the train - if they weren't so shite that is.</p>
<p>We got to the place at 7pm and joined the line outside. As there was no supporting act there was a bit of a wait till the B's hit the stage at 9.15ish. They played a good mix of <a href="http://www.last.fm/music/The+B-52%27s/_/Mesopotamia">old</a> and <a href="http://www.last.fm/music/The+B-52%27s/_/Funplex">new</a> songs, plus <a href="http://www.last.fm/music/The+B-52%27s/_/Love+Shack">Love Shack</a> and an encore of <a href="http://www.last.fm/music/The+B-52%27s/_/Rock+Lobster">Rock Lobster</a>. It was awesome :) Well worth enduring the headache inducing lights, particularly during <a href="http://www.last.fm/music/The+B-52%27s/_/Strobe+Light">Strobe Light</a>, a good test of my migraine reflecting green glasses of power.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.diturner.co.uk/real-life/the-b-52s-at-the-birmingham-academy/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
