<?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>Free Range Pixels &#187; Tech</title>
	<atom:link href="http://www.diturner.co.uk/category/tech/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.diturner.co.uk</link>
	<description>The home of Di Turner</description>
	<lastBuildDate>Mon, 31 May 2010 21:59:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>iPad, Mifi and T-Mobile broadband</title>
		<link>http://www.diturner.co.uk/2010/05/31/ipad-mifi-and-t-mobile-broadband/</link>
		<comments>http://www.diturner.co.uk/2010/05/31/ipad-mifi-and-t-mobile-broadband/#comments</comments>
		<pubDate>Mon, 31 May 2010 21:58:19 +0000</pubDate>
		<dc:creator>Di</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.diturner.co.uk/?p=444</guid>
		<description><![CDATA[As I already have a mobile broadband account with T-Mobile I didn&#8217;t see the need for me to spend £100 more on a 3G enabled iPad. I really object to this growing trend of expecting people to pay multiple times for stuff they already own, be it an ebook, music or internet access. Since I [...]]]></description>
			<content:encoded><![CDATA[<p>As I already have a mobile broadband account with T-Mobile I didn&#8217;t see the need for me to spend £100 more on a 3G enabled iPad. I really object to this growing trend of expecting people to pay multiple times for stuff they already own, be it an ebook, music or internet access. Since I couldn&#8217;t find a definitive answer to my question as to whether I could put my T-Mobile card into an unlocked Three Mifi I decided &#8220;what the hell, I&#8217;ll just go for it&#8221;. This blog post is really just to let anyone else know who&#8217;s wanting to run the same setup that <strong>yes, you can run a T-Mobile broadband sim card in an unlocked Mifi</strong> and it works brilliantly with an iPad.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.diturner.co.uk/2010/05/31/ipad-mifi-and-t-mobile-broadband/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>I won&#8217;t be buying an ebook reader yet</title>
		<link>http://www.diturner.co.uk/2009/09/24/i-wont-be-buying-an-ebook-reader-yet/</link>
		<comments>http://www.diturner.co.uk/2009/09/24/i-wont-be-buying-an-ebook-reader-yet/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 18:43:32 +0000</pubDate>
		<dc:creator>Di</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.diturner.co.uk/?p=407</guid>
		<description><![CDATA[Every so often I have a sneaky look at the latest ebook hardware in the hopes of seeing something that will fit my needs. I want to read mostly technical, text booky-type PDFs. So far only the Sony Reader Touch PRS-600 comes close. It handles PDFs and allows annotation. As it doesn&#8217;t store the annotations [...]]]></description>
			<content:encoded><![CDATA[<p>Every so often I have a sneaky look at the latest ebook hardware in the hopes of seeing something that will fit my needs. I want to read mostly technical, text booky-type PDFs. So far only the <a href="http://www.sonystyle.com/webapp/wcs/stores/servlet/ProductDisplay?storeId=10151&#038;catalogId=10551&#038;langId=-1&#038;productId=8198552921665921192">Sony Reader Touch PRS-600</a> comes close. It handles PDFs and allows annotation. As it doesn&#8217;t store the annotations inside the PDF they cannot be synced back to my computer for additions or rereading. What good is an annotation that&#8217;s stuck on a device?</p>
<p>This is my shopping list of features:</p>
<ul>
<li>Reads PDFs natively (i.e. no file conversion)</li>
<li>Allows PDF annotation</li>
<li>Syncs annotations back to computer where they can be read in Adobe Reader / Preview.</li>
<li>Screen large enough to allow comfortable reading without zooming</li>
</ul>
<p>As you can see it&#8217;s hardly a long list, most of it&#8217;s pretty basic too. For the sake of balance here&#8217;s a list of the features I really don&#8217;t need:</p>
<ul>
<li>An MP3 player</li>
<li>Mobile phone network connectivity</li>
<li>To be locked into one ebook supplier</li>
</ul>
<p>What I want to use this for is hardly groundbreaking and yet a device with the simple list of features does not exist &#8211; amongst ebook readers that is. Looks like I&#8217;ll be sticking with my phone which does read PDFs and has an annotation feature that syncs back to my computer. The only problem is I&#8217;m sure it will send me cross-eyed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.diturner.co.uk/2009/09/24/i-wont-be-buying-an-ebook-reader-yet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setup Googlemail push email</title>
		<link>http://www.diturner.co.uk/2009/07/18/setup-googlemail-push-email/</link>
		<comments>http://www.diturner.co.uk/2009/07/18/setup-googlemail-push-email/#comments</comments>
		<pubDate>Sat, 18 Jul 2009 22:35:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.diturner.co.uk/?p=307</guid>
		<description><![CDATA[A PHP script to check Googlemail and push a notification to an iPhone.]]></description>
			<content:encoded><![CDATA[<p>Google currently doesn&#8217;t offer push email on their mail service. Whilst there are plugins for various email clients and desktop widgets they require a constantly running desktop computer to work.</p>
<h2>What you will need</h2>
<p>- A push capable iPhone<br />
- Prowl for iPhone (setup and working)<br />
- A second googlemail account with IMAP switched on<br />
- A shell account to run a cron job<br />
- Hosting to run a PHP script<br />
- Be willing to add the email login details to the PHP script</p>
<h2>Setup</h2>
<p>Download and open the <a href="http://www.diturner.co.uk/downloads/mail.php.zip">mail.php</a> file. Add the email and password details from your second Googlemail account and your <a href="http://prowl.weks.net/">Prowl API key</a>. Create a folder, say gmailpush, on your PHP enabled hosting and upload mail.php into it. Set the permissions on mail.php to 711. You also need to upload the <a href="http://github.com/Fenric/ProwlPHP/">prowlPHP class file</a> to this same folder.</p>
<p>Next login to your shell account and setup a script to call the mail.php file. The shell script should look like this:</p>
<p><code>curl "http://www.domain.com/gmailpush/mail.php"</code></p>
<p>Set its permissions to 700.</p>
<p>Next you need to setup a cron job to run the shell script every five minutes. Still in your shell account type <code>crontab -e</code> to open your cron settings. The settings will be open in Vim. Put Vim into insert mode by pressing the <strong>i</strong> key. To set your previous shell script to run every five minutes type:</p>
<p><code>*/5 * * * * ~/shell_script.sh</code></p>
<p>Then save and close by hitting the <strong>escape</strong> key and typing <strong>:wq</strong> and pressing <strong>enter</strong>. You can <a href="http://en.wikipedia.org/wiki/Cron">read more about cron at Wikipedia</a>.</p>
<p>Finally you need to setup a forward on your main email account, I recommend the use of filtering to prevent any password related emails from being forwarded, since the password for the push email account is being stored online.</p>
<h2>What does the PHP script actually do?</h2>
<p>Logs into the Googlemail account and sends out a push notification for each message. The messages are then deleted, hence the need for a separate account.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.diturner.co.uk/2009/07/18/setup-googlemail-push-email/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing OS X on a Dell Mini 9</title>
		<link>http://www.diturner.co.uk/2009/04/02/installing-os-x-on-a-dell-mini-9/</link>
		<comments>http://www.diturner.co.uk/2009/04/02/installing-os-x-on-a-dell-mini-9/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 18:26:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[hackintosh]]></category>
		<category><![CDATA[os x]]></category>

		<guid isPermaLink="false">http://www.diturner.co.uk/?p=291</guid>
		<description><![CDATA[My account of how I installed OS X onto a Dell Mini 9.]]></description>
			<content:encoded><![CDATA[<p>Please not that these instructions are based largely on those on the <a href="http://www.mydellmini.com/forum/howto-install-os-x-on-the-mini9-boot132-official-thread-p2375.html#p2375">Dell Mini forum</a>, you should definitely read those before you start. This post it meant to fill in some of the gaps I found whilst installing.</p>
<h2>Things to do BEFORE installing OS X</h2>
<p>Before you start there are some thing you need to check whilst you have the original OS installed. Check that the wifi and bluetooth (if you bought that option) are switched on. People have had problems with being unable to switch these on post OS X install.</p>
<h3>Stuff you will need</h3>
<ul>
<li>Dell Mini 9 (Whilst it is possible to install OSX on the default 8GB drive it won&#8217;t be much fun to use. I opted for the 16GB and an 8GB SD card.)</li>
<li>A legal retail copy of Leopard</li>
<li><a href="http://www.mydellmini.com/forum/howto-install-os-x-on-the-mini9-boot132-official-thread-p2375.html#p2375">The Type 11 iso boot image</a></li>
</ul>
<p>Burn the Type 11 iso image to disk, if you don&#8217;t have an external drive you will need to use the <a href="http://www.mydellmini.com/forum/how-to-usb-install-no-dvd-drive--t421.html">USB method</a>. I had trouble booting my Leopard DVD so I used a CD of Type 11 and an SD card based OS X install.</p>
<p>If your OS X disk isn&#8217;t the latest version (10.5.6 as I write this) and you have another mac available it is quicker to download the combo 10.5.6 update from the Apple website rather than wait for the Mini 9 to use the Software Update.</p>
<h2>Installing OS X</h2>
<ol>
<li>
<p>Boot up the Mini 9 with the Type 11 disk (press 0 at boot to select the external drive). It should present you with a prompt. You now need to boot into the Leopard install. Press <strong>Enter</strong>, then follow the onscreen instructions for booting from Leopard. As I was using an SD card plugged into the right hand side USB slot I had to type 81. You should see the grey Leopard install screen.</p>
</li>
<li>
<p>Use the menu and choose Disk Utility to format your internal drive to Mac OS Extended. Do not to use Journaled or Case-sensitive (Case-sensitive won&#8217;t boot &#8211; I found this out the hard way).</p>
</li>
<li>
<p>Make sure you deselect the extra languages and printer divers, this saved several gigabytes of space for me. Apart from that follow the normal procedure for installing OS X, it will take about an hour. It is quite likely you will get a notification at the end that the install failed, ignore it.</p>
</li>
<li>
<p>Restart the machine, booting from the Type 11 disk again. This time at the relevant prompt select the internal drive to load Leopard off, should be <strong>80</strong>. Then on the final prompt type <strong>-f</strong> this should enable it to load without problems.</p>
</li>
<li>
<p>Update Leopard using either the Software Update option in the apple menu or the combo file you downloaded earlier.</p>
</li>
<li>
<p>Reboot from the Type 11 disk yet again. Same instructions as above.</p>
</li>
<li>
<p>Install the DellEFI app from the DellMini9Utils on the Type 11 disk.</p>
</li>
<li>If all went well you should be able to unplug the external boot device and boot up from the Mini 9&#8217;s drive.</li>
</ol>
<h2>Post install</h2>
<p>To enable sleep you need to disable Legacy USB Support in the Mini 9 bios settings.</p>
<p>Run a Time Machine backup, being a hackintosh things may not work in quite the same way as normal and this will save you a lot of time.</p>
<p>That&#8217;s it, you should be left with about 6Gb of space on the SSD to install any apps you want.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.diturner.co.uk/2009/04/02/installing-os-x-on-a-dell-mini-9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A little helper for the Stephen Fry L competition</title>
		<link>http://www.diturner.co.uk/2009/01/23/a-little-helper-for-the-stephen-fry-l-competition/</link>
		<comments>http://www.diturner.co.uk/2009/01/23/a-little-helper-for-the-stephen-fry-l-competition/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 00:35:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[L's]]></category>
		<category><![CDATA[stephen fry]]></category>

		<guid isPermaLink="false">http://www.diturner.co.uk/?p=253</guid>
		<description><![CDATA[Right, been trying this Stephen Fry L competition thing on Twitter but I'm not having much success. My mind wandered and I ended up writing this little helper form. It counts up all of the L's so you don't have to.]]></description>
			<content:encoded><![CDATA[<p>Right, been trying this Stephen Fry L competition thing on Twitter but I&#8217;m not having much success. My mind wandered and I ended up writing this little helper form. It counts up all of the L&#8217;s so you don&#8217;t have to. Please note that pasting may not count until you type a character. Sorry, but I did write this in about five minutes.<br />
<script type="text/javascript" src="http://www.diturner.co.uk/wp-content/themes/frp3/js/jquery.js"></script><br />
<script type="text/javascript">
	$(document).ready(function(){
		$("#comment").keyup( function() {
			var total = 140 - $("#comment").attr('value').length;
			$("#total").html(total);
			var comment = $("#comment").attr('value');
			var letters = comment.toLowerCase().split("l");
			$("#ls").html(letters.length-1);
		});
		$("#reset").click( function() {
			$("#comment").val('');
			$("#total").html(140);
			$("#ls").html(0);
		});
	});
</script></p>
<style type="text/css">
	#all-the-ls { width: 597px; }
	#all-the-ls #comment {
		padding: 5px;
		border: solid 1px #ddd;
		margin-bottom: 5px;
		width: 585px;
	}
	#all-the-ls .counters1, #all-the-ls .counters2 { float: left; width: 170px; }
	#all-the-ls #total, #all-the-ls #ls { color: #f6c; font-weight: bold; }
	#reset { float: right; }
</style>
<p></head></p>
<p><body></p>
<div id="all-the-ls">
<form><label>Test your comment&#8230;<textarea id="comment" cols="50" rows="3"></textarea></label></form>
<div class="counters1">Characters remaining: <span id="total">140</span></div>
<div class="counters2">Number of L&#8217;s: <span id="ls"></span></div>
<div class="reset">
<input type="button" name="reset" value="Reset" id="reset" /></div>
</div>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.diturner.co.uk/2009/01/23/a-little-helper-for-the-stephen-fry-l-competition/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Update Twitter from your iPhone via the command line</title>
		<link>http://www.diturner.co.uk/2009/01/16/update-twitter-from-your-iphone-via-the-command-line/</link>
		<comments>http://www.diturner.co.uk/2009/01/16/update-twitter-from-your-iphone-via-the-command-line/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 18:08:22 +0000</pubDate>
		<dc:creator>Di</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[ipod touch]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://www.diturner.co.uk/?p=239</guid>
		<description><![CDATA[A little shell script to send a Twitter update with wget.]]></description>
			<content:encoded><![CDATA[<p>This guide assumes you have a jailbroken iPhone or iPod Touch with MobileTerminal installed.</p>
<p>I have Twitterific on my iPhone, it&#8217;s a nice app but I&#8217;m using my iPhone on Orange and they are quite tight when it comes to decent internet access. I wanted to be able to update my Twitter feed without downloading all of the feeds that I follow. Answer: use wget to send an update.</p>
<p>As I didn&#8217;t want to have to type the lengthy wget command every time I set up a shell script to do this for me. Make sure you are in <code>/var/mobile</code> and then open nano with <code>nano twitter-update.sh</code></p>
<p>Type in the following script:<br />
<code>#! /bin/sh<br />
read -p "What are you doing?" -e tweet<br />
wget -q http://twitter.com/statuses/update.xml &#45;-http-user=<em>email</em> &#45;-http-password=<em>password</em> &#45;-post-data="status=$tweet"  >/dev/null<br />
echo "Done"</code></p>
<p>You need to change email and password to your Twitter login details. Save and close the file.</p>
<p>Next open your <code>.bashrc</code> file with nano and add an alias to save you typing <code>./twitter-update.sh</code>. Mine looks like this:<br />
<code>alias t='./twitter-update.sh'</code></p>
<p>Again save and close the file. Reload your .bashrc file with <code>source .bashrc</code>. That&#8217;s it. Now I can send a Twitter update by opening MobileTerminal and hitting &#8216;t&#8217;, then type in my tweet.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.diturner.co.uk/2009/01/16/update-twitter-from-your-iphone-via-the-command-line/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing Perl and the Lighttpd webserver on an iPhone</title>
		<link>http://www.diturner.co.uk/2009/01/13/installing-perl-and-the-lighttpd-webserver-on-an-iphone/</link>
		<comments>http://www.diturner.co.uk/2009/01/13/installing-perl-and-the-lighttpd-webserver-on-an-iphone/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 21:00:23 +0000</pubDate>
		<dc:creator>Di</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Web Design / Dev]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[webserver]]></category>

		<guid isPermaLink="false">http://www.diturner.co.uk/?p=238</guid>
		<description><![CDATA[A step by step guide on how to install a webserver with Perl on an iPhone or iPod Touch.]]></description>
			<content:encoded><![CDATA[<p>This guide assumes that you have jailbroken your iPhone with firmware 2.2 and have Cydia and MobileTerminal installed.</p>
<h2>Installing Lighttpd and Perl</h2>
<p>Open Cydia, go to the search tab and search for &#8216;lighttpd&#8217;. Click on the resulting listing and install Lighttpd.</p>
<p>To install Perl you need to add the <a href="http://coredev.nl">CoreDev</a> repository to Cydia. Open MobileTerminal and type the following:</p>
<p>(&#172; denotes a wrapped line.)</p>
<p><code>iPod:~ mobile$ <strong>wget http://coredev.nl/cydia/coredev.pub</strong><br />
iPod:~ mobile$ <strong>apt-key add coredev.pub</strong><br />
iPod:~ mobile$ <strong>echo 'deb http://coredev.nl/cydia iphone main' > /etc&#172;<br />
/apt/sources.list.d/coredev.nl.list</strong></code></p>
<p>Now when you run Cydia you should see the CoreDev repository in the sources list, look for an entry called something like Perl 5.x.x-x and install it.</p>
<h2>Configuring Lighttpd and Perl</h2>
<p>Lighttpd will install without a config file or a place to put your website HTML files so you now need to create these. Open MobileTerminal, you should find yourself at <code>/var/mobile</code>. If not, go there by typing the following and creating a folder called <strong>Sites</strong>:</p>
<p><code>iPod:~ mobile$ <strong>cd /var/mobile</strong><br />
iPod:~ mobile$ <strong>mkdir Sites</strong></code></p>
<p>Next you need to create the Lighttpd config file. Navigate to the <code>/usr/etc</code> folder and create the file <strong>lighttpd.conf</strong>:</p>
<p><code>iPod:~ mobile$ <strong>cd /usr/etc</strong><br />
iPod:~ mobile$ <strong>nano lighttpd.conf</strong></code></p>
<p>This will open the nano text editor. Type the following into your file:</p>
<p><code>server.document-root = "/var/mobile/Sites/"<br />
server.port = 80<br />
mimetype.assign = (<br />
&nbsp;&nbsp;&nbsp;&nbsp;".html" => "text/html",<br />
&nbsp;&nbsp;&nbsp;&nbsp;".txt" => "text/plain",<br />
&nbsp;&nbsp;&nbsp;&nbsp;".jpg" => "image/jpeg",<br />
&nbsp;&nbsp;&nbsp;&nbsp;".gif" => "image/gif"<br />
)<br />
server.modules += ( "mod_cgi" )<br />
cgi.assign = (<br />
&nbsp;&nbsp;&nbsp;&nbsp;".pl" => "/usr/bin/perl"<br />
)<br />
index-file.names = (<br />
&nbsp;&nbsp;&nbsp;&nbsp;"index.html",<br />
&nbsp;&nbsp;&nbsp;&nbsp;"index.pl"<br />
)</code></p>
<p>This is the minimum you need in your config file to run Lighttpd. This config sets the location of the folder that houses your HTML files that you created earlier, sets the port, assigns a few basic file types and tells Lighttpd where to find Perl.</p>
<p>Now save the file by swiping diagonally down and to the right onscreen until the cursor goes red, then press the letter O. To quit nano swipe diagonally down and to the right again and press X.</p>
<p>You can check the syntax of the config file by typing the following:</p>
<p><code>iPod:~ mobile$ <strong>lighttpd -t -f lighttpd.conf</strong></code></p>
<h2>Testing the webserver</h2>
<p>In order to test the webserver you need to create a test HTML file and save it to your <code>/var/mobile/Sites</code> folder as <strong>index.html</strong>.</p>
<p>Get the IP address of your iPhone in the network settings panel and make a note of it. Go back into MobileTerminal on your iPhone and type the following to temporarily activate Lighttpd:</p>
<p><code>iPod:~ mobile$ <strong>lighttpd -D -f lighttpd.conf</strong></code></p>
<p>Now try and load the iPhone&#8217;s IP address in a browser on your computer, you should see your test index.html file.</p>
<h2>Starting up Lighttpd automatically</h2>
<p>Open MobileTerminal, navigate to <code>/usr/bin</code> and create a shell script containing the previous start up command:</p>
<p><code>iPod:~ mobile$ <strong>cd /usr/bin</strong><br />
iPod:~ mobile$ <strong>nano lighttpd-startup</strong></code></p>
<p>Then inside nano:</p>
<p><code>#! /bin/sh<br />
lighttpd -D -f /usr/bin/lighttpd.conf</code></p>
<p>Save the file then and quit nano. This file needs to have its permissions altered to enable it to run:</p>
<p><code>iPod:~ mobile$ <strong>chmod 755 lighttpd-startup</strong></code></p>
<p>Now for the code to make the <strong>lighttpd-startup</strong> script run on start up:</p>
<p><code>iPod:~ mobile$ <strong>cd /System/Library/LaunchDaemons</strong><br />
iPod:~ mobile$ <strong>nano com.lighttpd.startup</strong></code></p>
<p>Again, inside nano type the following:</p>
<p>(&#172; denotes a wrapped line.)</p>
<p><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br />
&lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" &#172;<br />
"http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;<br />
&lt;plist version="1.0"&gt;<br />
&lt;dict&gt;<br />
&lt;key&gt;Label&lt;/key&gt;<br />
&lt;string&gt;com.lighttpd.startup&lt;/string&gt;<br />
&lt;key&gt;ProgramArguments&lt;/key&gt;<br />
&lt;array&gt;<br />
&lt;string&gt;/usr/bin/lighttpd-startup&lt;/string&gt;<br />
&lt;/array&gt;<br />
&lt;key>RunAtLoad&lt;/key&gt;<br />
&lt;true/&gt;<br />
&lt;/dict&gt;<br />
&lt;/plist&gt;</code></p>
<p>Save the file and close nano. Now the next time you restart your iPhone Lighttpd should automatically start up.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.diturner.co.uk/2009/01/13/installing-perl-and-the-lighttpd-webserver-on-an-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Offline WordPress released</title>
		<link>http://www.diturner.co.uk/2008/11/13/offline-wordpress-released/</link>
		<comments>http://www.diturner.co.uk/2008/11/13/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/2008/11/13/offline-wordpress-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The best todo app on the iPhone/iPod</title>
		<link>http://www.diturner.co.uk/2008/11/13/the-best-todo-app-on-the-iphone-ipod/</link>
		<comments>http://www.diturner.co.uk/2008/11/13/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/2008/11/13/the-best-todo-app-on-the-iphone-ipod/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apple &#8216;upgrades&#8217;</title>
		<link>http://www.diturner.co.uk/2008/10/16/apple-upgrades/</link>
		<comments>http://www.diturner.co.uk/2008/10/16/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&#8217;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&#8217;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 &#8220;if you want firewire buy a pro&#8221; is quite spectacularly idiotic. If your laptop is your only computer then fine, go pro. I however, already have a desktop, I don&#8217;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&#8217;t mind that my Eee PC only does USB, it cost less than £300, it&#8217;s not designed to be used solo. A MacBook is, or was.</p>
<p>I&#8217;m seriously questioning my commitment to using Apple computers. I&#8217;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&#8217;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&#8217;ve been using <a href="http://www.ubuntu.com/">Ubuntu</a> on my Eee and I&#8217;m impressed with it. It even runs <a href="http://appdb.winehq.org/objectManager.php?sClass=application&#038;iId=17">Photoshop</a>. Then there&#8217;s always <a href="http://www.virtualbox.org/">VirtualBox</a> to run anything that isn&#8217;t covered on linux.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.diturner.co.uk/2008/10/16/apple-upgrades/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
