<?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>Alex&#039;s Blog</title>
	<atom:link href="http://www.akb.id.au/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.akb.id.au</link>
	<description>web development, drupal, linux, travel, etc..</description>
	<lastBuildDate>Tue, 15 Jun 2010 13:55:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ipad: 2 weeks on</title>
		<link>http://www.akb.id.au/2010/ipad-2-weeks-on/</link>
		<comments>http://www.akb.id.au/2010/ipad-2-weeks-on/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 13:50:47 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://www.akb.id.au/?p=249</guid>
		<description><![CDATA[It&#8217;s been just over 2 weeks now since the release of the IPad in Australia, so as (to use Steve Job&#8217;s words) an &#8220;early adopter&#8221;, I thought I&#8217;d share my experiences for others considering the purchase.
First impressions of the exterior were: screen was smaller then I imagined, and it was a little heavier then I [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been just over 2 weeks now since the release of the IPad in Australia, so as (to use Steve Job&#8217;s words) an &#8220;early adopter&#8221;, I thought I&#8217;d share my experiences for others considering the purchase.</p>
<p>First impressions of the exterior were: screen was smaller then I imagined, and it was a little heavier then I expected too. Also, annoyingly (although not a surprise), before you can start using it, you need a computer with itunes installed to activate the device before it lets you do anything else. When you&#8217;re all activated you can begin playing:</p>
<p>The screen, whilst its a lot smaller than a standard laptop screen, when you start reading and/or watching video/viewing photos, you find its a completely perfect size. The clarity, brightness, and great colours it produces is second to nothing I&#8217;ve seen before. The touch screen is also very responsive, and is extremely smooth with navigating and dragging things around the panels, menus, etc.</p>
<p>The device is light enough to hold in one hand and type with the other, or alternatively rest it on your lap and touch type in landscape mode without it  burning a hole through your flesh (unlike a laptop). The other really neat thing is the battery life &#8211; you&#8217;ll get a good 10 hours doing high intensive tasks like video or 3G web browsing, or an hour or so longer if simply reading a document on ibooks.</p>
<p>After recovering from the initial awe, I tried installing a few apps,  and then considered how this device would fit into my lifestyle of  usually being around computers anyway. This is probably something I  should have considered before purchasing the $928 device (3G 32GB model), but how was I to know?</p>
<p>I commute to/from work each day. The particular route  is, suffice to say, a little dodgy at times, so  I&#8217;m probably not ready to casually use it in that environment just yet &#8211; perhaps in 6 months or a year, when other commuters are also using them, it might be ok..</p>
<p>So when else have I been using it: its pretty handy when you&#8217;re watching tv (sorta gives a new meaning to &#8216;couch surfing&#8217;). It has also been useful to check mail and things before bed, in the morning while eating breakfast, or for testing websites and things at work. I&#8217;m not sure yet, whether having the convenience during all of those activities was worth the nine hundred odd dollars though &#8211; maybe I&#8217;ll realise this as more native ipad apps are released.</p>
<p>Speaking of apps, below are a few I&#8217;ve been using lately:</p>
<ul>
<li> <a href="http://itunes.apple.com/us/app/tweetdeck-for-ipad/id364153769?mt=8" target="_blank">TweetDesk</a> &#8211; great twitter client</li>
<li><a href="http://itunes.apple.com/au/app/tvguide/id284944379?mt=8" target="_blank">tvGuide</a> &#8211; for checking whats on tv (yes, has all the Australian free to air channels)</li>
<li><a href="http://itunes.apple.com/au/app/weather-hd/id364193735?mt=8" target="_blank">Weather HD </a>- provides over the top animations and details of the weather forecasts in the configured areas.</li>
<li><a href="http://itunes.apple.com/au/app/wikipanion/id288349436?mt=8" target="_blank">Wikipanion</a> &#8211; easy to use interface for browsing wikipedia.org</li>
<li><a href="http://itunes.apple.com/au/app/quota-for-ipad/id368020518?mt=8" target="_blank">Quota</a> &#8211; for checking your service usage totals and other statistics. i.e. mobile phone call totals, internet quota, 3g usage, google analytics stats, traffic camers and lots more.</li>
<li><a href="http://itunes.apple.com/us/app/imdb-movies-tv/id342792525?mt=8" target="_blank">IMDb</a> &#8211; easy to use interface for browseing imdb.com &#8211; great if your on the couch watching a new movie and you want to check what an actor/actress&#8217;s name is, and what other films they&#8217;ve been in.</li>
<li><a href="http://itunes.apple.com/au/app/harbor-master-hd/id363658120?mt=8" target="_blank">Habor Master</a> &#8211; great fun but very addictive game about scheduling boats into a harbor.</li>
<li><a href="http://itunes.apple.com/us/app/goodreader-for-ipad/id363448914?mt=8" target="_blank">Good Reader</a> &#8211; lets you read all your docs and pdfs via google apps and other services.</li>
</ul>
<p>Unlike most apps on the itunes store, all the above, are purpose built for the IPad.</p>
<p>Ok, so a few downsides to the IPad:</p>
<ul>
<li>turning it off and on is a pain. If you use the pass code lock you have to enter it each time you want to turn it off. Obviously you can put the ipad to sleep without entering the pass code, but sleep uses battery that you don&#8217;t need it to waste.</li>
<li>as <a href="http://www.apple.com/hotnews/thoughts-on-flash/" target="_blank">you probably already know</a>, websites or website components that use flash won&#8217;t display in Safari (or other browsers). Whilst I&#8217;m use to this sort of thing with the <a href="https://addons.mozilla.org/en-US/firefox/addon/433/" target="_blank">flashblocker addon</a> in Firefox, it&#8217;s not something normal people (at least not until <a href="http://diveintohtml5.org/video.html" target="_blank">html5 is standardised</a>, but that&#8217;s another discussion) would tolerate. Note: youtube has already html5-ised their website so that its compatible with IPad and other devices so don&#8217;t worry there, but youtube isn&#8217;t the only website using flash.</li>
<li>the rich text editor in Wordpress&#8217;s admin area doesn&#8217;t work. I know there&#8217;s a <a href="http://iphone.wordpress.org/" target="_blank">wordpress app</a> to cater for this, but it doesn&#8217;t actually have a rich text editor itself, so writing posts like this one takes a lot longer then normal (even for a web developer!).</li>
<li>IPhone apps are designed to run on the IPhone, but the IPad lets you install them on the IPad anyway. This is where the &#8216;200,000 apps and counting&#8217; marketing pitch comes from in the IPad ads. If you try installing an iphone app though, to put it lightly, sucks! It uses a small part of the screen, or theres an option to enlarge it, but then it looks incredibly pixelated. The truth is (as of writing) there&#8217;s upwards of about 5000 native IPad apps.</li>
</ul>
<p>As you can see, there are plenty of good and bad things about the IPad. If you&#8217;re still sitting on the fence about whether to buy one or not, I recommend finding a friend who has one, and asking them to let you try it out, or if you don&#8217;t have any ipad friends, just go down to your local retailer and try out one of the devices they have on display.</p>
<p>I hope my notes above have provided an unbiased opinion, and will help you to make the right decision about whether to buy an IPad or not! Good luck.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.akb.id.au/2010/ipad-2-weeks-on/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>epub files with php</title>
		<link>http://www.akb.id.au/2010/epub-files-with-php/</link>
		<comments>http://www.akb.id.au/2010/epub-files-with-php/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 12:47:22 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.akb.id.au/?p=246</guid>
		<description><![CDATA[Note: The purpose of this post is not to go into detail about the epub standard, but to share a few tips and small hacks I came up with for dynamically creating  compliant epub files in PHP. If you&#8217;ve come here looking for details about the epub standard, look at   the end [...]]]></description>
			<content:encoded><![CDATA[<p>Note: The purpose of this post is not to go into detail about the epub standard, but to share a few tips and small hacks I came up with for dynamically creating  compliant epub files in PHP. If you&#8217;ve come here looking for details about the epub standard, look at   the end of this post for some handy reference links.</p>
<p>The <a href="http://en.wikipedia.org/wiki/Epub" target="_blank">epub file format</a> is an open e-book standard supported by a number of readers and tablet devices including Apple&#8217;s new iBooks store and the IPad. With the previous imminent release of the IPad in Australia, I recently had the task at work of creating an epub builder for the contents of a Drupal site.</p>
<p>The epub file format, is essentially a zip file renamed to an .epub. So the first thing you&#8217;ll want to do is <a href="http://www.epubbooks.com/" target="_blank">download an epub file from somewhere</a>, rename it to &lt;whatever&gt;.zip, extract it and review the different files and their content in your favorite text editor. The contents of most of these files, follow a number of standards set out by the <a href="http://www.idpf.org/" target="_blank">International Digital Publishing Forum</a>. You don&#8217;t have to know the in&#8217;s and outs of these standards, as they&#8217;re essentially just html and xml set out in a particular way. But if you use the example epub file you downloaded before, and reverse engineer things that way, you&#8217;ll get there eventually without spending weeks of study (arguably a bad thing, but who&#8217;s going to pay you to read 50 pages of a spec?).</p>
<p>There&#8217;s probably dozens of php libraries out there that will do zipping features for you, but the easiest way I found was just using PHP&#8217;s built in <a href="http://au.php.net/zip" target="_blank">Zip Archive</a> class. However, this class doesn&#8217;t support adding files to an archive that are uncompressed &#8211; which is required for the mimetype file of the epub file (as set out in the standard). Below is a small hack to get around this along with the basics of using the Zip Archive class.</p>
<pre class="brush: php;">
$filename = &quot;somefile.epub&quot;;
$mimetype = &quot;model/mimetype&quot;; // this file essentially contains &quot;application/epub+zip&quot; with no new line.

// note, the zip arguments tell zip to add this file to the archive as uncompressed. The epub standard requires the file be added at the start of the archive as uncompressed.
// you may need to do something different here if you're using a Windows server.
system(&quot;zip -q0Xj $filename $mimetype&quot;);

// For the rest of the epub file, lets use the easier ZipArchive php class.
$zip = new ZipArchive();

if ($zip-&gt;open($filename, ZIPARCHIVE::CREATE)!==TRUE) {
 // error out here
}

// Example of creating folders in the archive.
$zip-&gt;addEmptyDir(&quot;META-INF&quot;);

// Example of adding a file via the contents of another file
$contents = file_get_contents(&quot;model/article-template.html&quot;);
// perhaps do some preg replaces here to slap in your article contents from a database or other file.
$zip-&gt;addFromString(&quot;article_001.html&quot;, $contents);

// Example of adding a file to the archive directly from a file on the filesystem.
$zip-&gt;addFile(&quot;model/META-INF/container.xml&quot;, &quot;META-INF/container.xml&quot;);

// .. lots more to do here, as per the epub standard.
</pre>
<p>When you&#8217;ve dynamically built your epub file in full, you&#8217;ll want to test it out on your PC or Mac. <a href="http://www.adobe.com/products/digitaleditions/" target="_self">Adobe Digital Editions</a> (ADE) will do just that and its free. If your having trouble opening your epub files in ADE, turn on the logging opens in your preferences, and review the contents of your <a href="http://kb2.adobe.com/cps/403/kb403740.html" target="_blank">ADE log file &#8211; discussed here</a>.</p>
<p>You&#8217;ll also want to use the <a href="http://code.google.com/p/epubcheck/" target="_self">EPub validation tool</a> to ensure the epub file is suitable for the other readers out there.</p>
<p>If you want to allow dynamic downloading of epub files, you can do this with the following headers in php:</p>
<pre class="brush: php;">
header(&quot;Content-type: application/epub+zip&quot;);
header('Content-disposition:attachment;filename=&quot;somefilename.epub&quot;');
header('Content-Transfer-Encoding: binary');
readfile($filename);
</pre>
<p>That&#8217;s about it really. A few quick links:</p>
<ul>
<li><a href="http://www.idpf.org/" target="_blank">International Digital Publishing Forum</a> &#8211; contains full documentation on the epub standard</li>
<li><a href="http://en.wikipedia.org/wiki/Comparison_of_e-book_formats" target="_blank">Comparison of E-Book Formats</a> &#8211; helpful when navigating around the e-book world and helped to see why epub was a great format to support.</li>
<li><a href="http://www.adobe.com/products/digitaleditions/">Adobe Digital Editions</a> &#8211; a great tool for reviewing your epub files on PC or Mac.</li>
<li><a href="http://code.google.com/p/epubcheck/" target="_blank">EPub validation tool</a> &#8211; extremely helpful tool</li>
<li><a href="http://drupal.org/node/809818" target="_blank">Epub Drupal module</a> &#8211; supports exporting contents of the book module into epub &#8211; released very recently.</li>
</ul>
<p>Hopefully these notes can help someone else out there on the interwebs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.akb.id.au/2010/epub-files-with-php/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Notes on coverting to Mac</title>
		<link>http://www.akb.id.au/2010/notes-on-coverting-to-mac/</link>
		<comments>http://www.akb.id.au/2010/notes-on-coverting-to-mac/#comments</comments>
		<pubDate>Sat, 01 May 2010 01:40:41 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[apple]]></category>

		<guid isPermaLink="false">http://www.akb.id.au/?p=227</guid>
		<description><![CDATA[Like most people my age, I&#8217;ve been using Windows, in various flavours at home for over a decade now. Throughout this period, and prior  to this, about the only exposure I had to apple desktop products was back in my primary schools days, when my Mum brought home an Apple Macintosh to do her [...]]]></description>
			<content:encoded><![CDATA[<p>Like most people my age, I&#8217;ve been using Windows, in various flavours at home for over a decade now. Throughout this period, and prior  to this, about the only exposure I had to apple desktop products was back in my primary schools days, when my Mum brought home an Apple Macintosh to do her Thesis on (early 90&#8217;s) &#8211; in summary not a lot!</p>
<p>In the last year or two, Ubuntu was my primary desktop OS, but every now  and then when I wanted to use Photoshop, I had to boot into Windows. I  also had various performance &amp; compat issues in Ubuntu, like Flash,  ZDE, PS3 Media Server, etc.</p>
<p>So I was considering a Mac. Why a Mac? Well most applications support Mac, but it also implements a hierarchical file system, bash shell, and all the neat cmd line app&#8217;s you would expect in a Unix based OS. The downsides (I thought), were that they were significantly more expensive than a PC. But after doing a little comparison with pricing on Dell against a similarly spec&#8217;ed Mac-Mini, they came off roughly the same.</p>
<p>Sidenote: The Mac Mini is designed for PC users considering the switch to Mac. All  it comes with is the machine, power adapter and Mini DVI to DVI  converter. So basically, you can utilize all your existing PC  peripherals (monitor, keyboard, mouse, speakers) to keep the conversion cost down.</p>
<p>Anyway, a few weeks ago, after &#8216;umming and arring&#8217;,  I took the jump,  and  picked up a Mac Mini on sale at JB Hifi.</p>
<p>Below are a few lessons I learnt (hopefully they&#8217;ll save someone else some time):</p>
<ul>
<li>The basics:
<ul>
<li>The Finder application is like your windows explorer for mac.</li>
<li>Your control panel is top right apple icon-&gt;System Preferences.</li>
<li>The menu at the bottom (dock) has some neat options for auto hide, auto magnify, so take a look at the settings via System preferences. If you want app&#8217;s to stay in the dock: when they&#8217;re running. right click the icon and select &#8216;keep in dock&#8217;.</li>
<li>There&#8217;s heaps of other different UI stuff compared with Windows, but you&#8217;ll probably just pick it up without much fuss &#8211; its all designed to be intuitive.</li>
</ul>
</li>
<li>When you download applications, they normally extract with a single .app  file. An .app file is actually a <a href="http://en.wikipedia.org/wiki/APP_%28file_format%29" target="_blank">special directory that contains binaries</a> and other  files that relate to the application. It&#8217;s a pretty neat way of keeping  your file system neat and tidy though. However, you should be aware that  sometimes the apps need to write files to your filesystem, in which case  you will want to move them to your Applications folder, otherwise if you leave them on your desktop, or other places, they  may not work properly.</li>
<li>If you use a Microsoft keyboard,
<ul>
<li>during the keyboard setup step of your install, it may ask you about which key to use as the Command Key &#8216;<img src="http://km.support.apple.com/library/APPLE/APPLECARE_ALLGEOS/HT1343/ks_command.gif" alt="" width="9" height="9" />&#8216; &#8211; simply use your Start Menu key.</li>
<li>after installation, if you use your home and end keys a lot, they don&#8217;t seem to work very well in some applications, <a href="http://www.starryhope.com/tech/apple/2006/keyfixer/" target="_blank">this application can help with that</a>.</li>
</ul>
</li>
<li>If you love open source, and want a repository of applications you can call on to be easily installed, try <a href="http://www.darwinports.com" target="_blank">darwinports</a>. Personally, I had issues getting it running as it needed XPort from apple.com, which wasn&#8217;t easy to find, so I just gave up and learnt the apple replacement apps, i.e. instead of &#8220;wget&#8221;, use &#8220;curl -O&#8221;</li>
<li>(Australian specific) If you use iiNet as your ISP, the usage meter program from <a href="http://martybugs.net/software/iiUsage/" target="_blank">martybugs</a> is for windows only &#8211; but <a href="http://mac.softpedia.com/progDownload/iiUsage-Download-17151.html" target="_blank">a very good mac version exists here</a>.</li>
<li>If you use a program to periodically rotate your wallpaper images &#8211; don&#8217;t worry, because the Mac OSX software comes with this feature built into the OS.</li>
<li>The built in mail application that comes with Mac OSX is really smart &#8211; you give it your email address (i.e. joeblogs@gmail.com) and it works out for you all the incoming and outgoing mail server details! All you end up setting is the password!</li>
<li>I&#8217;ve only ever seen my firefox crash once, but when it did, you can&#8217;t kill it with an CTRL-ALT-DEL, but <a href="http://www.peachpit.com/guides/content.aspx?g=mac&amp;seqNum=171" target="_blank">there are alternatives</a>.</li>
<li>Lots of games you may have played in the past actually run pretty well on the Mac Mini. I installed World of Warcraft for a test run, and with the auto detect settings, it run a solid +30FPS throughout.</li>
<li>A good integrated development environment for PHP (and other languages too!) is: <a href="http://www.eclipse.org/downloads/" target="_blank">Eclipse</a></li>
<li>To mount web folders via SSH, use <a href="http://www.macfusionapp.org/" target="_blank">Mac Fusion</a> (which requires Mac Fuse too). To get it working in Snow Leopard, <a href="http://rackerhacker.com/2009/08/28/fix-macfusion-on-snow-leopard/#comment-16103" target="_blank">use this</a>.</li>
<li>A great light-weight editor to use (if you aren&#8217;t a vi/vim nutter) is <a href="http://macromates.com/" target="_blank">Textmate</a>. However it litters your folders with various meta files &#8211; to fix, follow these <a href="http://mattlangtree.com.au/2009-01-09/textmate-creating-dot-underscore-files.html" target="_blank">instructions</a>.</li>
</ul>
<p>That&#8217;s it for now &#8211; I&#8217;m sure there will be more soon!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.akb.id.au/2010/notes-on-coverting-to-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Melbourne Trip #3</title>
		<link>http://www.akb.id.au/2010/melbourne-trip-3/</link>
		<comments>http://www.akb.id.au/2010/melbourne-trip-3/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 12:34:39 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://www.akb.id.au/?p=197</guid>
		<description><![CDATA[A couple of weeks ago, my fiancée and I traveled to Melbourne to attend one of our good friends weddings Carlo &#38; Renee (Congrat&#8217;s guys!). Anyway, we spent a couple of nights in the city, and then a couple of nights up in the Dandenong Ranges. I learnt more about about Melbourne this time around [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of weeks ago, my fiancée and I traveled to Melbourne to attend one of our good friends weddings Carlo &amp; Renee (Congrat&#8217;s guys!). Anyway, we spent a couple of nights in the city, and then a couple of nights up in the Dandenong Ranges. I learnt more about about Melbourne this time around then I did the previous two times, so I thought I&#8217;d share:</p>
<p><strong>Melbourne City </strong><br />
After hearing this from two different people (<a href="http://twitter.com/johnlderry" target="_blank">@johnlderry</a> and the guys at the <a href="http://itomic.com.au/Contact/Web-Design-Melbourne" target="_blank">Melbourne Itomic office</a>), Melbourne has a very rich culture. However to experience it, you&#8217;ve got to go out of the CBD area (which I failed to do on my last two visits). A few of the cultural villages we managed to hit were:</p>
<ul>
<li>Lygon St, Cartlon &#8211; heaps of Italian restaurants, with really decent food! We went to a place called <a href="http://maps.google.com.au/maps?q=lygon%20st%20300&amp;oe=utf-8&amp;rls=com.ubuntu:en-US:unofficial&amp;client=firefox-a&amp;um=1&amp;ie=UTF-8&amp;sa=N&amp;hl=en&amp;tab=wl" target="_blank">Dimattinas</a> and thoroughly enjoyed a gnocchi and lamb shanks. My only regret was trying to eat the whole meal &#8211; I was way too full afterwards!</li>
<li>Bridge Rd, Richmond &#8211; outlet shopping without all the annoying crowds. There were a few dodgy places, but a few good places to shop here too. If you take a tram up Chapel St, and get off at Bridge Rd, you want to go West up Bridge Rd. Just walk up one side until you come to the main intersection and then walk back down the other side on the way back.</li>
<li>Swan St, Richmond &#8211; some weird furniture precinct. We didn&#8217;t stop here, but took marvel from the tram windows. It&#8217;s basically heaps of smaller version Ikea shops, but ones that sell quality &amp; unique stuff.</li>
<li>Chapel St Precinct &#8211; the North end is mainly all expensive boutique clothing stores, but towards the middle/south end, it gets more affordable. The Prahran Markets down this end &#8211; this was the biggest fresh food market I&#8217;ve seen. We had a really good valued breakfast at one of the cafe&#8217;s there.</li>
<li>There are heaps more though (Victoria St for Vietnamese, and so on..).  I hope to &#8216;do&#8217; them next time I go to Melbourne.</li>
</ul>
<p><strong>Dandenong Ranges, Yarra Vally</strong></p>
<p>Firstly here is an approximate plot of our journey:</p>
<div  style="text-align: center;"  class="xmlgmdiv" id="xmlgmdiv_4"><iframe class="xmlgm" id="xmlgm_4" src="http://www.akb.id.au/wp-content/plugins/xml-google-maps/xmlgooglemaps_show.php?kmlid=4" style="border: 0px; width: 450px; height: 350px;" name="Google_KML_Maps" frameborder="0"></iframe></div>
<p>This trip started getting interesting as we hit Monbulk road in the hills, and travelled through the windy roads of the Sherbrooke Forest Park. The vegetation here is apparently &#8217;sub tropical rainforrest&#8217; &#8211; its beautiful! And you get great views out to Melbourne. If views is what your after, you want to go to the &#8216;Sky High&#8217; lookout near the town of Olinda, which is $5 entry per car, but definitely worth the trip. When we visited, there was bad weather, so we couldn&#8217;t see so well unfortunately.Up in the same area is the award winning Pie Resturant &#8216;<a href="http://www.pieinthesky.net.au/" target="_blank">Pie in the Sky</a>&#8216; &#8211; be warned, there will be a queue for both the resturant and take away, but its well worth the wait!</p>
<p>We also took a quick dash to melbourne&#8217;s wine country, Yarra Glen. It was sort of like the Swan Valley that we have here in Perth, as it&#8217;s basically an hours drive out of the city, and then you get winery after winery. We only had time to visit one: <a href="http://www.yering.com/" target="_blank">Yerring Station</a>, which had a really impressive wine tasting setup, store and cafe. Wish we could have seen a few more!</p>
<p><strong>In Summary</strong></p>
<p>This is only a fraction of what you can get up to in Melbourne, so I hope to return one day and do some more exploring and blogging. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.akb.id.au/2010/melbourne-trip-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>blog defaced for 40 minutes</title>
		<link>http://www.akb.id.au/2010/blog-defaced-for-40-minutes/</link>
		<comments>http://www.akb.id.au/2010/blog-defaced-for-40-minutes/#comments</comments>
		<pubDate>Sun, 14 Mar 2010 13:56:57 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.akb.id.au/?p=193</guid>
		<description><![CDATA[This wasn&#8217;t anyone&#8217;s fault but my own (as I left Wordpress unpatched for a few months), but the other week, I found the blog had been replaced with the message  &#8216;F### the Israeli&#8217;s&#8217; and &#8216;you suck admin&#8217;.. etc. etc.
When the defacing occurred, for whatever reason (thankfully) wordpress sent me an email to say the admin [...]]]></description>
			<content:encoded><![CDATA[<p>This wasn&#8217;t anyone&#8217;s fault but my own (as I left Wordpress unpatched for a few months), but the other week, I found the blog had been replaced with the message  &#8216;F### the Israeli&#8217;s&#8217; and &#8216;you suck admin&#8217;.. etc. etc.</p>
<p>When the defacing occurred, for whatever reason (thankfully) wordpress sent me an email to say the admin user email address has changed. This was about 30-40 minutes before I got into work, so as soon as got to work, I was able to disable the site quickly and add a temporary message.</p>
<p>Anyway, I thought I&#8217;d post what I did to recover the blog, without loosing any date. If your doing this yourself, please note that this will definitely not fix all defacements, this is just a log of what I did to get things working again. Also you&#8217;ll need your ftp username &amp; password, and access to your mysql server (i.e. via phpmyadmin or direct mysql access):</p>
<ol>
<li>The first thing to do, is disable the site whilst you perform the fixes. So rename your public_html folder to something else (so it can&#8217;t be accessed from the web to be re-defaced). In this example we&#8217;ll call it &#8216;public_html_stuffed&#8217;.</li>
<li>Next, take a look in your uploads folder (public_html_stuffed/wp-content/uploads/) to see if there&#8217;s anything that was recently added to the site and looks suspicious. I found something called l_php.jpg which was actually ended up being some very cryptic php code if you open it up in an editor.</li>
<li>Now take a look in your theme folder (public_html_stuffed/wp-content/themes/alexs-blog) to see if there&#8217;s anything there that has also recently changed. I found the index.php file here which had all the markup you would see when visiting the site. I just purged the whole folder to be on the safe side (we&#8217;ll fix this later).</li>
<li>Next you want to download a copy of the latest wordpress installation from <a href="http://wordpress.org" target="_blank">wordpress.org</a>, unzip the contents and overwrite all the files in your public_html_stuffed folder with the new wordpress. This is to firstly upgrade to a safe version, but also to purge any system files that may have been altered by the crackers.</li>
<li>Now for the database changes: goto the wp_users table and edit user 1 (the admin user). Make sure this users email address is your own, and if its been changed, set it back. Also set the password field to empty (don&#8217;t worry about this, it won&#8217;t let anyone log in with an empty password but we&#8217;ll fix it in a minute anyway).</li>
<li>While we&#8217;re in the database, we&#8217;ll want to remove any new posts that look like they relate to the defacement &#8211; in my case, there was one post that mentioned the odd filename (l_php.jpg) I found in the uploads folder. So I simply deleted that row.</li>
<li>We should be safe now to move the site back to being web accessible, so rename your public_html_stuffed back to public_html.</li>
<li>Access the site&#8217;s admin login page and click the recover password link. Follow the instructions for resetting the admin user&#8217;s password.</li>
<li>When in your admin, reset the theme, or download a new theme and set it to this (if you deleted it entirely). You&#8217;ll also want to make sure all your plugins are updated too! To be on the safe side I also re-ran the wordpress update via the update section of the admin area.</li>
<li>Clear your browser cache, and then you should be done.</li>
</ol>
<p>In the process of doing the fix to my blog, I&#8217;ve also changed my theme &#8211; did anyone notice? probably not! <img src='http://www.akb.id.au/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Just a FYI: the <a href="http://codex.wordpress.org/WordPress_Versions" target="_blank">wordpress version</a> I was using when this all happened was 2.8.5 &#8211; so it was only 4 versions (6 months) since I updated.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.akb.id.au/2010/blog-defaced-for-40-minutes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>great 3rd party Drupal modules you might not have heard about</title>
		<link>http://www.akb.id.au/2009/great-3rd-party-drupal-modules/</link>
		<comments>http://www.akb.id.au/2009/great-3rd-party-drupal-modules/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 12:27:02 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Drupal]]></category>

		<guid isPermaLink="false">http://www.akb.id.au/?p=157</guid>
		<description><![CDATA[There are literally over 4500 3rd party modules for Drupal. So how does one know which modules to use? Whilst the Acquia distribution of Drupal covers all the really common, well maintained and useful 3rd party modules there are still a few other important ones that it misses out that you may not know about. [...]]]></description>
			<content:encoded><![CDATA[<p>There are literally over 4500 3rd party modules for Drupal. So how does one know which modules to use? Whilst the Acquia distribution of Drupal covers all the really common, well maintained and useful <a href="http://acquia.com/documentation/getting-started/acquia-drupal/modules" target="_blank">3rd party modules</a> there are still a few other important ones that it misses out that you may not know about. So what I&#8217;ve done below is list these out into categories, as well as talk a bit about why they are indeed so important. Note: these modules are targeted at general purpose/brochure sites.</p>
<h3>Administration Modules</h3>
<ul>
<li><a href="http://drupal.org/project/ctm" target="_blank">Menu Settings per Content Type</a><br />
When creating a node of any content types, the menu field will always be present. This module lets you enable/disable the menu field, as well as select which menu groups are selectable to a content type.</li>
<li><a href="http://drupal.org/project/better_formats" target="_blank">Better Formats</a><br />
Greatly improves the &#8216;input filter&#8217; features of textareas.</li>
<li><a href="http://drupal.org/project/tinymce_node_picker" target="_blank">TinyMCE Node Picker</a><br />
Adds a picker feature to TinyMCE for linking to internal pages.</li>
<li><a href="http://drupal.org/project/linkchecker" target="_blank">Link Checker</a><br />
Periodically checks content links to ensure they still work properly.</li>
<li><a href="http://drupal.org/project/vertical_tabs" target="_blank">Vertical Tabs</a><br />
Hides a lot of the really unnecessary system fields in node edit forms.</li>
</ul>
<h3>Front-end modules</h3>
<ul>
<li><a href="http://drupal.org/project/menu_block" target="_blank">Menu Block</a><br />
Allows you to create local menu blocks showing child items of the current page.</li>
<li><a href="http://drupal.org/project/site_map" target="_blank">Site map</a><br />
Provides a page view of the pages of the site in a hierarchical list.</li>
</ul>
<h3>SEO modules</h3>
<ul>
<li><a href="http://drupal.org/project/globalredirect" target="_blank">Global Redirect</a><br />
When you have pathalias and pathauto on, the urls of your nodes look all pretty, but can still be accessed on the internal url, such as node/&lt;node id&gt;. If google finds you duplicating content on too many urls, they may water down the importance of the content. So what this module does is ensure the node views are only accessible on the pathalias url.</li>
<li><a href="http://drupal.org/project/nodewords" target="_blank">Nodewords</a><br />
Whilst meta description and keywords are not so important now days, they still have a small place to play with the results pages for some search engines (like Yahoo). This module essentially allows you to set the meta description and keywords on a per node, per view basis.</li>
<li><a href="http://drupal.org/project/page_title" target="_blank">PageTitle</a><br />
Page Title simply allows you to set a custom title tag (used in head block of your markup) on a per node, per per view basis</li>
<li><a href="http://drupal.org/project/xmlsitemap" target="_blank">XML Sitemaps</a><br />
Automatically creates an xml sitemap to allow search engines to more intelligently index your site.</li>
</ul>
<h3>Other useful links</h3>
<ul>
<li><a href="http://www.lullabot.com/audiocast/lullabot-podcast-80-top-40-drupal-modules-revisited" target="_blank">Lullabot&#8217;s top 40 Modules</a></li>
<li><a href="http://drupal.org/project/usage" target="_blank">Module usage statistics</a></li>
<li><a href="http://acquia.com/documentation/getting-started/acquia-drupal/modules" target="_blank">Acquia 3rd party Module list</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.akb.id.au/2009/great-3rd-party-drupal-modules/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Europe Trip 2009 Summary/Tips</title>
		<link>http://www.akb.id.au/2009/europe-trip-2009-summarytips/</link>
		<comments>http://www.akb.id.au/2009/europe-trip-2009-summarytips/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 03:12:32 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://www.akb.id.au/?p=159</guid>
		<description><![CDATA[I&#8217;ve been back home for almost 4 weeks now, but am only just finding the time to write a bit of a summary of my partner (now fiancé!) and I&#8217;s first trip around Europe! Yes, I&#8217;m engaged! I&#8217;d be a pretty bad future husband if I didn&#8217;t mention this in the first paragraph, wouldn&#8217;t I! [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been back home for almost 4 weeks now, but am only just finding the time to write a bit of a summary of my partner (now fiancé!) and I&#8217;s first trip around Europe! Yes, I&#8217;m engaged! I&#8217;d be a pretty bad future husband if I didn&#8217;t mention this in the first paragraph, wouldn&#8217;t I! Still can&#8217;t believe it, but I&#8217;ll reveal the details to those who I know in person, sorry! This post is mainly about sharing the lessons (both the easy and hard ways) we learnt on our trip.</p>
<p>Below is an approximate route of our journey through Europe:</p>
<div  style="text-align: center;"  class="xmlgmdiv" id="xmlgmdiv_2"><iframe class="xmlgm" id="xmlgm_2" src="http://www.akb.id.au/wp-content/plugins/xml-google-maps/xmlgooglemaps_show.php?kmlid=2" style="border: 0px; width: 450px; height: 350px;" name="Google_KML_Maps" frameborder="0"></iframe></div>
<h3>London, UK</h3>
<p>Massive, vibrant, old/new, clean/dirty, efficient, relatively affordable! We stayed with my very hospitable cousin in East London (which despite the bad reputation for the area) seemed really safe, and convenient, since it was only a 10 min bus and 10 min tube ride to city centre. Tips as follows:</p>
<ul>
<li>Learning to navigate the various tubes lines is a requirement! They&#8217;re fast and regular, and theres stops near just about everything. Get yourself an Oyster card and add credit as needed, as it makes getting on and off, really easy. You&#8217;ll also want a tube map as well as a normal street map and use the indexes in both to work out the best route. The Bus system in London is also just as reliable &#8211; most come every 5 or 10 minutes, and have priority in the traffic too.</li>
<li>If your a museum/sites type, and want to really absorb stuff, give yourself at least half a day for all the majors. There&#8217;s heaps of museum&#8217;s, but of the ones we visited: <a href="http://www.nhm.ac.uk/" target="_blank">National History Museum</a> and <a href="http://www.westminster-abbey.org/" target="_blank">Westminister Abbey</a> &#8211; we could have spent agers there if we had the time.</li>
<li>Make sure to check out the <a href="http://www.londoneye.com/" target="_blank">London Eye</a>, but don&#8217;t bother with the more expensive fast queue tickets, as the normal queue is pretty fast anyway. Also don&#8217;t miss the 4D cinema experience which comes free with all Eye tickets &#8211; don&#8217;t be afraid, its actually pretty entertaining!</li>
<li>Other cool things to check out are the markets Covert Gardens. On a weekend they have all these street busker&#8217;s that are actually really entertaining. The London Transport Museum is here too, which isn&#8217;t too bad if you were obsessed with the tubes like us! Also check out the Harrods department store, and go to a Westend show, like the Lion King &#8211; was freaking fantastic (even if your non-theater type like me!).</li>
</ul>
<h3>Munich, Germany</h3>
<p>Modern, well maintained, boozey!, beautiful, friendly! Tips as follows:</p>
<ul>
<li>Don&#8217;t be too worried about the language barrier &#8211; most Germans speak English! That&#8217;s of course if you can find locals. When we went (during Oktoberfest), there were heaps of other Australians there, so it was a really friendly environment. To be on the safe side just learn the basics, Thankyou very much, Sorry, etc.</li>
<li><a href="http://en.wikipedia.org/wiki/Oktoberfest">Oktoberfest</a> is such a crazy festival, I&#8217;d never expected it to be so huge and so happy. The beer at Oktoberfest is specially brewed to have a higher alcohol content, so take all the normal precautions, i.e. remember to eat a decent meal before you start drinking the beer. We filled up on beer pretty quickly and didn&#8217;t last very long at all (only 3 Steins, whilst most people were doing 6-8 a day).</li>
<li>Oktoberfest goes for 2 weeks, but if you want a no fuss drinking session, attend the event during the weekdays (Mon-Thur) and start around 1PM. If you get there later in the day, or if you go instead on weekends, you apparently won&#8217;t get in, due to all the table bookings. We went on a Tuesday at 12PM, and no trouble getting in to the main english tent Hofbräu-Festzelt and later that evening into the Löwenbräu-Festhalle!</li>
<li>If visiting Munich for Oktoberfest, also allocate some time to do a few non-boozy things &#8211; the city has a lot of history from WW2, and the like. Check out the first Nazi Concentration camp: <a href="http://en.wikipedia.org/wiki/Dachau_concentration_camp">Dachau</a>, King Ludwig&#8217;s 18th century Castle: <a href="http://en.wikipedia.org/wiki/Neuschwanstein_Castle">Neuschwanstein Castle</a>, and <a href="http://en.wikipedia.org/wiki/Marienplatz">Marienplatz</a> in the city centre. There&#8217;s heaps of other great things to do there, like bike tours to the Gardens, etc, but we didn&#8217;t get a chance to do that, unfortunately.</li>
<li>For decent priced &amp; tasting food, check out Augustina Brewery &#8211; we went there for dinner just about every night! It was conveniently across the road from our hostel: <a href="http://www.meininger-hotels.com/">Meininger</a>, which is also conveniently close to Oktoberfest.</li>
</ul>
<h3>Ossoppo, Italy</h3>
<p>A small, quiet country town in the north east of Italy, about 3 hours drive from Venice. We got here, via a <a href="http://www.Trenitalia.it" target="_blank">Trenitalia</a> train direct from Munich to Trento station, which wasn&#8217;t too bad going through the alps and then a car ride to Ossoppo. We stayed here with Katrina&#8217;s Aunty and had a really relaxing rest away from the bustling cities. The homes in the Italian Country are really different to Australia &#8211; they have all the homes packed up next to one another and then the gardens &amp; paddocks are all together next to each other down the road. Speaking of roads, the driving there is really slack, no one really indicates, and people rarely keep left on multi lane roads. I may sound a bit negative, but I don&#8217;t mean to be, the place was so quiet and friendly &#8211; everyone in the town knew everyone, and its surrounded by the beautiful Alp mountain range.</p>
<h3>Venice, Italy</h3>
<p>Canels, culture and history! When you step off the train, its all just hustle and bustle with tourists and dodgy sales people swarming everywhere. Tips:</p>
<ul>
<li>It&#8217;s definitely one of those cities you&#8217;ve got to see &#8211; but give yourself at least a few nights here. We only stayed 2 nights due to our busy schedule, and only started to settle in and relax the night before we left.</li>
<li>If you want to get around the various islands yourself, get the 24 or 48 hour water bus passes, and <a href="http://www.venicewelcome.com/actv/linee-centro-g.gif" target="_blank">hop on and off whenever you please</a>. Get them from the vendors at any water bus stop. They also have combo deals with a pass to get into a bunch of museums pre-paid, so ask them about that too, to save a few Euro.</li>
<li>Avoid the famous sites of St Marco square anytime before 11AM, because from this time onwards, it&#8217;s basically impossible to walk around without getting a few squashed toes or a few bumps and bruises (yes!).</li>
<li>As mentioned, theres heaps of tourists around and a lot of them are 50+. So if you&#8217;re looking for a break, check out the<a href="http://veniceblog.typepad.com/veniceblog/rossa.jpg"> Caffe Rossa, Santa Margherita</a> to the south west of the islands. It&#8217;s a little walk away from the main tousty area, but its where all the 20-30 year old&#8217;s hang out and drink copious quantities of Campari in the form of a cocktail called a <a href="http://en.wikipedia.org/wiki/Spritz_%28alcoholic_beverage%29">Spritz</a>. For 2.20 Euro you can&#8217;t go wrong!</li>
<li>Getting to and from the Venice airport: the quickest and cheapest way is via a bus. It&#8217;s something like a 2 zone trip (3-4 Euro) and only takes 15 minutes, rather then using a water taxi, or other transport.</li>
</ul>
<h3>Paris, France</h3>
<p>Culture shock!</p>
<ul>
<li>If you&#8217;re visiting Paris, do your very best to learn a bit of French. &#8216;Parley vou Ongley&#8217; and &#8216;Merci Bookoo&#8217; were really not enough, you need to learn a few more lines then that.</li>
<li>Like London, the city underground train system is fantastic. Get yourself a Navi-go card and again (like the Oyster card in London) add credit as needed, or get all-day zone 3 or 5 features added to the card. Get the Metro map and a decent street map too.</li>
<li>If you&#8217;ve read <a href="http://en.wikipedia.org/wiki/The_Da_Vinci_Code" target="_blank">The Davinci code</a> or seen the movie, check out the <a href="http://en.wikipedia.org/wiki/Louvre" target="_blank">Louvre</a> of course, its really massive! The museum has heaps of different sections, but the one you probably want is the Italian Art section where has all of Davinci&#8217;s works and the like. If you&#8217;re a little clueless on the art scene like myself, grab an audio commentary device (although a bit pricey) they really help to make you understand the stories that these ancient paintings tell. Allocate at a bare minimum at least half a day to this place, as there really is a lot to absorb.</li>
<li>Paris is quite expensive, so be prepared for it: 4 Euro coffee&#8217;s, and 115 Euro per night rates for a small room in the city &#8211; its really over the top. To keep costs down find the super markets and buy your meals there most of the time and then just splurge a little at a nice restaurant at least once.</li>
<li>Tower Eiffel is freakin massive &#8211; I would have never thought. Avoid visiting around 7PM, because this is when the lines start going really slowly, as they let pre-booked guests of the restaurant jump the queue! It&#8217;s also worth paying the little bit extra to get access to the top floor &#8211; just do it, its amazing!</li>
<li>Palace Versailles is also worth a visit. It&#8217;s where Napoleon use you to hang out, and its also where the WW2 peace treaty was signed. The palace has some great art, and the massive gardens surrounding it which can be explored with golf buggy&#8217;s (although we didn&#8217;t have time for this). It&#8217;s definitely a full day trip.</li>
</ul>
<h3>Amsterdam, Holland</h3>
<p>This place rocks, and was a nice change from Paris.</p>
<ul>
<li>All dutch people speak English, so there&#8217;s basically zero language barrier. After trying to learn 3 languages in about 2 weeks, we really didn&#8217;t have any time or patience to learn another (Dutch is also apparently a lot harder then most other European languages).</li>
<li>Check out the coffee shops, but apparently go easy on the space cakes &#8211; they take at least 40 minutes to kick in. If you&#8217;re one of those types that wants to try everything, they <a href="http://en.wikipedia.org/wiki/Drug_policy_of_the_Netherlands#Bill_banning_.22Magic_mushrooms.22">don&#8217;t sell Magic mushrooms there anymore</a> (due to a recent controversies involving tourists) but they do sell the truffles (roots/stalks) of the mushrooms which apparently have the same effect. All at your own risk of course!</li>
<li>With all the dodgy stuff that happens there in terms of drugs and prostitution, we actually felt really safe here. You can walk around at 1AM in the morning, and have nothing to worry about, because theres always people out and about (mostly being entertained themselves).</li>
<li>The <a href="http://www.heineken.com">Heineken Museum</a> is worth a visit, with 3 free beers included and another 4D cinema experience (they call it &#8220;brewing you&#8221;). The Vodka museum is also interesting, and only costs around $7 Euro.</li>
<li>If staying at a hotel, checkout the tourist brochures and pamphlets at the front desk &#8211; they usually have discounts written on them for museum entry and souvenir shop purchases.</li>
</ul>
<h3>Southhampton, UK</h3>
<p>We took an overnight visit down to Southhampton and hired a small vechicle from Europ car and visited the <a href="http://en.wikipedia.org/wiki/Stonehenge" target="_blank">Stonehenges</a>. You may say, its just a bunch of rocks, why would you waste all the time and money? I&#8217;d probably say the same thing about Wave Rock here in Western Australia, but I dunno, I really liked visiting the Stonehenges &#8211; there&#8217;s something about 4000 year old rocks  that mysteriously came to rest from a place far far away. It was also a nice way to see the British country side. We stayed with Katrina&#8217;s Aunty in a small town out of Romney (near Southhampton) that not even the GPS could find &#8211; so don&#8217;t rely completely on these things &#8211; get a map too (any service station should have one)!. Another quick tip for hiring a car: with an Australian License, I had no trouble what so ever hiring the car in the UK, i.e. I didn&#8217;t need any sort of &#8216;international license&#8217;, so no fuss there.</p>
<h3>General long haul Europe travel tips:</h3>
<ul>
<li>Whenever landing in a new city, getting a decent map is critical! I&#8217;m not talking some free commercialized version, I mean paying 5-10 Euro to get one that actually has the street names on and comes with an Index. It saves a lot of hassle and headaches!</li>
<li>The <a href="http://www.neweuropetours.eu/">New Europe tours</a> are really well worth it and the tour guides are extremely knowledgeable. We went on a total of 4 New Europe tours around Europe and of the 4 different tour guides, every single one of them were really friendly and had so many stories to share!</li>
<li>When getting from one city to the next, investigate all forms of transport, be in plane, train, bus or ferry. In some cases, planes were cheaper, and other cases trains were. <a href="http://www.Kayak.com" target="_blank">Kayak.com</a> has a great system to search all the airlines for you. For trains, these differ for each country, and we found it best to book when you are actually at the origin &#8211; as the online systems seemed to always be more expensive (not sure if theres commissions there or something).</li>
<li>Pack lite when you first leave, cause you&#8217;re going to bring a heap of crap back home for sure! Try save your present hunting until the last destination, but always pick up a few bits and pieces along the way, because you&#8217;ll never get a chance to get them again. The souvenirs you buy from dodgy looking street markets are often the cheapest, compared with proper shops or the airports.</li>
<li>Have an open mind &#8211; and don&#8217;t show it if you get offended or upset! Your the tourist, so you should be offended but that&#8217;s what its all about, just don&#8217;t take it out on the locals.</li>
</ul>
<p>Hopefully this tip list can help at least one budget traveller out there! Happy and Safe travels.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.akb.id.au/2009/europe-trip-2009-summarytips/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Upgrade Drupal from 5.x to 6.x</title>
		<link>http://www.akb.id.au/2009/upgrade-drupal-from-5-x-to-6-x/</link>
		<comments>http://www.akb.id.au/2009/upgrade-drupal-from-5-x-to-6-x/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 14:00:53 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Drupal]]></category>

		<guid isPermaLink="false">http://www.akb.id.au/?p=152</guid>
		<description><![CDATA[Continuing on from &#8216;Upgrading a Drupal 4.7.x site to 5.x&#8217; below are some notes after upgrading the same install from 5.x to the latest 6.x version of Drupal. Most of what I did followed the instructions found in this screencast by greggles &#8211; watch it from start to finish, making notes where possible!

For all 3rd [...]]]></description>
			<content:encoded><![CDATA[<p>Continuing on from <a title="Upgrading a Drupal 4.7.x site to 5.x" rel="bookmark" href="../2009/07/05/upgrading-a-drupal-4-7-x-site-to-5-x/">&#8216;Upgrading a Drupal 4.7.x site to 5.x&#8217;</a> below are some notes after upgrading the same install from 5.x to the latest 6.x version of Drupal. Most of what I did followed the instructions found in <a href="http://www.masteringdrupal.com/screencast/upgrading-to-drupal-6" target="_blank">this screencast by greggles</a> &#8211; watch it from start to finish, making notes where possible!</p>
<ul>
<li>For all 3rd party modules, first make sure a Drupal 6.x version exists! (if it doesn&#8217;t, see the next point).</li>
<li>If you have any custom themes or modules you&#8217;ve developed, you&#8217;re going to need to re-write some parts of them. The quickest way to do this, is to install the <a href="http://drupal.org/project/coder" target="_blank">coder module</a>, which (when instructed) will scan your source code and tell you exactly what needs to be changed and directs you to the relevant section in the <a href="http://drupal.org/update/modules/5/6" target="_blank">Drupal 6.x API changes doc</a>. It&#8217;s a pretty sweet module and the documentation there rocks too!</li>
<li>If the site you&#8217;re upgrading was at one stage version 4.x of Drupal, and you get an error in the initial run of update.php about &#8220;Unknown column &#8216;language&#8217; in &#8216;where clause&#8217;&#8221; &#8211; this is normal, just manually correct the table, as per the following drupal.org thread: <a href="http://drupal.org/node/194588#comment-1917000" target="_blank">Upgrading from D5 -&gt; D6 url_alias field errors prevent upgrade, manual bootstrap necessary</a>.</li>
<li>When you&#8217;ve finished re-writing your custom Drupal theme to be compatible with 6.x, make sure you Clear the Drupal internal cache, either from the menu option &#8216;Flush tables&#8217; provided by the <a href="http://drupal.org/project/admin_menu">admin_menu</a> module, or by truncating the contents of the cache_* tables.</li>
<li>If you use the <a href="http://drupal.org/project/nice_menus">nice_menus</a> module, and use a custom css file, you&#8217;ll need to reset the custom path location of the css file (set in Site Building-&gt;Themes-&gt;Configure-&gt;Global Settings).</li>
<li>If you have some custom menu groups, by default they are set not to expand &#8211; if your themes were expecting them to show all the contents simply set them to expand via the Site Building-&gt;Menu&#8217;s section.</li>
</ul>
<p>As you can see, it&#8217;s a lot easier upgrading from 5.x to 6.x then <a href="../2009/07/05/upgrading-a-drupal-4-7-x-site-to-5-x/">4.x to 5.x</a>!</p>
<p>So what&#8217;s next then? Drupal 7.0 of course! It&#8217;s due out in early 2010 and will feature major improvements in usability, automatic module updates, a fields api <a href="http://drupal.org/node/156281" target="_blank">and much much more</a>. The development version is <a href="http://buytaert.net/drupal-7-code-freeze-september-1st">due to be frozen in a week&#8217;s time</a>, leaving a good 5-6 months of bug fixing (see <a href="http://twitter.com/webchick" target="_blank">webhick&#8217;s twitter profile &#8211; the honourably D7.0 co-maintainer</a>). For more info about the 7.0 features, also checkout the <a title="Drupal 7 user experience" href="http://d7ux.org">D7UX.org</a> website!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.akb.id.au/2009/upgrade-drupal-from-5-x-to-6-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>post magento construction notes</title>
		<link>http://www.akb.id.au/2009/post-magento-construction-notes/</link>
		<comments>http://www.akb.id.au/2009/post-magento-construction-notes/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 11:48:30 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[Web-Development]]></category>

		<guid isPermaLink="false">http://www.akb.id.au/?p=146</guid>
		<description><![CDATA[Below are a few issues I had whilst recently developing an ecommerce site using Magento.
Functionality Issues:

The option in the Site Configuration to &#8220;Disable One Page checkout&#8221; actually disables the checkout entirely (Disable One Page checkout).
You have to install an extension to be able to edit email templates, without them being replaced when you upgrade the [...]]]></description>
			<content:encoded><![CDATA[<p>Below are a few issues I had whilst recently developing an ecommerce site using <a href="http://www.magentocommerce.com/" target="_blank">Magento</a>.</p>
<p><strong>Functionality Issues:</strong></p>
<ul>
<li>The option in the Site Configuration to &#8220;Disable One Page checkout&#8221; actually disables the checkout entirely (<a href="http://www.magentocommerce.com/boards/viewthread/23432/" target="_blank">Disable One Page checkout</a>).</li>
<li>You have to install an extension to be able to edit email templates, without them being replaced when you upgrade the Magento Core (<a href="http://www.magentocommerce.com/extension/1416/cls-upgrade-proof-email-templates" target="_blank">CLS Upgrade-proof Email Templates</a>).</li>
<li> I installed an upgrade to an extension (Securepay integration) via the Magento connector, and due to an sql issue, the whole site died with debug info on the homepage. I ended up having to restore my backup and then not upgrade to the bad version of the plugin.</li>
<li>Page loads are really really slow although it appears to have been improved in the latest 1.3.2.3.</li>
</ul>
<p><strong>General Magento website issues:</strong></p>
<ul>
<li>You can&#8217;t actually download the magento package directly (via another machine) from the link issued when visiting their website! They have some sort of cookie check &#8211; which means when you want to download the package to a server, you have to open up lynx and go through a bunch of pages rather then a simple wget command.</li>
<li> The handbook for developers and designers on their website is really small and outdated. Most of the help online can only be found in their forums, which if your lucky enough, sometimes a Magento developer will actually reply with the &#8216;best practice&#8217; way of solving something otherwise it&#8217;s hacks all the way.</li>
</ul>
<p><strong>Templating issues:</strong></p>
<ul>
<li>The directory structure can be really really long, i.e. to edit the templates, you have to copy the existing themes, and then you&#8217;re editing files here: public_html\app\design\frontend\&lt;theme name&gt;\default\template\page\html\.</li>
<li> If you want to make sense of what the contents of variables being echoed in template files you have to refer to the really ugly code located in another random place. <a href="http://twitter.com/oliveChi" target="_blank">@OliveChi</a> notes Magento&#8217;s source code commenting hasn&#8217;t been properly written to support phpdoc, so you can say good bye to auto suggest/auto complete is ZDE.</li>
</ul>
<p><strong>On the plus side:</strong></p>
<ul>
<li>The &#8216;Magento Connect&#8217; feature of Magento allows anyone with the plugin key (obtained from their website) to download and install the plugin without any technical knowlege. There&#8217;s no downloading/uploading/untarring/running sql updates/update scripts &#8211; something you&#8217;d normally have to do for something like Drupal or Zencart.</li>
<li>The sales &amp; profit reports in the administration area provide all sorts of pretty charts.</li>
<li>(this could also be a bad thing), but just about every facet of the magento ecommerce system can be configured via the Administration Area. i.e. you can have all sorts of product configurations/types.</li>
<li>Multi-site/multi-store support.</li>
<li>Out of box support for Paypal, and support for heaps of different payment gateways.</li>
</ul>
<p>Feel free to comment if I&#8217;ve got something wrong!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.akb.id.au/2009/post-magento-construction-notes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Upgrading a Drupal 4.7.x site to 5.x</title>
		<link>http://www.akb.id.au/2009/upgrading-a-drupal-4-7-x-site-to-5-x/</link>
		<comments>http://www.akb.id.au/2009/upgrading-a-drupal-4-7-x-site-to-5-x/#comments</comments>
		<pubDate>Sun, 05 Jul 2009 10:34:52 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Drupal]]></category>

		<guid isPermaLink="false">http://www.akb.id.au/?p=97</guid>
		<description><![CDATA[I recently had the potentially very painful task of upgrading a site from a hacked up version of Drupal 4.7.2 to the latest version of 5.x. Whilst I doubt theres many D4 sites still out there, I thought I&#8217;d share my notes and tips below as the whole process was quite interesting and perhaps it [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had the potentially very painful task of upgrading a site from a hacked up version of Drupal 4.7.2 to the latest version of 5.x. Whilst I doubt theres many D4 sites still out there, I thought I&#8217;d share my notes and tips below as the whole process was quite interesting and perhaps it can at least save someone a bit of time. (Note: on the same site, I&#8217;ll be doing the D5 to D6 upgrade in the next few weeks too, so I&#8217;ll do a separate post for that here).</p>
<p>The first thing to always do, is to make backups repeatedly throughout the upgrade process. I had the following commands handy and ran them right before I did anything serious:</p>
<blockquote>
<pre>tar -czvf site-backup-`date '+%y%m%d-%H%M%S'`.tar.gz public_html
mysqldump -u sitedb_primary -p sitedb_primary &gt; \
`date '+%y%m%d-%H%M%S'`.sql</pre>
</blockquote>
<p>The other thing to do before you start,  is to do all your upgrading on a staging or development version of the site first. This is because, theres a high chance you won&#8217;t be able to do this whole process straight off the bat, and you probably don&#8217;t want to leave your site in maitenance mode over night while you recover for another attempt.</p>
<p>The following guides/screencasts are what I followed to perform a successful upgrade, plus a few notes, I made that weren&#8217;t covered:</p>
<p><strong>1. Converting custom content types from Flexinode to CCK: <a href="http://docs.indymedia.be/node/1" target="_blank">http://docs.indymedia.be/node/1</a></strong></p>
<ul>
<li>Make sure your flexinode fields all have unique names from one another. I had to rename a few of my flexinode body fields before flexiconvert would convert things successfully.</li>
<li>Keep notes on all your original flexinode names and field names. This is so that when it comes to your themes you can easily update them to the new field names.</li>
<li>When creating new content types, you must add the add/edit/delete privileges for each new content type before you can access this section.</li>
</ul>
<p><strong>2. Screencast for upgrading from D4.x to D5.x: <a href="http://drupal.org/videocasts/upgrading-to-5" target="_blank">http://drupal.org/videocasts/upgrading-to-5</a></strong></p>
<ul>
<li>Disabling any custom theme or custom modules are some of the preparations recommended in the screencast. Before you do this though, make sure you don&#8217;t have any php code used for block visibility that might use functions in these custom themes or modules. You can either update them with a function_exists(), or re-write them to work out the condition another way.</li>
<li>Before running update.php, it might help to do run the following commands on the database &#8220;DELETE FROM `variable` WHERE `name` = &#8216;cache_inc&#8217;; TRUNCATE TABLE `themonth_monthlydb`.`cache`;&#8221;. I read somewhere that the D4 caching options were different in D5, and if you tried accessing the site after the upgrade without doing this, it would cause your site to die.</li>
<li>If your going to leave your site in maintenance mode for an hour whilst you conduct the upgrade, and don&#8217;t want the default Drupal Alien logo to show up, simply update the public_html/misc/maintenance.css body tag not to reference &#8216;druplicon.png&#8217;. This might be particularly important if you have a popular site and don&#8217;t want to scare people!</li>
<li>For views, if you use the filter by &#8216;Distinct&#8217;, make sure its the first filter in your list, otherwise it doesn&#8217;t seem to let you save it.</li>
</ul>
<p><strong>3. For converting your custom themes and modules to D5: <a href="http://drupal.org/node/64279" target="_blank">http://drupal.org/node/64279</a></strong></p>
<ul>
<li>For a custom nice_menu&#8217;s css file, you can now specify the css filepath via Admin-&gt;Themes-&gt;Global Settings-&gt;Path to custom css file.</li>
<li>Put all your custom modules in their own folder within public_html/sites/all/custom/</li>
<li>Where possible try to keep your drupal install on the upgrade path by overriding things, or creating custom modules, rather then touching core or contributed php/theme code .</li>
<li>When upgrading custom modules, if your in the process of doing things like updating modulename_settings &#8211; make sure you disable and then re-enable the module, otherwise, you&#8217;ll get some whacky side effects like double admin menu items, etc.</li>
</ul>
<p>That&#8217;s it!</p>
<p>If you are doing an upgrade, I wish you all the luck and patience in the world! And for those that believe in doing a site rebuild over the upgrade, I recommend you try the upgrade first and exhaust all possibilities before giving up, because either re-entering all your sites content, or hacking up a content copy script is more work then it seems.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.akb.id.au/2009/upgrading-a-drupal-4-7-x-site-to-5-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
