<?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>MartinDownton.eu</title>
	<atom:link href="http://martindownton.eu/feed/" rel="self" type="application/rss+xml" />
	<link>http://martindownton.eu</link>
	<description>Personal Webspace, Portfolio and CV of Martin Downton</description>
	<lastBuildDate>Tue, 11 Oct 2011 10:24:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Mobile Bookmark Touch Icons</title>
		<link>http://martindownton.eu/mobile-bookmark-touch-icons/</link>
		<comments>http://martindownton.eu/mobile-bookmark-touch-icons/#comments</comments>
		<pubDate>Sat, 28 May 2011 15:14:31 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[bookmark]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[postaweek2011]]></category>

		<guid isPermaLink="false">http://martindownton.eu/?p=560</guid>
		<description><![CDATA[Mobile Bookmark Touch Icons I love the homescreen on Android. I&#8217;m constantly updating it, changing what icons and widgets I have on which screen and experimenting with different launchers (although I&#8217;ve not been tempted away from the default so far as I&#8217;m on an unmodified version of Android 2.3.4). The other day I came to...]]></description>
			<content:encoded><![CDATA[<h1>Mobile Bookmark Touch Icons</h1>
<p><img class="alignright size-medium wp-image-568" title="Android Bookmark Icons, one Made from Favicon and one with a Touch Icon" src="http://martindownton.eu/wp-content/uploads/2011/05/bookmark_with-300x500.png" alt="Android Bookmark Icons, one Made from Favicon and one with a Touch Icon" width="300" height="500" />I love the homescreen on Android. I&#8217;m constantly updating it, changing what icons and widgets I have on which screen and experimenting with different launchers (although I&#8217;ve not been tempted away from the default so far as I&#8217;m on an unmodified version of Android 2.3.4).</p>
<p>The other day I came to add <a href="http://martindownton.eu/">martindownton.eu</a> as a shortcut (for when I get around to playing with CSS media queries) and was presented with my favicon, which I was expecting, but placed inside a rosette, which I wasn&#8217;t.</p>
<p>Thinking about this it is quite an elegant solution to an awkward problem as generally a favicon can be as small as 16 x 16 px. Stretching this up to 72 x 72 px, or 4.5 times the size, would look terrible.</p>
<p>So how do you get a larger icon?</p>
<h2>How to get a larger icon</h2>
<p>To get a larger icon there is a tag that can be added to the head of your site. I cringed a bit when I saw the syntax as the link tag needed requires a rel attribute with a value of &#8220;apple-touch-icon&#8221;. Looking further into this there is no standard for bookmark icons and Apples solution was already in place when Android came to the table so it made sense for them to implement this technique.</p>
<p>Here is the syntax for adding the icon:</p>
<pre class="brush: xml">
<link rel="apple-touch-icon" href="/images/touch-icon-57x57.png" />
<link rel="apple-touch-icon" sizes="72x72" href="/images/touch-icon-72x72.png" />
<link rel="apple-touch-icon" sizes="114x114" href="/images/touch-icon-114x114.png" /></pre>
<p>As you can see there are three different link tags here. These are to cover iOS as the icon size changed between iOS3 and iOS4 and there is also a larger icon size for the iPad. You will of course have to resize your icon three times to match each of these specifications, the three sizes being 57px, 72px and 114px squared.</p>
<p>So looking at the screenshot, I initially created the bookmark without these tags added which produced the icon on the left, and now with the tags in place we get a full icon as desired. I&#8217;m not sure what result you get on iOS as I have no means of testing it. <a title="Tweet me if you know what a bookmark looks like on iOS without a Touch Icon [Opens in a New Window]" href="http://twitter.com/?status=%40martindownton" target="_blank">Tweet me</a> if you know!</p>
<p><a href="http://martindownton.eu/tag/postaweek2011/">#postaweek2011</a> 9/52</p>
]]></content:encoded>
			<wfw:commentRss>http://martindownton.eu/mobile-bookmark-touch-icons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My 10 Favourite Android Apps</title>
		<link>http://martindownton.eu/my-10-favourite-android-apps/</link>
		<comments>http://martindownton.eu/my-10-favourite-android-apps/#comments</comments>
		<pubDate>Sat, 23 Apr 2011 20:16:00 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Cycling]]></category>
		<category><![CDATA[F1]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[DLNA]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Password]]></category>
		<category><![CDATA[postaweek2011]]></category>
		<category><![CDATA[SMS]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[TV]]></category>

		<guid isPermaLink="false">http://martindownton.eu/?p=507</guid>
		<description><![CDATA[My 10 Favourite Android Apps So I&#8217;ve had my Android phone for nearly a month now and it&#8217;s actually changed the way I do a lot of things. I use my computer and laptop so little now it&#8217;s unbelievable and I&#8217;m just amazed at what I can do with my phone. I went for the...]]></description>
			<content:encoded><![CDATA[<h1>My 10 Favourite Android Apps</h1>
<div><a rel="attachment wp-att-511" href="http://martindownton.eu/my-10-favourite-android-apps/web-based-android-market/"><img class="alignright size-medium wp-image-511" title="Android Market" src="http://martindownton.eu/wp-content/uploads/2011/04/Web-based-Android-Market-300x256.jpg" alt="Android Market" width="300" height="256" /></a>So I&#8217;ve had my Android phone for nearly a month now and it&#8217;s actually changed the way I do a lot of things. I use my computer and laptop so little now it&#8217;s unbelievable and I&#8217;m just amazed at what I can do with my phone.</div>
<div>I went for the <a title="Google Nexus S [Opens in a New Window]" href="http://www.google.com/nexus" target="_blank">Google Nexus S</a>, mainly because I didn&#8217;t want any manufacturer additions on top of the OS but also because I&#8217;ve always had and liked Samsung phones (this is now my third). So, in no particular order, these are my top 10 apps (so far!):</div>
<ol>
<li><a href="#bbciplayer">BBC iPlayer</a></li>
<li><a href="#connectbot">ConnectBot</a></li>
<li><a href="#dropbox">Dropbox</a></li>
<li><a href="#endomondo">Endomondo</a></li>
<li><a href="#f1">F1.com Live Timing</a></li>
<li><a href="#keepass">KeePass</a></li>
<li><a href="#remotedroid">RemoteDroid</a></li>
<li><a href="#skifta">Skifta</a></li>
<li><a href="#smsbackup">SMS Backup</a></li>
<li><a href="#twitterapp">Twitter</a></li>
</ol>
<h2><a name="bbciplayer">BBC iPlayer</a></h2>
<p>I was watching the news with breakfast the other day and Bill Turdbill was doing my head in, so I opened the iPlayer app and watched <a title="Russel Howard's Good News [Opens in a New Window]" href="http://www.bbc.co.uk/iplayer/search?q=Russel%20Howards%20Good%20News" target="_blank">Russel Howard&#8217;s Good News</a> instead. It&#8217;s more of a boredom filler than a new way of watching TV but being able to stream BBC channels to your phone could be very convenient, especially if I were missing the F1!</p>
<p><a title="BBC iPlayer [Opens in a New Window]" href="https://market.android.com/details?id=bbc.iplayer.android" target="_blank">Android Market Link</a></p>
<h2><a name="connectbot">ConnectBot</a></h2>
<p>A simple SSH client, made extremely useful by the &#8216;screen -x <em>yoursessionname</em>&#8216; command; I can set a script running on a shared screen session and receive any messages or errors on my phone! Of course a touchscreen doesn&#8217;t really lend itself to typing terminal commands but it would do in emergencies.</p>
<p><a title="ConnectBot [Opens in a New Window]" href="https://market.android.com/details?id=org.connectbot" target="_blank">Android Market Link</a></p>
<h2><a name="dropbox">Dropbox</a></h2>
<p>My biggest reserve about this was bandwidth usage but the app simply presents your Dropbox&#8217;s folder structure and allows you to download files as you need them. This app helps bridge the gap to a netbook for me as anything I feel necessary to keep synced across computers is available on my phone.</p>
<p><a title="Dropbox [Opens in a New Window]" href="https://market.android.com/details?id=com.dropbox.android" target="_blank">Android Market Link</a></p>
<h2><a name="endomondo">Endomondo</a></h2>
<p>I love this app! It is by far the best workout tracking app in terms of its fundamental purpose and its extras such as social integration, music scroblling (which appears on your mapped route) and the awesome pep talk feature which transcodes written messages to your friends who are currently on a workout.</p>
<p><a title="Endomondo free version [Opens in a New window]" href="https://market.android.com/details?id=com.endomondo.android" target="_blank">Android Market Link</a></p>
<h2><a name="f1">F1 live timing app</a></h2>
<p>Come race weekend I used to set up my laptop with the live timings on screen and have the second race feed on my computer. I&#8217;ve cut out the laptop and substituted it with the official F1 app on my phone, which gives a lot more information than the web based Java feed. I quite often check the split times only to have Mr Brundle or Mr Coulthard repeat them a few seconds later, and watching qualifying is very exciting as you can see drivers &#8220;go purple&#8221; as they set their fastest laptimes. Obviously this is only for F1 fans but if you are it&#8217;s a must have app for race day!</p>
<p><a title="Formula1.com 2011 App [Opens in a New Window]" href="https://market.android.com/details?id=com.formula1.twothousandelevenapplication" target="_blank">Android Market Link</a></p>
<h2><a name="keepass">KeePass</a></h2>
<p>Just before I got my phone I went through and changed all of my passwords to make them safer. Or in other words more difficult to type on a smartphone! With KeePass you simply get to a login screen, open the app, find the entry for the website you want and it will give you two notifications, one with the username and one with the password. You then just switch back to the app or webpage in question and paste them both in. Simple. And to make it even better I store my password database in my Dropbox so it&#8217;s always up to date!</p>
<p><a title="KeePassDroid [Opens in a New Window]" href="https://market.android.com/details?id=com.android.keepass" target="_blank">Android Market Link</a></p>
<h2><a name="remotedroid">RemoteDroid</a></h2>
<p>This one&#8217;s pretty cool. You install a Java app on your computer (Windows, OSX, Linux, anythingthatrunsjava) and you can use your phone as a mouse and keyboard! It&#8217;s fantastic if your PC is hooked up to your television as you can use it as a remote control. An honorable mention goes to TeamViewer which will let you see the computer you&#8217;re controlling but we use it at work so for that reason alone it doesn&#8217;t make the list!</p>
<p><a title="RemoteDroid [Opens in a New Window]" href="https://market.android.com/details?id=com.joshsera" target="_blank">Android Market Link</a></p>
<h2><a name="skifta">Skifta</a></h2>
<p>This is almost as cool as RemoteDroid. Would be cooler if it didn&#8217;t have a few issues (it&#8217;s currently in Beta) but here&#8217;s the gist of it. You choose your media source, which can be your phone, your PC or any DLNA device such as a NAS drive, you choose your play destination, which can be your phone, PC or any other DLNA device and then you browse for media and enjoy! It&#8217;s most effective/stable when you&#8217;re not streaming over WiFi so for my purposes, which is controlling my PC from outside, it works perfectly.</p>
<p><a title="Skifta Beta [Opens in a New Window]" href="https://market.android.com/details?id=com.skifta.android.app" target="_blank">Android Market Link</a></p>
<h2><a name="smsbackup">SMS Backup</a></h2>
<p>This is a nice little &#8220;install and forget about it&#8221; app. Basically, when you send a txt msg it places it in your gmail account with a label of your choosing so you can look through your txts, both sent and received, on your computer.</p>
<p><a title="SMS Backup [Opens in a New Window]" href="https://market.android.com/details?id=tv.studer.smssync" target="_blank">Android Market Link</a></p>
<h2><a name="twitterapp">Twitter</a></h2>
<p>I&#8217;m just using the built in Twitter app but it does what it says on the tin. The one mild annoyance that may see me switch to TweetDeck is that the notification sounds conflict with the built in music app.</p>
<p><a title="Twitter [Opens in a New Window]" href="https://market.android.com/details?id=com.twitter.android" target="_blank">Android Market Link</a></p>
<p>Also worth mentioning are some of the built in apps. The navigation is brilliant, although it does use your 3G connection for maps so you may want to go for something like <a title="Pricey but still cheaper than a Sat Nav. Or your roaming data! [Opens in a New Window]" href="https://market.android.com/search?q=co+pilot&amp;so=1&amp;c=apps" target="_blank">Co-Pilot</a> if you&#8217;re going abroad. My only complaint with the built in music app is that it doesn&#8217;t support FLAC but I&#8217;m not a total audiophile so 320 MP3s are fine by me. It also works great with the Last FM app for scrobbling. The messaging and calling apps are fine, although not exactly innovative, and the GMail app is great because you can have multiple accounts so I can check my @martindownton.eu mail on it too!</p>
<p>I&#8217;ve left out the Kindle app because&#8230; well I&#8217;m not really sure why, but I personally have no problem with reading books on my phone, despite having reservations before trying it.</p>
<p>The only app I would love that isn&#8217;t on Android is Microsoft&#8217;s Photosynth. The odd thing is that it isn&#8217;t on WP7, it&#8217;s on iOS! I haven&#8217;t come across a good photo stitching app for Android yet so if anyone knows of one, share you secret!</p>
<p>I think I&#8217;ve rambled on enough now. Android is great!</p>
<p><a title="Post a Week 2011" href="http://martindownton.eu/tag/postaweek2011/">#postaweek2011</a> 8/52</p>
]]></content:encoded>
			<wfw:commentRss>http://martindownton.eu/my-10-favourite-android-apps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Should I Start Using Magento?</title>
		<link>http://martindownton.eu/should-i-start-using-magento/</link>
		<comments>http://martindownton.eu/should-i-start-using-magento/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 21:15:11 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[e-commerce]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[postaweek2011]]></category>

		<guid isPermaLink="false">http://martindownton.eu/?p=493</guid>
		<description><![CDATA[Should I Start Using Magento? Just a quick post summarising a few thoughts that I have had and read from around the internet on approaching Magento for the first time. There are basically a few questions that you need to ask before diving in at the deep end: Have you got the time to invest...]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-496" href="http://martindownton.eu/should-i-start-using-magento/vicky_pollard_398833a/"><img class="alignright size-full wp-image-496" title="A Metaphore for how slowly Magento runs on Windows Hosting" src="http://martindownton.eu/wp-content/uploads/2011/04/vicky_pollard_398833a.jpg" alt="A Metaphore for how slowly Magento runs on Windows Hosting" width="280" height="390" /></a></p>
<h1>Should I Start Using Magento?</h1>
<p>Just a quick post summarising a few thoughts that I have had and read from around the internet on approaching Magento for the first time. There are basically a few questions that you need to ask before diving in at the deep end:</p>
<ol>
<li>Have you got the time to invest in learning Magento?</li>
<li>Will you be using Magento on more than one project?</li>
<li>Do your client&#8217;s requirements warrant the use of a full e-commerce platform?</li>
<li><em>(bonus point) </em>Do you have Linux hosting? Because it runs like a fat chav on a hot day on Windows.</li>
</ol>
<p>Point <strong>one</strong> is basically saying that, looking at it from a commercial point of view, you are going to make a loss on your first project because of the time you will need to invest in getting to know the system. Skinning a basic theme, or even making changes to an existing template, will take a lot longer than you think it will or should do, and any custom backend development will require getting you head around the over-complex MVC structure, although <a title="Magento Controller Dispatch and Hello World [Opens in a New Window]" href="http://alanstorm.com/magento_controller_hello_world" target="_blank">Alan Storm</a>&#8216;s brilliant tutorials will help massively with this.</p>
<p>Point <strong>two</strong> is making the point that it may only be worthwhile investing the time in learning Magento if you are going to be using it on multiple projects. If your employer is unsure about allowing you the time to research and learn the platform then it may help to consider the long term gains; if you look at Magento compared to another platform such as WordPress, from experience a basic, barebones Magento site can be developed for around four times the price of a basic, barebones WordPress site. An e-commerce platform is worth a lot more to a client than a simple information site as it will be generating them a tangible income, and any extra features can be justified with projected ROI.</p>
<p>Point <strong>three</strong> is basically encouraging you to consider other options and make your decision based on circumstance. If your client has a website and wants to start selling a few items then Magento is going to be overkill. Also the same argument of investment of time can be made from the client&#8217;s perspective as it is quite a difficult system for them to master and there are a lot of features that they simply won&#8217;t use. I know that <a title="He ain't heavy... [Opens in a New Window]" href="http://www.conditionalcomment.co.uk/" target="_blank">other developers</a> have had a lot of success with <a title="A very good e-commerce WordPress Plugin" href="http://www.instinct.co.nz/e-commerce/" target="_blank">WP E-Commerce</a> which is built on top of a very stable platform and provides a nice, lightweight option.</p>
<p>Point <strong>four</strong>, did you really expect anything else?!</p>
<p>I love Magento and if you are considering getting to know it I would strongly encourage you do so. I&#8217;m 8 months down the line and still learn so much on every project I do with it. I&#8217;m still yet to do any large scale backend development but am trying out a few small extensions in my spare time. I was lucky enough to move to a company that were already using Magento, but know from experience that it&#8217;s difficult to get the first project in it off the line (my first efforts in skinning Magento were undone by the decision to switch to a Joomla based shopping cart because no-one could get their heads around the MVC structure quickly enough).</p>
<p>If you are starting out then the <a title="Magento Designer's Guide [Opens in a New Window]" href="http://www.magentocommerce.com/design_guide/articles/how-magento-builds-content" target="_blank">Designer&#8217;s Guide</a> has a comprehensive/fundamental guide to templating, there is a simple/beginner&#8217;s, step by step, multi-part guide to creating a theme from scratch on <a title="Smashing Magazine [Opens in a New Window]" href="http://www.smashingmagazine.com/" target="_blank">Smashing Magazine</a> but I can&#8217;t find it because their navigation and search suck balls, <a title="Inchoo [Opens in a New Window]" href="http://inchoo.net/" target="_blank">Inchoo are a fantastic bunch of Magento developers</a> from beautiful, sunny Croatia with a lot of useful development tips and the previously mentioned Alan Storm is very good for more advanced stuff.</p>
<p><a title="Post a Week 2011" href="http://martindownton.eu/tag/postaweek2011/">#postaweek2011</a> 7/52</p>
]]></content:encoded>
			<wfw:commentRss>http://martindownton.eu/should-i-start-using-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Prepare for the New Browser Generation</title>
		<link>http://martindownton.eu/how-to-prepare-for-the-new-browser-generation/</link>
		<comments>http://martindownton.eu/how-to-prepare-for-the-new-browser-generation/#comments</comments>
		<pubDate>Tue, 15 Mar 2011 20:28:24 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Internet Explorer]]></category>

		<guid isPermaLink="false">http://martindownton.eu/?p=407</guid>
		<description><![CDATA[How to Prepare for the New Browser Generation Good news everyone! Microsoft&#8217;s web browser Internet Explorer 9 was released in the early hours of this morning, to much excitement &#8230; no that&#8217;s not the word &#8230; anyway, it&#8217;s been released and there&#8217;s nothing we can do about it. In many ways it is a good...]]></description>
			<content:encoded><![CDATA[<h1>How to Prepare for the New Browser Generation</h1>
<p>Good news everyone!<a rel="attachment wp-att-416" href="http://martindownton.eu/how-to-prepare-for-the-new-browser-generation/farnsworth/"><img class="alignright size-medium wp-image-416" title="Any Excuse for Futurama..." src="http://martindownton.eu/wp-content/uploads/2011/03/farnsworth-300x203.jpg" alt="Good News Everyone!" width="300" height="203" /></a></p>
<p>Microsoft&#8217;s web browser Internet Explorer 9 was released in the early hours of this morning, to much excitement &#8230; no that&#8217;s not the word &#8230; anyway, it&#8217;s been released and there&#8217;s nothing we can do about it. In many ways it is a good thing as the browser standards are far better than its predecessor IE8, and the version before that, and especially the version before that, however it would be naive of anyone not to expect any problems with a new release of Internet Explorer. I was horrified when viewing TwentyTen in the Beta of IE9 as it didn&#8217;t render correctly &#8211; yes the default theme of the most widely used website platform on the web &#8211; however this was fixed by the beta stage.</p>
<h2>It&#8217;s Not Only You who is Annoyed</h2>
<p>We can complain about IE until the cows come home, but there are two things that can make the whole transition a lot easier:</p>
<ol>
<li><strong>Pre-empt your clients&#8217; complaints</strong><br />
A sensible thing to do is to warn your clients of the possible rendering issues with a new browser release, as it is better they hear it from you with your justifications for paying for any changes rather than them come to you with a problem that they blame you for, however unjustified that is.</li>
<li><strong>Use a quick fix</strong><br />
Like everything in web development/life there is a right way and a quick way of doing things. If you&#8217;re very bored/short of work/insane then you could spend a good half a day per client fixing any rendering issues by making markup changes, however if the site in question renders in IE8 (or 7 I suppose) there is a quick fix that will force Internet Explorer into version 8&#8242;s rendering engine:</li>
</ol>
<pre class="brush: php">&lt;meta http-equiv="X-UA-Compatible" content="IE=8"&gt;</pre>
<p>Place this meta-tag in your site&#8217;s head and Hey Presto your site will render as if IE 9 had never been released!</p>
<p>I&#8217;m not aware of any such fix for Firefox but I&#8217;ve been using the Beta of the soon to be released Firefox 4 for several months and haven&#8217;t noticed any rendering issues, or seen them reported by any other developers. A good general policy with browsers is to specify in your terms and conditions what browsers the website you are producing will work in, as assumptions will be made by the client that it will work in any browser, be it one that hasn&#8217;t been released or one that <a title="IE6 Countdown [Opens in a New Window]" href="http://www.ie6countdown.com/" target="_blank">just won&#8217;t die</a>.</p>
<p><a title="Post a Week 2011" href="http://martindownton.eu/tag/postaweek2011/">#postaweek2011</a> 6/52</p>
]]></content:encoded>
			<wfw:commentRss>http://martindownton.eu/how-to-prepare-for-the-new-browser-generation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Post a Week 2011 &#8211; An Update/Apology</title>
		<link>http://martindownton.eu/post-a-week-2011-an-updateapoloigy/</link>
		<comments>http://martindownton.eu/post-a-week-2011-an-updateapoloigy/#comments</comments>
		<pubDate>Tue, 15 Mar 2011 20:24:49 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://martindownton.eu/?p=435</guid>
		<description><![CDATA[Post a Week 2011 &#8211; An Update/Apology OK, so I haven&#8217;t kept to my commitment of blogging once a week in the year of 2011. There are still many weeks left for me to make it up to 52 posts this year, but with it being the 15th of March today and me having only...]]></description>
			<content:encoded><![CDATA[<h1>Post a Week 2011 &#8211; An Update/Apology</h1>
<p>OK, so I haven&#8217;t kept to my commitment of <a title="Post a Week 2011" href="http://martindownton.eu/post-a-week-2011/">blogging once a week in the year of 2011</a>. There are still many weeks left for me to make it up to 52 posts this year, but with it being the 15th of March today and me having only posted 5 times I don&#8217;t think it&#8217;s going to be as straight forward as there being a post published every seven days. I have lots I want to talk about but getting round to it, as we all know, is easier said than done. There&#8217;s a post to follow after this one (I won&#8217;t be tagging this with #postaweek) and I&#8217;ll hopefully publish another one by the end of the week.</p>
]]></content:encoded>
			<wfw:commentRss>http://martindownton.eu/post-a-week-2011-an-updateapoloigy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento 1.5.0.0 and get.php</title>
		<link>http://martindownton.eu/magento-1-5-0-0-and-get-php/</link>
		<comments>http://martindownton.eu/magento-1-5-0-0-and-get-php/#comments</comments>
		<pubDate>Thu, 10 Feb 2011 08:48:44 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Bug]]></category>
		<category><![CDATA[postaweek2011]]></category>

		<guid isPermaLink="false">http://martindownton.eu/?p=378</guid>
		<description><![CDATA[Magento 1.5.0.0 and get.php Not worried about the security problem with Magento 1.5.0.0? Go to your-magento-store.tld/get.php/app/etc/local.xml You&#8217;ll soon change your mind. #postaweek2011 5/52]]></description>
			<content:encoded><![CDATA[<h1>Magento 1.5.0.0 and get.php</h1>
<p>Not worried about the security problem with Magento 1.5.0.0? Go to your-magento-store.tld/get.php/app/etc/local.xml</p>
<p>You&#8217;ll soon change your mind.</p>
<p><a title="Post a Week 2011" href="http://martindownton.eu/tag/postaweek2011/">#postaweek2011</a> 5/52</p>
]]></content:encoded>
			<wfw:commentRss>http://martindownton.eu/magento-1-5-0-0-and-get-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twitter &#8211; Autofill the user&#8217;s Tweetbox</title>
		<link>http://martindownton.eu/twitter-autofill-the-users-tweetbox/</link>
		<comments>http://martindownton.eu/twitter-autofill-the-users-tweetbox/#comments</comments>
		<pubDate>Sun, 30 Jan 2011 20:22:04 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[postaweek2011]]></category>
		<category><![CDATA[Query Strings]]></category>
		<category><![CDATA[Social Media]]></category>

		<guid isPermaLink="false">http://martindownton.eu/?p=244</guid>
		<description><![CDATA[Twitter &#8211; Autofill the user&#8217;s Tweetbox Nowadays, if you have a blog, company website or e-commerce store it is more than likely that you have a Twitter account to go along with it. Having a twitter account associated with your website is great as it means you can share little pieces of information too short to warrant...]]></description>
			<content:encoded><![CDATA[<h1>Twitter &#8211; Autofill the user&#8217;s Tweetbox</h1>
<p><a rel="attachment wp-att-361" href="http://martindownton.eu/twitter-autofill-the-users-tweetbox/twitter_autofill_skew/"><img class="size-medium wp-image-361 alignright" title="Twitter Autofill" src="http://martindownton.eu/wp-content/uploads/2011/01/twitter_autofill_skew-300x158.png" alt="Twitter Autofill" width="300" height="158" /></a>Nowadays, if you have a blog, company website or e-commerce store it is more than likely that you have a Twitter account to go along with it. Having a twitter account associated with your website is great as it means you can share little pieces of information too short to warrant a full news story or blog post and it keeps your brand at the front of people&#8217;s mind, especially if they check their Twitter account as often as I do!  A great way to get other people spreading your message is to provide visitors of your site a way of passing on your message. There are two main ways of doing this (Twitter has a habit of offering more than one way of doing things), both of which use query strings.</p>
<h2>Query Strings</h2>
<p>When you access a file on a webserver through your browser you can also pass it extra information using GET and POST information. If you see a URL with a question mark (?) in it, the part after this is called the query string and it will consist of either one or several name/value pairs. The name and value are separated by an equals (=) symbol and each pair are seperated by an ampersand (&amp;). So for example,&#8221; ?username=octavious&amp;password=aSecr3t&#8221; would pass a username and password to the page (although for obvious reasons sensitive information is never passed in this way).</p>
<p>One thing to note is that anything content put into a URL should be <a title="URL Encode [Opens in a New Window]" href="http://lmgtfy.com/?q=url+encode" target="_blank">URL encoded</a>.</p>
<h2>Status=</h2>
<p>The simplest way to get a user to tell people about your site through twitter is to use &#8220;?status=brand X is the business&#8221;. This will put &#8220;brand X is the business&#8221; into the user&#8217;s tweet box ready for them to edit and pass on to their followers. I use this on my contact page and in my menu.</p>
<h2>Share Box</h2>
<p>Twitter also provides a share box which offers some more advanced features.The link to this is http://twitter.com/share and you can provide it with three values, &#8220;text&#8221;, &#8220;url&#8221; and &#8220;via&#8221;. Text will be a message usually describing the content. If you were auto-generating this link on every page you would most likely put the title of the post here. URL is a link back to your website or article. It&#8217;s really good to use this as a link as it will be shortened using Twitter&#8217;s T.CO shortening service. And finally via is where you would put your twitter account in order to indicate that the content has been published by you.</p>
<p>Here&#8217;s an example of a share link:</p>
<p><a title="An example of a Twitter share link [Opens in a New Window]" href="http://twitter.com/share?url=http://martindownton.eu&amp;via=martindownton&amp;text=My%20new%20website!" target="_blank">http://twitter.com/share?url=http://martindownton.eu&amp;via=martindownton&amp;text=My%20new%20website!</a></p>
<p><a title="Post a Week 2011" href="http://martindownton.eu/tag/postaweek2011/">#postaweek2011</a> 4/52</p>
]]></content:encoded>
			<wfw:commentRss>http://martindownton.eu/twitter-autofill-the-users-tweetbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making WordPress Development a Little Easier</title>
		<link>http://martindownton.eu/making-wordpress-development-a-little-easier/</link>
		<comments>http://martindownton.eu/making-wordpress-development-a-little-easier/#comments</comments>
		<pubDate>Sun, 23 Jan 2011 20:51:36 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[postaweek2011]]></category>

		<guid isPermaLink="false">http://martindownton.eu/?p=289</guid>
		<description><![CDATA[Making WordPress Development a Little Easier Absolute URLs It&#8217;s a common problem, made more difficult if you choose to develop locally. But, whether we like it or not, WordPress depends on abolute URLs to generate links to different pages around your site, to resources such as Javascript and CSS and to media files included in...]]></description>
			<content:encoded><![CDATA[<h1>Making WordPress Development a Little Easier</h1>
<h2>Absolute URLs</h2>
<p><a rel="attachment wp-att-292" href="http://martindownton.eu/making-wordpress-development-a-little-easier/noimagecrop/"><img class="size-medium wp-image-292  alignright" title="Absolute URLs can lead to missing resources" src="http://martindownton.eu/wp-content/uploads/2011/01/noImageCrop-300x204.png" alt="Absolute URLs can lead to missing resources" width="300" height="204" /></a></p>
<p>It&#8217;s a common problem, made more difficult if you choose to develop locally. But, whether we like it or not, WordPress depends on abolute URLs to generate links to different pages around your site, to resources such as Javascript and CSS and to media files included in pages. This is fine if you&#8217;re working in one location, but this is rarely the case.</p>
<p>Development environments differ between developers and agencies, but will usually consist of some or all of the following:</p>
<ol>
<li>Local Development Environment</li>
<li>Test Environment</li>
<li>Staging Environment</li>
<li>Live Website</li>
</ol>
<p>Personally I develop locally, set up a staging area to test the website on the live hosting &#8211; using a SymLink to temporarily redirect the user to a holding page or copy of the old website &#8211; and then redirect the symlink to the live website. At work we develop straight to a test/staging environment then copy this over to new folder once finished. We also have several sites setup with SVN deployment.</p>
<h2>Making Life a Little Easier</h2>
<p>The best way around this problem that I have found in other platforms is the Zend Framework&#8217;s XML configuration files. They allow you to define a &#8220;Production&#8221; environment then extend this environment with other settings configurations. One website I have worked on included the production or live environment, a test site environment, a local environment, a development environment set up by a freelancer who had worked on the site and, unfortunately, a developer&#8217;s home environment.</p>
<p>A similar setup can be achieved in WordPress by defining configuration variables based on the web address the site is being accessed by. Here is an example of how you might achieve this, making use of PHP&#8217;s &#8220;$_SERVER['SERVER_NAME']&#8221; variable:</p>
<pre class="brush: php">$siteFolder = 'martindownton';
if ( $_SERVER['SERVER_NAME'] == 'localhost' ) {
	define('WP_SITEURL', 'http://' . $_SERVER['SERVER_NAME'] . '/' . $siteFolder);
	define('WP_HOME', 'http://' . $_SERVER['SERVER_NAME'] . '/' . $siteFolder);
	define('DB_NAME', 'testdatabase');
	define('DB_USER', 'testusername');
	define('DB_PASSWORD', 'testpassword');
	define('DB_HOST', '12.34.56.78');
} else {
	define('WP_SITEURL', 'http://' . $_SERVER['SERVER_NAME'] . '');
	define('WP_HOME', 'http://' . $_SERVER['SERVER_NAME'] . '');
	define('DB_NAME', 'livedatabase');
	define('DB_USER', 'liveusername');
	define('DB_PASSWORD', 'livepassword');
	define('DB_HOST', 'localhost');
}</pre>
<p>This code will add the site folder onto the host, allowing me to work on &#8220;http://localhost/martindownton/&#8221; but will not add this once the site goes live. It also changes the database credentials, allowing me to work on two different databases.</p>
<p>If you want to work on the same database there is a great plugin called &#8220;Search &amp; Replace&#8221; that can be used to replace any URLs generated in your database.</p>
<h2>An Alternative?</h2>
<p>As with all things technical, there are more than ways of achieving the same outcome. Another solution I have used in the past is to take advantage of the &#8220;<a title="How do I use the hosts file in windows? [Opens in a New Window]" href="http://www.google.co.uk/search?q=how+do+I+use+the+hosts+file+in+windows" target="_blank">Hosts</a>&#8221; file, a file within Windows which redirects URLs to a different IP address. You can set up &#8220;martindownton.eu&#8221; to point to 127.0.0.1 so that any URLs generated are the same on your test site as on your live site. This has an obvious drawback in that you will have to keep changing it to view each environment, but perhaps it is slightly easier to implement than the previous option.</p>
<p><a title="Post a Week 2011" href="http://martindownton.eu/tag/postaweek2011/">#postaweek2011</a> 3/52</p>
]]></content:encoded>
			<wfw:commentRss>http://martindownton.eu/making-wordpress-development-a-little-easier/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MartinDownton.eu Launches!</title>
		<link>http://martindownton.eu/martindownton-eu-launches/</link>
		<comments>http://martindownton.eu/martindownton-eu-launches/#comments</comments>
		<pubDate>Sun, 23 Jan 2011 17:48:58 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://martindownton.eu/?p=313</guid>
		<description><![CDATA[MartinDownton.eu Launches! I am very (very) pleased to announce that I have finally launched my personal website. There&#8217;s a big ToDo list left to finish, and I&#8217;ve gotten rid of a few of my favourite features (why am I launching this now again?) but I&#8217;ve been working on this site on and off for a...]]></description>
			<content:encoded><![CDATA[<h1>MartinDownton.eu Launches!</h1>
<p>I am very (very) pleased to announce that I have finally launched my personal website. There&#8217;s a big ToDo list left to finish, and I&#8217;ve gotten rid of a few of my favourite features (why am I launching this now again?) but I&#8217;ve been working on this site on and off for a long time and wanted to get something more than a pre-made WordPress skin online.</p>
<p>The other reason I have launched this site is beacause I am taking part in WordPress&#8217;s <a title="Post a Week 2011" href="http://martindownton.eu/tag/postaweek2011/">#postaweek2011</a> project and would rather any content I write benefit my own domain rather than my .wordpress.com site.</p>
<p>So, hope you like the site, any feedback both negative or positive is welcome.</p>
<p>Martin</p>
]]></content:encoded>
			<wfw:commentRss>http://martindownton.eu/martindownton-eu-launches/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSearch.xml</title>
		<link>http://martindownton.eu/opensearch-xml/</link>
		<comments>http://martindownton.eu/opensearch-xml/#comments</comments>
		<pubDate>Sat, 15 Jan 2011 00:16:52 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[postaweek2011]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://martindownton.eu/?p=255</guid>
		<description><![CDATA[OpenSearch.xml I wrote a post on OpenSearch.xml, a way of making your websites search functionality available to people via the quick search box in their browser. It&#8217;s available here: http://martindownton.wordpress.com/2011/01/15/opensearch-xml/ #postaweek2011 2/52]]></description>
			<content:encoded><![CDATA[<h1>OpenSearch.xml</h1>
<p>I wrote a post on OpenSearch.xml, a way of making your websites search functionality available to people via the quick search box in their browser. It&#8217;s available here:</p>
<p><a title="OpenSearch.xml [Opens in a New Window]" href="http://martindownton.wordpress.com/2011/01/15/opensearch-xml/" target="_blank">http://martindownton.wordpress.com/2011/01/15/opensearch-xml/</a></p>
<p><a title="Post a Week 2011" href="http://martindownton.eu/tag/postaweek2011/">#postaweek2011</a> 2/52</p>
]]></content:encoded>
			<wfw:commentRss>http://martindownton.eu/opensearch-xml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

