<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns: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/" version="2.0">

<channel>
	<title>My Quick Fix</title>
	
	<link>http://www.myquickfix.co.uk</link>
	<description>Quick fixes for niggly problems...</description>
	<lastBuildDate>Thu, 24 Sep 2009 15:10:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/myquickfix" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="myquickfix" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Swap days and months in PHP – quick and dirty MM/DD/YY to DD/MM/YY.</title>
		<link>http://www.myquickfix.co.uk/index.php/2009/09/swap-days-and-months-in-php-quick-and-dirty-mmddyy-to-ddmmyy/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2009/09/swap-days-and-months-in-php-quick-and-dirty-mmddyy-to-ddmmyy/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 15:10:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Regular Expressions]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=580</guid>
		<description><![CDATA[Problem
I have a ton of date strings in the stupid US style dd/mm/yy format. i.e. 12/24/09 being 24th September 2009. I need to convert them to the UK style dd/mm/yy.
Solution 1
As a string in PHP is really just an array of characters, the simplest fix was to address the individual number characters by their positions within the sting, and rearrange them into the format I wanted:

$d = "12/24/09";
$d = $d[3].$d[4]."/".$d[0].$d[1]."/".$d[6].$d[7];
echo $d; // displays "24/12/19".

Solution 2
I posted my solution on twitter (@hutchings) and asked for comments and @londonhackspace organiser Jonty came ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>I have a ton of date strings in the stupid US style dd/mm/yy format. i.e. 12/24/09 being 24th September 2009. I need to convert them to the UK style dd/mm/yy.</p>
<h2>Solution 1</h2>
<p>As a string in PHP is really just an array of characters, the simplest fix was to address the individual number characters by their positions within the sting, and rearrange them into the format I wanted:</p>
<pre name="code" class="php">
$d = "12/24/09";
$d = $d[3].$d[4]."/".$d[0].$d[1]."/".$d[6].$d[7];
echo $d; // displays "24/12/19".
</pre>
<h2>Solution 2</h2>
<p>I posted my solution on twitter (@hutchings) and asked for comments and @londonhackspace organiser Jonty came back with the following elegant (and much cleverer) suggestion:</p>
<pre name="code" class="php">
$d = "12/24/09";
$d = preg_replace('|(\d+)/(\d+)/(\d+)|', '$2/$1/$3', $d);
echo $d; // displays "24/12/19".
</pre>
<p>So provided you know that your original string is in US format, both these solutions can be used. In my testing I found solution 1 executed more quickly, but isn&#8217;t as pleasing to look at :) Cheers Jonty.</p>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/kUqeVlLkGBc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2009/09/swap-days-and-months-in-php-quick-and-dirty-mmddyy-to-ddmmyy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cannot set alpha on dynamic text in Flash / ActionScript 2</title>
		<link>http://www.myquickfix.co.uk/index.php/2009/08/cannot-set-alpha-on-dynamic-text-in-flash-actionscript-2/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2009/08/cannot-set-alpha-on-dynamic-text-in-flash-actionscript-2/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 22:16:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[alpha]]></category>
		<category><![CDATA[as2]]></category>
		<category><![CDATA[dynamic]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=578</guid>
		<description><![CDATA[Problem
I&#8217;m doing some freelance Flash development, and it&#8217;s been a while. I have just created a dynamic text field that I wanted to fill via actionscript, then fade in via an alpha tween. This wasn&#8217;t working, even if I set _alpha = 0 on the movieclip containing the text field.
Solution
You can only set _alpha on a Dynamic Text field if the font has been embeded (with the embed button).
Works now! wohoo! Simple stuff that I&#8217;ve known in the past, but forgot.
]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>I&#8217;m doing some freelance Flash development, and it&#8217;s been a while. I have just created a dynamic text field that I wanted to fill via actionscript, then fade in via an alpha tween. This wasn&#8217;t working, even if I set _alpha = 0 on the movieclip containing the text field.</p>
<h2>Solution</h2>
<p>You can only set _alpha on a Dynamic Text field if the font has been embeded (with the embed button).</p>
<p>Works now! wohoo! Simple stuff that I&#8217;ve known in the past, but forgot.</p>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/FJhU20ynfuE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2009/08/cannot-set-alpha-on-dynamic-text-in-flash-actionscript-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delegating a sub domain to other nameservers with ZoneEdit</title>
		<link>http://www.myquickfix.co.uk/index.php/2009/07/delegating-a-sub-domain-to-other-nameservers-with-zoneedit/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2009/07/delegating-a-sub-domain-to-other-nameservers-with-zoneedit/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 15:33:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[delegate]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[domains]]></category>
		<category><![CDATA[zoneedit]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=573</guid>
		<description><![CDATA[Problem
We&#8217;re building a website in Business Catalyst and need to provide the client with a test site during the design, build and testing phases. This test site needs to be accessible on a sub-domain of the client&#8217;s main domain. At the same time we want to retain DNS control of the parent domain, and stick a small holding site there.
For example:
&#8216;mydomain.com&#8217; has a small holding site on it, and mail services etc work as usual for that domain.
&#8216;test.mydomain.com&#8217; needs to be delegated to the Business Catalyst nameservers.
Solution
Turns out this is ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>We&#8217;re building a website in Business Catalyst and need to provide the client with a test site during the design, build and testing phases. This test site needs to be accessible on a sub-domain of the client&#8217;s main domain. At the same time we want to retain DNS control of the parent domain, and stick a small holding site there.</p>
<p><strong>For example:<br />
</strong>&#8216;mydomain.com&#8217; has a small holding site on it, and mail services etc work as usual for that domain.<br />
&#8216;test.mydomain.com&#8217; needs to be delegated to the Business Catalyst nameservers.</p>
<h2>Solution</h2>
<p>Turns out this is easy (peasy) if you&#8217;re using ZoneEdit, but probably equally as simple with any domain registrar service that lets you make changes to a domain&#8217;s zone file.</p>
<p><strong>1)</strong> Login and &#8216;View&#8217; the domain you need to work on.</p>
<p><strong>2)</strong> Click on the  &#8216;Nameservers&#8217; links, Shown below:</p>
<p><img class="alignnone size-full wp-image-572" title="Selecting nameservers link" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/delegate-sub-1.png" alt="Selecting nameservers link" width="560" height="678" /></p>
<p><strong>3)</strong> Add the domain and subdomain in full in the &#8216;Domain Name&#8217; field, and the new nameserver in the next field. The IP isn&#8217;t necessary. In the image below, you can see that one nameserver for the subdomain has already been added, and the second one is being entered. There ARE usually at least 2 nameservers for a zone.</p>
<p><img class="alignnone size-full wp-image-571" title="Adding nameservers for delegated sub domain" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/delegate-sub-2.png" alt="Adding nameservers for delegated sub domain" width="560" height="377" /></p>
<p>That&#8217;s it, done. Now when a lookup is done on test.mydomain.com, the query is forwarded to the nameservers ns1 and ns2 at anotherserver.com, and any records they have for the subdomain are returned.</p>
<p>Please leave a comment if you have any questions, thoughts or corrections.</p>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/v1NzaQHNAxU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2009/07/delegating-a-sub-domain-to-other-nameservers-with-zoneedit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>“JFolder::create: Could not create directory” error in Joomla 1.5.* on IIS.</title>
		<link>http://www.myquickfix.co.uk/index.php/2009/07/jfolder-create-could-not-create-directory/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2009/07/jfolder-create-could-not-create-directory/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 09:46:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Joomla!]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[temporary]]></category>
		<category><![CDATA[tmp]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=552</guid>
		<description><![CDATA[Problem
When trying to add a Plugin, Component or Module in Joomla&#8217;s Extension Manager, you might get the following error:
JFolder::create: Could not create directory
Warning! Failed to move file.
Shown here:

This is likely &#8211; but not definitely &#8211; to be after the site has been moved from location to another, a change of directory, or server.
Solution
When a Component, Plugin or Module is added, the Joomla system attempts to copy the installable zip to a temporary directory, called &#8216;tmp&#8216;. From there, PHP extracts the files and installs them. The error above usually occurs for ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>When trying to add a Plugin, Component or Module in Joomla&#8217;s Extension Manager, you might get the following error:</p>
<p><span style="color: #ff0000;">JFolder::create: Could not create directory<br />
Warning! Failed to move file.</span></p>
<p>Shown here:</p>
<p><img class="size-full wp-image-551 alignnone" title="Error showing in extension manager" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/joomla-Jfolder1.png" alt="Error showing in extension manager" width="300" height="300" /></p>
<p>This is likely &#8211; but not definitely &#8211; to be after the site has been moved from location to another, a change of directory, or server.</p>
<h2>Solution</h2>
<p>When a Component, Plugin or Module is added, the Joomla system attempts to copy the installable zip to a temporary directory, called &#8216;<strong>tmp</strong>&#8216;. From there, PHP extracts the files and installs them. The error above usually occurs for one or more of the following reasons (in order of likelihood):</p>
<p><strong>The path to the &#8216;tmp&#8217; directory is wrong in the Joomla configuration file</strong></p>
<p>In the Joomla installation root, find the file called &#8216;configuration.php&#8217;. In this file there should be a line with that says something like:</p>
<p><em>var $tmp_path = &#8216;C:\\path\\to\\your\\cms\\tmp&#8217;;</em></p>
<p>A masked live example is shown here:</p>
<p><img class="alignnone size-full wp-image-550" title="Correct path to tmp directory" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/joomla-Jfolder2.png" alt="Correct path to tmp directory" width="450" height="200" /></p>
<p>Check that this path is correct, and that the &#8216;tmp&#8217; directory truly does sit in that location. In this example, the directory would need to be here: d<em>:\clients\sites\[my client]\tmp.</em></p>
<p><strong>The temporary exists, but is not &#8216;writable&#8217;</strong></p>
<p>If the &#8216;tmp&#8217; directory has the wrong permissions, the web service won&#8217;t be able to copy the installer files to it. To check/correct this you will need  access to the server physically, or via a remote admin method like <a href="http://en.wikipedia.org/wiki/Remote_Desktop_Protocol">RDP</a> (terminal services), <a href="http://en.wikipedia.org/wiki/Vnc">VNC</a> or similar.</p>
<p>Find the &#8216;tmp&#8217; directory in the web root, and view the permissions. The IIS Guest account, called &#8216;IUSR_[machinename]&#8216;, needs to be given &#8216;modify&#8217; privileges. Example shown below:</p>
<p><img class="alignnone size-full wp-image-566" title="giving IUSR account modify permissions" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/joomla-Jfolder3.png" alt="giving IUSR account modify permissions" width="368" height="474" /></p>
<p><strong>The temporary directory doesn&#8217;t exist</strong></p>
<p>To check this, navigate to your web root (often wwwroot) and check that a directory called &#8216;<strong>tmp</strong>&#8216; exists. This directory should have been created when the Joomla was installed, but it&#8217;s conceivable that it might have been deleted&#8230; maybe? If it doesn&#8217;t exist, create it, and make sure its &#8216;writable&#8217; (see previous step).</p>
<p>If none of this works, or you spot a mistake,  post a comment.</p>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/R8xlUa917D4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2009/07/jfolder-create-could-not-create-directory/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Skoda Fabia VRS, temperature beep, expansion tank replacement</title>
		<link>http://www.myquickfix.co.uk/index.php/2009/07/fabia-vrs-temperature-beep-expansion-tank-replacement/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2009/07/fabia-vrs-temperature-beep-expansion-tank-replacement/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 16:55:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mechanics]]></category>
		<category><![CDATA[beep]]></category>
		<category><![CDATA[coolant]]></category>
		<category><![CDATA[expansion]]></category>
		<category><![CDATA[tank]]></category>
		<category><![CDATA[temperature]]></category>
		<category><![CDATA[vrs]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=519</guid>
		<description><![CDATA[Problem
My Fabia&#8217;s temperature indicator light started flashing and beeping at me a few minutes after the engine was started, each time I used the car. The coolant level was fine, and the car seemed to get up to temperature quickly and stay there, never overheating. A quick search of the Briskoda forum revealed that this is a common fault, caused by faulty terminals and/or electrodes in the expansion tank vessel.
Solution
On the VRS models, and possibly others, the electrodes that measure coolant level cannot be replaced or cleaned, so a complete ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>My Fabia&#8217;s temperature indicator light started flashing and beeping at me a few minutes after the engine was started, each time I used the car. The coolant level was fine, and the car seemed to get up to temperature quickly and stay there, never overheating. A quick search of the <a title="Link to the Briskoda forum" href="http://briskoda.net/fabia-i/">Briskoda</a> forum revealed that this is a common fault, caused by faulty terminals and/or electrodes in the expansion tank vessel.</p>
<h2>Solution</h2>
<p>On the VRS models, and possibly others, the electrodes that measure coolant level cannot be replaced or cleaned, so a complete expansion tank replacement is needed. Thankfully these are cheap (about a tenner) and easy to fit. Here is a fitting guide, with photos where necessary:</p>
<p><strong>1)</strong> Unhook the loom carrier from the two fixing holding the tank in place.</p>
<p><img class="alignnone size-full wp-image-510" title="Un clipping the loom thing from the tank." src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/ex-tank-1.jpg" alt="Un clipping the loom thing from the tank." width="560" height="420" /></p>
<p><strong>2)</strong> Now disconnect the terminal on the rear of the expansion tank that connects the coolant level sensor to the loom. There are clips on the top AND the bottom of this clip. Don&#8217;t force it, if it doesn&#8217;t come off easily it&#8217;s likely because the lower clip is not being squeezed firmly enough.</p>
<p><img class="alignnone size-full wp-image-511" title="Disconnect the level sensor teminal" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/ex-tank-2.jpg" alt="Disconnect the level sensor teminal" width="560" height="420" /></p>
<p><strong>3)</strong> Remove the overflow pipe (or maybe it&#8217;s a return pipe) at the top rear of the tank. This is most easily done with parallel pliers or mole-grips, by squeezing the sprung hose clamp, then easing the pipe off. Make sure you don&#8217;t lose the hose clamp in the engine bay. I found it best to tuck the pipe backwards under the strut brace to keep it out of the way.</p>
<p><img class="alignnone size-full wp-image-512" title="Remove overflow pipe" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/ex-tank-3.jpg" alt="Remove overflow pipe" width="560" height="420" /></p>
<p><strong>4)</strong> Unclip the vacuum pipes from the vacuum thingy (if you know what this &#8216;thingy&#8217; is, please leave a comment below telling me, and I&#8217;ll put the right name in). The two sprung clips are easy to press by hand as shown in the photo. You might hear a little &#8216;hiss&#8217; (i did) when you do this. Doesn&#8217;t seem to be a problem.</p>
<p><img class="alignnone size-full wp-image-513" title="Remove vacuum hoses from vacuum unit" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/ex-tank-4.jpg" alt="Remove vacuum hoses from vacuum unit" width="560" height="420" /></p>
<p><strong>5)</strong> Remove the two  front nuts that hold the vacuum thingy frame in. The plastic loom support will probably be right in your way for this. If you&#8217;ve completely unhooked it (<strong>see step 1</strong>) you should be able to manhandle the wiring backwards for the right-hand nut, and pulled right forward for the left-hand nut. The nuts have captive washers which is nice, but be sure not to let them drop in the engine bay!</p>
<p><img class="alignnone size-full wp-image-514" title="Remove two front bolts for cage above turret" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/ex-tank-5.jpg" alt="Remove two front bolts for cage above turret" width="560" height="420" /></p>
<p><strong>6)</strong> Remove the 3rd frame bolt right by the bulkhead. The angle can be a bit tricky and I found that an extension was needed with the socket set.</p>
<p><img class="alignnone size-full wp-image-515" title="Remove the rear bolt from the frame" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/ex-tank-6.jpg" alt="Remove the rear bolt from the frame" width="560" height="420" /></p>
<p><strong>7)</strong> Now to get the frame out, you will need to pull the loom wiring and plastic support thing right out of the way forward. It hooks over the expansion tank socket quite nicely as you can see in the photo. Lift the frame gently off the two front fixings, then pull it towards the front of the car to get the frame off the rear fixing.</p>
<p><img class="alignnone size-full wp-image-516" title="Moving the loom over the tank" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/ex-tank-7.jpg" alt="Moving the loom over the tank" width="560" height="420" /></p>
<p><strong>8)</strong> Lift the frame completely out of the way. I found that if you turn it 90 degrees it sits between the suspension turret and the rubber bonnet seal quite well.</p>
<p><img class="alignnone size-full wp-image-517" title="Moving frame out of the way" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/ex-tank-8.jpg" alt="Moving frame out of the way" width="560" height="420" /></p>
<p><strong>9)</strong> Now remove the 2 fixings that hold the tank in. As shown in the photo below, the fixing is a bolt, a captive washer, and a screw all in one. A 10mm socket removes the fixing. Once both are removed, the tank will stay where it is until you lift it out.</p>
<p><img class="alignnone size-full wp-image-518" title="Tank fixings" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/ex-tank-9.jpg" alt="Tank fixings" width="560" height="420" /></p>
<p><strong>10)</strong> Now the tank is ready to come out, clamp the bottom hose near as near to the tank as possible (<strong>see pic for step 11</strong>) with a pair of mole-grips.<br />
<strong>Caution:</strong> if you clamp it too right you risk damaging the hose, especially with the <a title="link to info about mechanical advantage" href="http://en.wikipedia.org/wiki/Mechanical_advantage">mechanical advantage</a> that mole-grips give. It&#8217;s soft hose, so only needs to be squeezed a bit.<br />
Then siphon the tank into a bottle or something with some tube. I&#8217;m not sure how corrosive G12 coolant is, but um.. don&#8217;t drink it.. or get it on your paintwork.. or eyes.. or sensitive bits.</p>
<p><img class="alignnone size-full wp-image-540" title="Siphon the tank" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/ex-tank-10.jpg" alt="Siphon the tank" width="560" height="420" /></p>
<p><strong>11)</strong> Now that the tank is empty (more or less) you can use some pliers (parallel or adjustable ones are best for this) to loosen the sprung hose clamp with one hand, while pulling the tank free with the other hand. I found that the hose came off easily once the sprung clamp was very loose. If the hose doesn&#8217;t want to come free, it might be best to use a second pair of mole-grips on the sprung clamp, thus leaving two hands free to wrestle the tank and hose apart.</p>
<p><img class="alignnone size-full wp-image-541" title="Unclamp the tank" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/ex-tank-11.jpg" alt="Unclamp the tank" width="560" height="420" /></p>
<p>12) If this is done carefully, there should be no spillage. The tiny amount of coolant left in the neck of the tank after it was siphoned should stay in the up-turned hose.</p>
<p><img class="alignnone size-full wp-image-539" title="No spills.." src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/ex-tank-12.jpg" alt="No spills.." width="560" height="420" /></p>
<p>13) Now, fit the new expansion tank by reversing this process completely. <strong>Note:</strong> If G12 coolant is already in the system, G12 must be used when  the new tank is filled up. It&#8217;s best to use new coolant, and the OEM pink stuff is readily available for about £5-10 from any VAG dealer.</p>
<p>If you have any corrections, questions or thoughts, please leave a comment.</p>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/yZkUdVshcFU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2009/07/fabia-vrs-temperature-beep-expansion-tank-replacement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shorter links to eBay items</title>
		<link>http://www.myquickfix.co.uk/index.php/2009/07/shorter-links-to-ebay-items/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2009/07/shorter-links-to-ebay-items/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 09:27:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Day to Day]]></category>
		<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[Mozilla FireFox]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[custom search]]></category>
		<category><![CDATA[ebay]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[friendly url]]></category>
		<category><![CDATA[links]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=442</guid>
		<description><![CDATA[Problem
I need to send a mate a link to an item on eBay after breaking his strimmer. The nice people at eBay have reworked their URL structure recently to improve SEO, so a link to a single item now looks something like this:
http://cgi.ebay.co.uk/Medium-duty-bump-head-for-Kawasaki-brushcutter-strimmer_W0QQitemZ190302614007QQcmdZViewItemQQptZUK_Home_Garden_GardenPowerTools_CA?hash=item2c4eeb71f7&#38;_trksid=p3286.c0.m14&#38;_trkparms=65:12&#124;66:2&#124;39:1&#124;72:1686&#124;293:1&#124;294:50
..which is not exactly Twitter, Live Messenger or email friendly. Long URLs break often in email and instant messengers when they &#8216;wrap&#8217; at the end of a line (like the above is doing).
Solution
Here&#8217;s the old style linking system that still works: http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&#38;item=190302614007
So you can use that structure for a ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>I need to send a mate a link to an item on eBay after breaking his strimmer. The nice people at eBay have reworked their URL structure recently to improve SEO, so a link to a single item now looks something like this:</p>
<p><strong><em>http://cgi.ebay.co.uk/Medium-duty-bump-head-for-Kawasaki-brushcutter-strimmer_W0QQitemZ190302614007QQcmdZViewItemQQptZUK_Home_Garden_GardenPowerTools_CA?hash=item2c4eeb71f7&amp;_trksid=p3286.c0.m14&amp;_trkparms=65:12|66:2|39:1|72:1686|293:1|294:50</em></strong></p>
<p>..which is not exactly Twitter, Live Messenger or email friendly. Long URLs break often in email and instant messengers when they &#8216;wrap&#8217; at the end of a line (like the above is doing).</p>
<h2>Solution</h2>
<p>Here&#8217;s the old style linking system that still works: <strong><em>http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&amp;item=190302614007</em></strong></p>
<p>So you can use that structure for a link to any item. Just paste&#8230;</p>
<p><strong>http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&amp;item=</strong></p>
<p>&#8230;into your browser, email or anything followed by the item number, as above, and it&#8217;ll work.</p>
<p>If you can&#8217;t find the item number in the complicated URL, remember its on each item listing page here:</p>
<p><img class="size-full wp-image-447 alignnone" title="eBay item number" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/ebay-item-number.png" alt="eBay item number" width="433" height="299" /></p>
<h2>Bonus trick for Chrome or Firefox users:</h2>
<p>Chrome and Firefox both allow custom searches to be added easily via bookmarks. These allow you to type a &#8216;keyword&#8217; into the address bar, then a &#8217;search phrase&#8217;, and automatically search a specific site for it. This useful functionality is perfect for getting a link to an eBay item. What you do is create a custom search with the keyword &#8216;el&#8217; (for &#8216;eBay Link&#8217;, but use whatever you&#8217;ll remember, keep it short!) and point it to &#8216;http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&amp;item=%s&#8217;. <strong>Note:</strong> the &#8216;%s&#8217; is substituted for the search phrase &#8211; in this case an item number &#8211; when the search is done.</p>
<p><strong>Chrome Instructions</strong></p>
<p>Open the Chrome options:</p>
<p><img class="alignnone size-full wp-image-459" title="Chrome options" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/chrome-custom-search1.png" alt="Chrome options" width="281" height="287" /></p>
<p>Then follow this process:</p>
<ol>
<li>Click the  &#8216;Manage&#8217; button in the &#8216;Default Search&#8217; area.</li>
<li>In the &#8216;Search Engines&#8217; window, click &#8216;Add&#8217;.</li>
<li>Name the new custom search.</li>
<li>Give it an easy to remember keyword.</li>
<li>In URL enter: &#8220;http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&amp;item=%s&#8221;.</li>
<li>&#8216;Ok&#8217; the window, and &#8216;close&#8217; out of the others.</li>
</ol>
<p>Here&#8217;s the visual process:</p>
<p><img class="alignnone size-full wp-image-463" title="Adding custom eBay item number search" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/chrome-custom-search2.png" alt="Adding custom eBay item number search" width="581" height="539" /></p>
<p>Now to use your new custom eBay item linker, type &#8220;el [item number]&#8221; into the Chrome address bar, and hit &#8216;enter/return&#8217;. You&#8217;ll notice that as soon as you&#8217;ve typed &#8220;el&#8221; and a space and start to enter the item number, Chrome shows that you&#8217;re about to do a custom search:</p>
<p><img class="alignnone size-full wp-image-465" title="custom search in address bar" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/chrome-custom-search3.png" alt="custom search in address bar" width="581" height="114" /></p>
<p>great right? Yea I love it too.</p>
<p><strong>FireFox instructions</strong></p>
<p>In firefox it&#8217;s a very similar process:</p>
<ol>
<li>Open the &#8216;Organise Bookmarks&#8217; pane with <strong>Ctrl + Shift + B</strong> (on a dirty mac it&#8217;s <strong>Shift + Command + B</strong>).</li>
<li>Under &#8216;Unsorted Bookmarks&#8217; add a new Bookmark and name it &#8216;eBay Item Link&#8217; or whatever.</li>
<li>In Location enter &#8220;http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&amp;item=%s&#8221;.</li>
<li> Add an easy to remember keyword like &#8216;el&#8217;.</li>
<li>Click &#8216;Add&#8217; button then close out of the bookmarks pane.</li>
</ol>
<p>Here&#8217;s a visual prompt for the process:</p>
<p><img class="alignnone size-full wp-image-467" title="Firefox bookmark adding eBay item number search" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/firefox-custom-search1.png" alt="Firefox bookmark adding eBay item number search" width="540" height="372" /></p>
<p>And here&#8217;s what it looks like when you use it:</p>
<p><img class="alignnone size-full wp-image-468" title="Searching for item number in FireFox" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/firefox-custom-search2.png" alt="Searching for item number in FireFox" width="540" height="133" /></p>
<p>There, If you know a better or quicker way, or have an issues, please leave a comment below.</p>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/aMRNt3XJATY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2009/07/shorter-links-to-ebay-items/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add domain (DNS) Wildcard/catchall (*) entries with Zoneedit</title>
		<link>http://www.myquickfix.co.uk/index.php/2009/07/domain-dns-wildcard-catchall-zoneedit/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2009/07/domain-dns-wildcard-catchall-zoneedit/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 11:41:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[catchall]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[wildcard]]></category>
		<category><![CDATA[zoneedit]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=431</guid>
		<description><![CDATA[Problem
I&#8217;m now using ZoneEdit to handle the zone record for new domains. It gives far more control over the zone, and is very quick with updates etc.  I needed to setup one particular domain so that all traffic to that it &#8211; and any subdomains &#8211; went to one IP address. A &#8216;catchall&#8217; if you like.
For example: &#8216;myquickfix.co.uk&#8217; and &#8216;www.myquickfix.co.uk&#8217;  have A records pointing to 82.109.178.44. If I needed the subdomain &#8216;pants.myquickfix.co.uk&#8217; to point to that IP also, I could add a CNAME record, or another A record. But if ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>I&#8217;m now using <a title="Link to ZoneEdit " href="http://www.zoneedit.com/">ZoneEdit</a> to handle the zone record for new domains. It gives far more control over the zone, and is very quick with updates etc.  I needed to setup one particular domain so that all traffic to that it &#8211; and any subdomains &#8211; went to one IP address. A &#8216;catchall&#8217; if you like.</p>
<p><strong>For example:</strong> &#8216;myquickfix.co.uk&#8217; and &#8216;www.myquickfix.co.uk&#8217;  have A records pointing to 82.109.178.44. If I needed the subdomain &#8216;pants.myquickfix.co.uk&#8217; to point to that IP also, I could add a CNAME record, or another A record. But if I need lots of subdomains all pointing to the same IP, it&#8217;s far easier to add a wildcard A record.</p>
<h2>Solution</h2>
<p>Wildcard entries are represented by an asterisk (*) and will send all requests that aren&#8217;t covered by other entries, to the specified IP. Shown below are the relevant ZoneEdit screens where this can be setup:</p>
<div id="attachment_430" class="wp-caption alignnone" style="width: 448px"><img class="size-full wp-image-430" title="zoneedit-wildcard-1" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/zoneedit-wildcard-1.gif" alt="An asterisk is entered for Name, and the destination in Numperic IP" width="438" height="277" /><p class="wp-caption-text">An asterisk is entered for Name, and the destination in Numperic IP</p></div>
<p><strong>Note:</strong> There are already entries for the domain, &#8216;www&#8217; and &#8216;mail&#8217;. But we want to add the wildcard / catchall record in the fields above &#8216;Add New IP Address&#8217;. By the way, this is done in the &#8216;IP Addresses (A)&#8217;  screen.</p>
<div id="attachment_429" class="wp-caption alignnone" style="width: 448px"><img class="size-full wp-image-429" title="zoneedit-wildcard-2" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/zoneedit-wildcard-2.gif" alt="After the wildcard entry is added, it appears in the list" width="438" height="277" /><p class="wp-caption-text">After the wildcard entry is added, it appears in the list</p></div>
<p>The entry now appears in the list. If you wait for a few minutes and try to browse to a random subdomain of your domain, it should work. Woo!</p>
<p><strong>A few notes:</strong></p>
<p><strong> </strong>If you&#8217;ve tried the subdomain in your browser before adding the wildcard, you might get a 404 error or just a blank page because the browser has cached the result from lastime. To get around this, clear your browsers cache, and flush your DNS cache. In Windows this is done by opening a command prompt and typing: &#8220;ipconfig /flushdns&#8221;.</p>
<p>If you try and click on the link that appears with the asterisk in ZoneEdit, it is very unlikely to work. The browser will try and URL encode the address turning &#8216;*.domain.co.uk&#8217; into &#8216;%2A.domain.co.uk&#8217; and you&#8217;ll get an Invalid Hostname error (400).</p>
<p>Any thoughts? please comment.</p>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/LvDc3Z1BiZY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2009/07/domain-dns-wildcard-catchall-zoneedit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keyboard switching languages – Double quotes (”) and ‘at’ sign (@) reversed.</title>
		<link>http://www.myquickfix.co.uk/index.php/2009/06/keyboard-switching-languages-double-quotes-and-at-sign-reversed/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2009/06/keyboard-switching-languages-double-quotes-and-at-sign-reversed/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 15:14:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[input language]]></category>
		<category><![CDATA[keyboard]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=413</guid>
		<description><![CDATA[Problem
Every so often when I&#8217;m typing, usually when I&#8217;m coding because I use so many shortcuts, the at sign &#8216;@&#8217; and double quotes (&#8221;) get swapped. Annoying!
Solution
When this happens it&#8217;s because I&#8217;ve accidentally pressed &#8216;Shift + Alt&#8217;. THis key combo causes Windows to switch my keyboard (input) language to US. The easiest way to stop this happening, is disable the &#8216;Shift+Alt&#8217; shortcut:
1) From &#8216;Control Panel&#8217;, open the &#8216;Regional and Language Options&#8217;.
2) In &#8216;Regional and Language Options&#8217; window, select the &#8216;Languages&#8217; tab, and click the &#8216;Details&#8217; button inside the &#8216;Text services and ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>Every so often when I&#8217;m typing, usually when I&#8217;m coding because I use so many shortcuts, the at sign &#8216;@&#8217; and double quotes (&#8221;) get swapped. Annoying!</p>
<h2>Solution</h2>
<p>When this happens it&#8217;s because I&#8217;ve accidentally pressed &#8216;Shift + Alt&#8217;. THis key combo causes Windows to switch my keyboard (input) language to US. The easiest way to stop this happening, is disable the &#8216;Shift+Alt&#8217; shortcut:</p>
<p>1) From &#8216;Control Panel&#8217;, open the &#8216;Regional and Language Options&#8217;.</p>
<p>2) In &#8216;Regional and Language Options&#8217; window, select the &#8216;Languages&#8217; tab, and click the &#8216;Details&#8217; button inside the &#8216;Text services and input languages&#8217; section.</p>
<p><img class="size-full wp-image-418  alignnone" title="Regional and language options" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/06/key-lang-1.png" alt="Select the Details button under the Languages tab" width="404" height="326" /></p>
<p>3) In the &#8216;Settings&#8217; tab, click the &#8216;Key Settings&#8217; button.</p>
<p><img class="size-full wp-image-419   alignnone" title="Regional and language options" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/06/key-lang-2.png" alt="Selecting Key Settings" width="404" height="485" /></p>
<p>4) In the &#8216;Hot keys..&#8217; section, highlight the action &#8216;Switch between input languages&#8217; and then click the &#8216;Change Key Sequence&#8217; button.</p>
<p><img class="alignnone size-full wp-image-420" title="Selecting key settings" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/06/key-lang-3.png" alt="Selecting key settings" width="414" height="297" /></p>
<p>5) Un-tick BOTH tickboxes.</p>
<p><img class="alignnone size-full wp-image-417" title="Switch off shortcuts" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/06/key-lang-4.png" alt="Switch off shortcuts" width="434" height="152" /></p>
<p>6) Now just &#8216;OK&#8217; and &#8216;Apply&#8217; your way back out of the open windows and <strong><span style="color: #ff0000;">IMPORTANT</span></strong> you need to reboot for the changes to make effect.</p>
<p>Know of a quicker way? please post a comment&#8230;</p>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/1shLGX7smQI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2009/06/keyboard-switching-languages-double-quotes-and-at-sign-reversed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Set space between list item and bullet (HTML, CSS)…</title>
		<link>http://www.myquickfix.co.uk/index.php/2009/06/set-space-between-list-item-and-bullet-html-css/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2009/06/set-space-between-list-item-and-bullet-html-css/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 10:07:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=372</guid>
		<description><![CDATA[Problem
I&#8217;ve just had to convert a photoshop visual to a wordpress template. The designer wanted a bulleted list where the bullets themselves were very close to the list items, and were small dashes. Cross browser support for list item and bullet styling is ropey at best, and to make things perfect I&#8217;d have to resort to browser specific styles.
Solution
The solution I think I&#8217;ll be using for the rest of my &#8216;web&#8217; career will be this. JUST FORGET THE BULLET ITEM, and use positioned background images instead.
In the stylesheet, add styles ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>I&#8217;ve just had to convert a photoshop visual to a wordpress template. The designer wanted a bulleted list where the bullets themselves were very close to the list items, and were small dashes. Cross browser support for list item and bullet styling is ropey at best, and to make things perfect I&#8217;d have to resort to browser specific styles.</p>
<h2>Solution</h2>
<p>The solution I think I&#8217;ll be using for the rest of my &#8216;web&#8217; career will be this. JUST FORGET THE BULLET ITEM, and use positioned background images instead.</p>
<p>In the stylesheet, add styles for both the &#8216;ul&#8217; tag, and the &#8216;li&#8217; tag like so (explanations inline):</p>
<pre class="css">ul {
margin-left:0px; /* Set the indenting back to far left. */
padding-left:0px; /* Set the indenting back to far left. */
}

ul li {
list-style-type:none; /* Switch the list bullet off altogether. */
background-image:url(dashbullet.gif); /* The replacement bullet image */
background-position:0px 4px; /* Place bullet 0px from left and 4px from top */
background-repeat:no-repeat; /* Stops bullet tiling, important */
padding-left:7px; /* separation from li txt and bullet */
}</pre>
<p>Then just create the list as you usually would, with &#8216;ul&#8217; and &#8216;li&#8217; tags. Here&#8217;s what it looks like in use:</p>
<div id="attachment_400" class="wp-caption aligncenter" style="width: 210px"><img class="size-full wp-image-400" title="Fixed css image bullets" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/06/list-fix.gif" alt="Example of image bullet in use" width="200" height="150" /><p class="wp-caption-text">Example of image bullet in use</p></div>
<p>Here&#8217;s a bit more detail so you can get your head around the spacing. It&#8217;s incredibly simple, but still, nice to have a diagram or two sometimes.</p>
<div id="attachment_401" class="wp-caption aligncenter" style="width: 410px"><img class="size-full wp-image-401" title="Fixed css image bullets - detail" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/06/list-fix-detail.gif" alt="Detail showing some dimensions and spacing" width="400" height="174" /><p class="wp-caption-text">Detail showing some dimensions and spacing</p></div>
<p>This style works perfectly (by my testing, but I&#8217;m not perfect) on:</p>
<ul>
<li>Internet Explorer 6, 7 &amp; 8+</li>
<li>Firefox 2.*+</li>
<li>Opera 9+ (not tested 8, but bet it works!</li>
<li>Google Chrome (all versions)</li>
<li>Safari (Mac and PC versions)</li>
</ul>
<div>Any problems, please post a question or comment below.</div>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/XfdxHWK9QpY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2009/06/set-space-between-list-item-and-bullet-html-css/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Convert a VOB (DVD) movie, and import into Adobe Premiere</title>
		<link>http://www.myquickfix.co.uk/index.php/2009/06/convert-a-vob-dvd-movie-and-import-into-adobe-premiere/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2009/06/convert-a-vob-dvd-movie-and-import-into-adobe-premiere/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 09:27:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Adobe Premiere]]></category>
		<category><![CDATA[adobe premier]]></category>
		<category><![CDATA[dvd]]></category>
		<category><![CDATA[importing]]></category>
		<category><![CDATA[vob]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=385</guid>
		<description><![CDATA[Problem
A colleague was having trouble getting a DVD imported to Adobe Premier for some overlay edits etc and asked me to take a look.
Solution
VOB files are MPEG-2 files with a different coat on. Rename the .vob file to .mpg and it should work. This also works in Sony Vegas and probably other software. No idea how copy-protection on some disks might effect this?
That really WAS a quickfix and probably not worth posting. If you have any questions, thoughts or corrections please post a comment below.
]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>A colleague was having trouble getting a DVD imported to Adobe Premier for some overlay edits etc and asked me to take a look.</p>
<h2>Solution</h2>
<p>VOB files are MPEG-2 files with a different coat on. Rename the .vob file to .mpg and it should work. This also works in Sony Vegas and probably other software. No idea how copy-protection on some disks might effect this?</p>
<p>That really WAS a quickfix and probably not worth posting. If you have any questions, thoughts or corrections please post a comment below.</p>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/nnKuK_6ZNbA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2009/06/convert-a-vob-dvd-movie-and-import-into-adobe-premiere/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick ‘Lorem Ipsum’ plugin / extension for IE</title>
		<link>http://www.myquickfix.co.uk/index.php/2009/04/lorem-ipsum-ie/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2009/04/lorem-ipsum-ie/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 12:09:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Registry]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=334</guid>
		<description><![CDATA[Problem
While doing web development, I frequently need to insert lorem ipsum into a text field or textarea. To do this &#8211; bearing in mind that I don&#8217;t really like or use bookmarks, too messy &#8211; I tend to google &#8220;lorem ipsum&#8221;, hit lipsum.com, select/copy the block of text, and then return to my form field and paste it.
I wanted a quicker solution, and as I find myself using IE more and more to develop in now (thanks to the excellent &#8216;Developer Tools&#8217; extension &#8211; never thought I&#8217;d say that!) my lorem ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>While doing web development, I frequently need to insert <a title="Lorem Ipsum explanation" href="http://en.wikipedia.org/wiki/Lorem_ipsum" target="_blank">lorem ipsum</a> into a text field or textarea. To do this &#8211; bearing in mind that I don&#8217;t really like or use bookmarks, too messy &#8211; I tend to google &#8220;lorem ipsum&#8221;, hit <a href="http://www.lipsum.com/">lipsum.com</a>, select/copy the block of text, and then return to my form field and paste it.</p>
<p>I wanted a quicker solution, and as I find myself using IE more and more to develop in now (thanks to the excellent &#8216;Developer Tools&#8217; extension &#8211; never thought I&#8217;d say that!) my lorem ipsum fix would have to be in the form of an IE toolbar button or menu item.</p>
<h2>Solution</h2>
<p>It turns out that adding a simple javascript based text field filler option to a context menu is really easy, so that&#8217;s what I did. Here are the steps:</p>
<p><strong>Firstly:</strong> Create the javascript to access the currently focused field, and insert the lorem ipsum text. Create a new html file in a location of your choice &#8211;  I used C:\Program Files\Internet Explorer\Plugins &#8211; and copy the following code into it:</p>
<pre name="code" class="js">&lt;script language="JavaScript"&gt;
var parentwin = external.menuArguments;
var doc = parentwin.document;
var rng = doc.selection.createRange();
rng.text = "Lorem ipsum dolor sit amet, consectetur adipisicing elit, \
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. \
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi \
ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit \
in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur \
sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt \
mollit anim id est laborum.";
&lt;/script&gt;</pre>
<p>Save the file as loremipsum.htm.</p>
<p><strong>Secondly:</strong> Create the registry entry for the menu item:</p>
<ol>
<li>Open/run &#8216;regedit&#8217; (Start &gt; run&#8230; &gt; &#8220;regedit&#8221; &gt; &#8216;Ok&#8217;)</li>
<li>Use the tree to navigate to:<br />
<em>HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt</em><br />
using the tree view on the left of the Registry Editor.</li>
<li>Create a new key (Right click, &#8220;New&#8221; &gt; &#8220;Key&#8221;) and call it &#8220;Lorem Ipsum&#8221; or anything you like.</li>
<li>Inside the new key, open the &#8216;default&#8217; string value that&#8217;s already there (double click on it), and enter the path to the script you created just now. i.e. <em>C:\Program Files\Internet Explorer\Plugins\loremipsum.htm </em></li>
<li>Now create a new DWORD value (Right click, &#8220;New&#8221; &gt; &#8220;DWORD Value&#8221;) and rename it &#8220;Contexts&#8221;. Set the value to 0&#215;04 (hex) or 4 (decimal). <a title="Microsofts info on Contexts values" href="http://msdn.microsoft.com/en-us/library/aa753589.aspx" target="_blank">Here&#8217;s</a> an explanation of the different values.</li>
</ol>
<div id="attachment_365" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-365" title="lorem-reg" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/04/lorem-reg.png" alt="The new Key and values in RegEdit" width="500" height="250" /><p class="wp-caption-text">The new Key and values in RegEdit</p></div>
<p>That&#8217;s it! Now open IE, find a textarea or text field, right click, and you should see something like this:</p>
<div id="attachment_368" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-368" title="lorem-action" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/04/lorem-action.png" alt="Note the new highlighted option in the context menu" width="500" height="246" /><p class="wp-caption-text">Note the new highlighted option in the context menu</p></div>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/zOe9TXYgNu8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2009/04/lorem-ipsum-ie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Calculating parallel resistances</title>
		<link>http://www.myquickfix.co.uk/index.php/2009/04/calculating-parallel-resistances/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2009/04/calculating-parallel-resistances/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 10:08:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Electrical / Electronics]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[resistors]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=317</guid>
		<description><![CDATA[Problem
Parallel resistances can be are hard to understand because your dealing with a ratio not a sum. If you had two 10 ohm resistors connected in parallel, the total resistance accross the two would be 5ohms &#8211; this much is fairly easy to grasp because both resistors would share the current equally. But as soon as the values are different, each resistor handles a different share of the current.
Solution
To work out the total resistance accross 2 or more resistors connected in parallel you need this formula:
Rtotal = 1 / ( (1/R1) + (1/R2) ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>Parallel resistances can be are hard to understand because your dealing with a ratio not a sum. If you had two 10 ohm resistors connected in parallel, the total resistance accross the two would be 5ohms &#8211; this much is fairly easy to grasp because both resistors would share the current equally. But as soon as the values are different, each resistor handles a different share of the current.</p>
<h2>Solution</h2>
<p>To work out the total resistance accross 2 or more resistors connected in parallel you need this formula:</p>
<blockquote><p>Rtotal = 1 / ( (1/R1) + (1/R2) <em>+ (1/Rn)</em> )</p></blockquote>
<p><span style="color: #ff0000;">Note:</span> <em>(1/Rn) is repeated for each additional resistor in parallel, so for 4 resistors the formula would be:</em></p>
<blockquote><p>Rtotal = 1 / ( (1/R1) + (1/R2) + (1/R3) + (1/R4) )</p></blockquote>
<p><strong>Example:</strong> The other day I was asked if an <a href="http://wikilec.9600.org/index.php/Coolant_Temperature_Sender">engine temperature sender</a> could be wired in parallel to a resistor to make a miss-matched temperature gauge read properly (short answer: NO). So lets substitute some real world values from this example problem to see how the above formula works:<br />
R1 is the resistance of the sender at a given temp, R2 is the resistor to be used in parallel. So substitute 400ohms for R1 and (for arguments sake) 39ohms for R2:</p>
<blockquote><p>1) Rtotal = 1 / ( (1/400) + (1/39) )<br />
2) Rtotal = 1 / ( (0.0025) + (0.0256) )<br />
3) Rtotal = 1 / 0.0281<br />
4) Rtotal = 35.6 ohms</p></blockquote>
<p>If you play about with some values you&#8217;ll soon notice two things:<br />
- <strong>Rtotal will never be higher than the smallest Resistor used</strong>. i.e with setup above, no matter what resistance the sender reads, Rtotal will never be over 39ohms.<br />
- <strong>Rtotal will always be at most half of the value of the highest resistor used</strong>. With above info, whatever you choose for R2, Rtotal will always be 200ohms or less.</p>
<p>This could get complicated if we go into WHY the person wanted to change the working range of the sender. This post if just intended to give a real world example of parallel resistance. Please question, correct or comment below if you want :)</p>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/UafImOXhKDg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2009/04/calculating-parallel-resistances/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing JCE ‘Browse’ path (File Directory Path)</title>
		<link>http://www.myquickfix.co.uk/index.php/2009/01/changing-jce-browse-path-file-directory-pathdirectory-path/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2009/01/changing-jce-browse-path-file-directory-pathdirectory-path/#comments</comments>
		<pubDate>Mon, 26 Jan 2009 14:33:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Joomla!]]></category>
		<category><![CDATA[JCE]]></category>
		<category><![CDATA[joomla 1.5]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=309</guid>
		<description><![CDATA[Problem
A coleague wanted to change the default &#8216;browse&#8217; path that the JCE &#8216;Image Manager&#8217; and &#8216;File Browser&#8217; plugins use. By default when you use the plugins, the contents of the &#8216;Stories&#8217; directory will be displayed. It seems that even if you go into the plugin settings ( under &#8216;Components &#62; JCE Administration &#62; Plugins &#62; [plugin name]&#8216; ), and set the &#8216;File Directory Path&#8217; setting, it still doesn&#8217;t change the default path!
Solution
Navigate to Components &#62; JCE Administration &#62; Groups as shown below:
Choose Groups from the main menu...
Then select the group you want ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>A coleague wanted to change the default &#8216;browse&#8217; path that the JCE &#8216;Image Manager&#8217; and &#8216;File Browser&#8217; plugins use. By default when you use the plugins, the contents of the &#8216;Stories&#8217; directory will be displayed. It seems that even if you go into the plugin settings ( under &#8216;Components &gt; JCE Administration &gt; Plugins &gt; [plugin name]&#8216; ), and set the &#8216;File Directory Path&#8217; setting, it still doesn&#8217;t change the default path!</p>
<h2>Solution</h2>
<p>Navigate to <strong>Components &gt; JCE Administration &gt; Groups</strong> as shown below:</p>
<div id="attachment_310" class="wp-caption aligncenter" style="width: 310px"><img class="size-full wp-image-310" title="jce-groups" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/01/jce-groups.gif" alt="" width="300" height="240" /><p class="wp-caption-text">Choose Groups from the main menu...</p></div>
<p>Then select the group you want to edit. If you haven&#8217;t set up any groups, just click on the &#8216;Default&#8217; group to edit it&#8217;s properties. Once the settings are on display, from the right-hand side, under the &#8216;Editor Parameters&#8217; heading, expand the &#8216;Plugin Options&#8217; item, and enter your desired path in &#8216;File Directory Path&#8217;:</p>
<p> </p>
<div id="attachment_311" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.myquickfix.co.uk/wp-content/uploaded/2009/01/jce-groups-path.gif"><img class="size-full wp-image-311" title="jce-groups-path" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/01/jce-groups-path.gif" alt="Note: this must not be set to the Joomla root" width="300" height="240" /></a><p class="wp-caption-text">Note: this must not be set to the Joomla root</p></div>
<p><strong>Note:</strong> The path you enter must be at least one level above the Joomla! root. i.e [root]/myimages/.</p>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/_RtAjhzSVXk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2009/01/changing-jce-browse-path-file-directory-pathdirectory-path/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving VirtueMart: Link path problem in admin console</title>
		<link>http://www.myquickfix.co.uk/index.php/2009/01/moving-virtuemart-link-path/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2009/01/moving-virtuemart-link-path/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 11:07:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Joomla!]]></category>
		<category><![CDATA[VirtueMart]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=301</guid>
		<description><![CDATA[Problem
Just now, I needed to move a website running Joomla 1.5 and VirtueMart 1.1.2 from the development server, to the live web space. After I had moved the data, and the files, and updated the path in Joomla&#8217;s &#8216;configuration.php&#8217; file, it seemed to work ok, but all the links in the VirtueMart Admin area still pointed to my development server.
Solution
After doing a &#8216;find in files&#8217; for my development server&#8217;s name, I found two more paths that need changing in VirtueMart&#8217;s own configuration file. This is the file:
/administrator/components/com_virtuemart/virtuemart.cfg.php
The following two paths ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>Just now, I needed to move a website running Joomla 1.5 and VirtueMart 1.1.2 from the development server, to the live web space. After I had moved the data, and the files, and updated the path in Joomla&#8217;s &#8216;configuration.php&#8217; file, it seemed to work ok, but all the links in the VirtueMart Admin area still pointed to my development server.</p>
<h2>Solution</h2>
<p>After doing a &#8216;find in files&#8217; for my development server&#8217;s name, I found two more paths that need changing in VirtueMart&#8217;s own configuration file. This is the file:</p>
<blockquote><p>/administrator/components/com_virtuemart/virtuemart.cfg.php</p></blockquote>
<p>The following two paths need editing to point to the new server location (URL):</p>
<pre name="code" class="php">
define( 'URL', 'http://my.devserver.com/joomla/' );
define( 'SECUREURL', 'https://secure.devserver.com/joomla/' );
</pre>
<p>A simple fix, but probably worth posting.</p>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/GUpOe8IXnmU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2009/01/moving-virtuemart-link-path/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Select template by Section in Joomla 1.5</title>
		<link>http://www.myquickfix.co.uk/index.php/2009/01/select-template-by-sectiocategory-in-joomla-15/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2009/01/select-template-by-sectiocategory-in-joomla-15/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 23:27:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Joomla!]]></category>
		<category><![CDATA[joomla 1.5]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=281</guid>
		<description><![CDATA[Problem
In Joomla 1.5, at present, there is no way to set the template applied to an article or category  based on the section that article is in. Templates can be set by menu item, but not by the overall section they reside in. This means that if multiple templates are being used, each time a new article is added, changes have to be made to the template setup too &#8211; very tedious. All I wanted was to be able to create an article or category, add it to a certain ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>In Joomla 1.5, at present, there is no way to set the template applied to an article or category  based on the section that article is in. Templates can be set by menu item, but not by the overall section they reside in. This means that if multiple templates are being used, each time a new article is added, changes have to be made to the template setup too &#8211; very tedious. All I wanted was to be able to create an article or category, add it to a certain section, and know that it would be rendered/displayed using a particular template:</p>
<h2>Solution</h2>
<p>This took some searching and tweaking. I found a post in the Joomla developers forum about someone trying to do something similar, but their example code was broken. It was enough to get me started though.</p>
<p>What you need to do is: find and open application.php in the includes directory on the root of your Joomla 1.5 installation. Then find line 309 or thereabouts and look for this code:</p>
<blockquote><p><span style="color: #999999;">309</span> <span style="color: #ee7700;">// Allows for overriding the active template from the request</span><br />
<span style="color: #999999;">310</span> <span style="color: #0000ff;">$template = JRequest::getCmd(&#8217;template&#8217;, $template);</span><br />
<span style="color: #999999;">311</span> <span style="color: #0000ff;">$template = JFilterInput::clean($template, &#8216;cmd&#8217;);</span> <span style="color: #ee7700;">// need to filter the default value as well</span></p></blockquote>
<p>Insert <strong>AFTER</strong> the comment on line 309, but <strong>BEFORE</strong> line 310, add this code:</p>
<blockquote><p><span style="color: #ee7700;">// Templates by Section hack &#8211; Begin</span></p>
<p><span style="color: #0000ff;">$eItemView = JRequest::getVar(&#8217;view&#8217;);<br />
$eItemId = JRequest::getVar(&#8217;id&#8217;);</span></p>
<p><span style="color: #0000ff;">$sectionId = NULL;</span></p>
<p><span style="color: #0000ff;">$eItemId = (strpos($eItemId,&#8221;:&#8221;))? substr($eItemId,0,strpos($eItemId,&#8221;:&#8221;)) : $eItemId;</span></p>
<p><span style="color: #0000ff;">switch ($eItemView) {<br />
case &#8220;article&#8221;:<br />
$edb =&amp; JFactory::getDBO();<br />
$eQuery = &#8216;SELECT sectionid FROM #__content WHERE id LIKE &#8216;.$eItemId.&#8221;;<br />
$edb-&gt;setQuery($eQuery, 0, 1);<br />
$sectionId = $edb-&gt;loadResult();<br />
break;<br />
case &#8220;category&#8221;:<br />
$edb =&amp; JFactory::getDBO();<br />
$eQuery = &#8216;SELECT section FROM #__categories WHERE id LIKE &#8216;.$eItemId.&#8221;;<br />
$edb-&gt;setQuery($eQuery, 0, 1);<br />
$sectionId = $edb-&gt;loadResult();<br />
break;<br />
case &#8220;section&#8221;:<br />
$sectionId = $eItemId;<br />
break;<br />
}</span></p>
<p><span style="color: #ee7700;">// Edit the section id below, you can find it in the sections admin area.</span><br />
<span style="color: #0000ff;">if ($sectionId == &#8220;1&#8243;) {<br />
$template = &#8220;rhuk_milkyway_red&#8221;; <span style="color: #ee7700;">// Use the full template name.</span><br />
}</span><br />
<span style="color: #ee7700;">// Add more if clauses if there are other templates.</span></p>
<p><span style="color: #ee7700;">// Templates by Section hack &#8211; End</span></p></blockquote>
<p>Hopefully you can see what this does. It looks for the section id to use in 3 ways, depending on whether joomla is currently displaying a section root page, a category root page, or an article. It then looks to see whether that section id has had a specific template specified for it by name.</p>
<p>This hack works well for me, I only need to add the different template data once in application.php for a given site. Ideally someone needs to make an admin mod for this, so that sections and categories can be assigned different templates in the backend. Maybe one day I&#8217;ll make one, but not unless there&#8217;s demand :)</p>
<p>Any questions, corrections or thoughts, please comment below (no need to create an account or anything!)</p>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/tHDzZXck0PA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2009/01/select-template-by-sectiocategory-in-joomla-15/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordPress replaces double and tripple hyphens (– or —)</title>
		<link>http://www.myquickfix.co.uk/index.php/2009/01/wordpress-replaces-double-and-tripple-hyphens-or/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2009/01/wordpress-replaces-double-and-tripple-hyphens-or/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 17:29:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[formatting]]></category>
		<category><![CDATA[hyphens]]></category>
		<category><![CDATA[wptexturize]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=258</guid>
		<description><![CDATA[Problem
The other day I was trying to type two hypens (&#8211;) in a post, and when I saved/published the post, WordPress reformatted the hypens to display as an &#8216;en dash&#8216; (–).
More Info: After some searching about, and some helpful info provided in the WordPress Codex, I found out about a WP function called &#8216;wptexturize&#8217; which is applied each time a post is rendered. The function &#8211; which can be found in &#8216;wp-includes/formatting.php&#8217; &#8211; replaces quite a few things, like &#8482; to ™ etc.
Solution
You could stop this happening a number of ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>The other day I was trying to type two hypens (&#8211;) in a post, and when I saved/published the post, WordPress reformatted the hypens to display as an &#8216;<a href="http://en.wikipedia.org/wiki/Dash#En_dash">en dash</a>&#8216; (–).</p>
<p><strong>More Info:</strong> After some searching about, and some helpful info provided in the <a href="http://codex.wordpress.org">WordPress Codex</a>, I found out about a WP function called <a href="http://codex.wordpress.org/Function_Reference/wptexturize">&#8216;wptexturize&#8217;</a> which is applied each time a post is rendered. The function &#8211; which can be found in &#8216;wp-includes/formatting.php&#8217; &#8211; replaces quite a few things, like &#8482; to ™ etc.</p>
<h2>Solution</h2>
<p>You could stop this happening a number of ways i.e. editing the function to stop it doing the replace altogether, or install a plugin that does it (maybe <a href="http://wordpress.org/extend/plugins/wp-unformatted/">this one</a>, haven&#8217;t tried it!).<br />
I decided to use WordPress&#8217;s <a href="http://codex.wordpress.org/Function_Reference/remove_filter">remove_filter</a> function to stop the reformatting taking place.</p>
<p>To do this, open the &#8216;functions.php&#8217; file within your theme. If one does not exist, create it. In my installation the file was here:</p>
<blockquote><p>/wp-content/themes/[my-theme-name]/functions.php</p></blockquote>
<p>Add the following code to the bottom of the file, taking care not to end up with too many or too few <span style="color: #ff0000;">&lt;?php</span> tags:</p>
<blockquote><p><span style="color: #ff0000;">&lt;?php</span><br />
<span style="color: #0000ff;">remove_filter(&#8217;the_content&#8217;, &#8216;wptexturize&#8217;);<br />
remove_filter(&#8217;the_title&#8217;, &#8216;wptexturize&#8217;);</span><br />
<span style="color: #ff0000;">?&gt;</span></p></blockquote>
<p>Then save the file (or &#8216;update&#8217; if you&#8217;re doing this via the theme editor in WP admin) and view your post. That should do it!</p>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/mBFfNoC_A_o" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2009/01/wordpress-replaces-double-and-tripple-hyphens-or/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A ’shortcut icon’ for Google Chrome Incognito</title>
		<link>http://www.myquickfix.co.uk/index.php/2009/01/shortcut-icon-for-google-chrome-incognito/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2009/01/shortcut-icon-for-google-chrome-incognito/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 18:19:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[icon]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=234</guid>
		<description><![CDATA[Problem
Yesterday I found out how to run Chrome in &#8216;Incognito Mode&#8217; from a shortcut. However, now I have two identical &#8216;Chrome&#8217; Icons in my Quicklaunch bar, and need a way to distinguish them.
Which ones the incognito link? New icon needed!
Problem
Solution
Make a modified Chrome icon! Here&#8217;s the one I made:
If you want THIS cheesy icon, click on the image to download it.
Using the Icon: Once you have another icon to use [or you have downloaded my one by clicking on the image above], here&#8217;s how to use it:

Save the .ico file ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>Yesterday I found out how to <a title="how to launch chrome in incognito mode" href="http://www.myquickfix.co.uk/index.php/2009/01/launch-google-chrome-in-incognito-mode-from-a-shortcut/" target="_self">run Chrome in &#8216;Incognito Mode&#8217; from a shortcut</a>. However, now I have two identical &#8216;Chrome&#8217; Icons in my Quicklaunch bar, and need a way to distinguish them.</p>
<div id="attachment_236" class="wp-caption aligncenter" style="width: 385px"><img class="size-full wp-image-236" title="chrome-ql-same" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/01/chrome-ql-same.gif" alt="Which ones the incognito link? New icon needed!" width="375" height="30" /><p class="wp-caption-text">Which ones the incognito link? New icon needed!</p></div>
<h2>Problem</h2>
<h2>Solution</h2>
<p>Make a modified Chrome icon! Here&#8217;s the one I made:</p>
<div id="attachment_241" class="wp-caption aligncenter" style="width: 385px"><a href="http://www.myquickfix.co.uk/wp-content/uploaded/2009/01/chrome-incognito.zip"><img class="size-full wp-image-241 " title="chrome-ql-new" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/01/chrome-ql-new.gif" alt="If you want THIS cheesy icon, click on the image to download it. I've zipped the ICO file up, and it contains the following versions: 48x48, 32x32 &amp; 16x16 pixels." width="375" height="30" /></a><p class="wp-caption-text">If you want THIS cheesy icon, click on the image to download it.</p></div>
<p><strong>Using the Icon:</strong> Once you have another icon to use [or you have <a title="My crappy icon zipped up" href="http://www.myquickfix.co.uk/wp-content/uploaded/2009/01/chrome-incognito.zip">downloaded</a> my one by clicking on the image above], here&#8217;s how to use it:</p>
<ul>
<li>Save the .ico file somewhere sensible. I put mine in the same directory as the chrome executable for tidiness. The paths to the XP and Vista install locations are listed below in the &#8216;Make your own icon&#8217; section.</li>
<li>Right click on your &#8216;incognito&#8217; shortcut, select &#8216;Properties&#8217;, and click the &#8216;Shortcut&#8217; tab. Then click the &#8216;Change Icon&#8217; button shown below:</li>
</ul>
<div id="attachment_246" class="wp-caption aligncenter" style="width: 377px"><img class="size-full wp-image-246" title="chrome-change-icon" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/01/chrome-change-icon.gif" alt="The button is in the Shortcut tab of the Properties window" width="367" height="101" /><p class="wp-caption-text">The Change Icon button is in the &#39;Shortcut&#39; tab of &#39;Properties&#39;</p></div>
<ul>
<li>In the &#8216;Change Icon&#8217; window that pops up, browse to the .ico file you&#8217;ve saved.</li>
</ul>
<div>
<div id="attachment_248" class="wp-caption aligncenter" style="width: 306px"><img class="size-full wp-image-248" title="chrome-select-icon" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/01/chrome-select-icon.gif" alt="Browse to the ico file, and click on your new icon" width="296" height="357" /><p class="wp-caption-text">Browse to the ico file, and click on your new icon</p></div>
</div>
<ul>
<li>Now just &#8216;Ok&#8217;, and &#8216;Ok&#8217; again, and you should see your new icon showing on your shortcut.</li>
</ul>
<p> </p>
<p><strong>Make your own icon:</strong> If you want to make your own version of the chrome icon, get yourself an icon editor which is capable of pulling icon data from exe/dll files. You&#8217;ll also want one that can handle transparency properly. I grabbed a 30 day trial copy of <a title="IconWorkshop link" href="http://www.axialis.com/iconworkshop/" target="_self">Axialis IconWorkshop</a>. Once that (or another icon editor) is installed, you need to &#8216;open&#8217; the icon from the chrome.exe file which resides here in XP:</p>
<blockquote><p>C:\Documents and Settings\<span style="color: #008000;">[your username here]</span>\Local Settings\Application Data\Google\Chrome\Application\Chrome.exe</p></blockquote>
<p>and here in Vista:</p>
<blockquote><p>C:\Users\<span style="color: #008000;">[your username here]</span>\AppData\Local\Google\Chrome\Application\chrome.exe</p></blockquote>
<p>The icon editor should simply &#8216;pull&#8217; the icon info from within the .exe file when you try and open it. You will notice that the .exe file contains 6 different versions of the icon: 16&#215;16, 32&#215;32 and 48&#215;48 pixels with 256 colours and one &#8216;flat&#8217; transparent background colour. And then 3 more in the same 3 sizes with Alpha transparency (256 levels of opacity, per colour, giving you nice smooth transparency).</p>
<p>Using the icon editor, edit as many versions as you need. For example, if you use XP, and have both a desktop icon and a quicklaunch icon, you will need to edit the 16&#215;16+alpha version (for your quicklaunch shortcut) and the 32&#215;32+alpha version for the desktop shortcut.</p>
<p>I found the easiest way to add the sungalsses to my icon was to &#8216;export&#8217; the 6 icons from IconWorkshop as a PSD file, open them in Photoshop, do the work there, save them, then &#8216;import&#8217; back into IconWorkshop.</p>
<p>That&#8217;s about it. All you then need to do it save the collection as one .ico file, and follow the instructions above in the &#8216;Using the icon&#8217; section to use it.</p>
<p>Good luck! Any questions, comments or corrections &#8211; just post a comment below.</p>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/o-0MVQe3zI0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2009/01/shortcut-icon-for-google-chrome-incognito/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Launch Google Chrome in ‘Incognito’ mode from a shortcut</title>
		<link>http://www.myquickfix.co.uk/index.php/2009/01/launch-google-chrome-in-incognito-mode-from-a-shortcut/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2009/01/launch-google-chrome-in-incognito-mode-from-a-shortcut/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 22:40:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[google accounts]]></category>
		<category><![CDATA[incognito]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=219</guid>
		<description><![CDATA[Problem
I use Google Chrome&#8217;s Incognito window mode regularly to view multiple Google Analytics accounts at the same time on one PC. It&#8217;s very useful &#8211; it means I don&#8217;t have to keep signing in and out of my primary google account &#8211; but what annoyed me each time was having to open chrome, then open a new &#8216;incognito&#8217; window from there, which leaves the old &#8216;normal&#8217; window open in the background.
Solution
Since Chrome came out of beta, the &#8216;−−incognito&#8217; command line switch has been available.
So, to get this switch working with ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>I use Google Chrome&#8217;s Incognito window mode regularly to view multiple Google Analytics accounts at the same time on one PC. It&#8217;s very useful &#8211; it means I don&#8217;t have to keep signing in and out of my primary google account &#8211; but what annoyed me each time was having to open chrome, then open a new &#8216;incognito&#8217; window from there, which leaves the old &#8216;normal&#8217; window open in the background.</p>
<h2>Solution</h2>
<p>Since Chrome came out of beta, the &#8216;−−incognito&#8217; command line <a title="Link to Googles info about incognito mode" href="http://www.google.com/support/chrome/bin/answer.py?answer=95464&amp;topic=14661" target="_self">switch</a> has been available.</p>
<p>So, to get this switch working with a short cut, do the following:</p>
<ul>
<li>Copy the existing Chrome shortcut in your quicklaunch bar, desktop, or start menu.</li>
<li>Rename the shortcut to something obvious, I called mine &#8220;Chrome Incognito&#8221;.</li>
<li>Right click on the shortcut, and select &#8216;properties&#8217;.</li>
<li>The Properties window opens, and you can select the &#8216;Shortcut&#8217; tab as shown below:</li>
</ul>
<div id="attachment_229" class="wp-caption aligncenter" style="width: 377px"><img class="size-full wp-image-229" title="Shortcut properties default" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/01/shortcut-prop-1.jpg" alt="" width="367" height="509" /><p class="wp-caption-text">Note the &#39;Target&#39; path field</p></div>
<ul>
<li>In the &#8216;Target:&#8217; field, add the switch &#8216; −−incognito&#8217; to the end of the target path, as shown below:</li>
</ul>
<div id="attachment_228" class="wp-caption aligncenter" style="width: 377px"><img class="size-full wp-image-228" title="Shortcut properties modified" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/01/shortcut-prop-2.jpg" alt="Shortcut properties modified" width="367" height="52" /><p class="wp-caption-text">incognito &#39;Switch&#39; added to target path</p></div>
<ul>
<li>Click &#8216;OK&#8217; to save your changes.</li>
</ul>
<p>There, all done, that shortcut will now open Chrome in incognito mode window. If you have other normal chrome windows open, they will not be effected by this window. For example, you can stay logged into a google account, a live account, or any other persistent cookie/session driven system. Incognito windows are also great for logging into online banking sites if you&#8217;re a bit paranoid.</p>
<p><span style="color: #AA0000;">Note:</span> If you have a 0.* version you will need to upgrade to v1.* or higher.</p>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/wiWKRJp-YL4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2009/01/launch-google-chrome-in-incognito-mode-from-a-shortcut/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Unable to Subscribe to Podcasts in iTunes store – Greyed Out Buttons?</title>
		<link>http://www.myquickfix.co.uk/index.php/2008/12/unable-to-subscribe-to-podcasts-in-itunes-store-greyed-out-buttons/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2008/12/unable-to-subscribe-to-podcasts-in-itunes-store-greyed-out-buttons/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 17:32:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iTunes]]></category>
		<category><![CDATA[podcast]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=204</guid>
		<description><![CDATA[Problem
You can&#8217;t subscribe to any Podcasts in iTunes music store because the the buttons are greyed out. An example is shown below:
Greyed subscribe button
Solution
This happens when the &#8216;Podcasts&#8217; item is not enabled in the iTunes library. To enable it, follow these steps:

Open the iTunes Preferences. To do this, either press &#8216;Ctrl+,&#8217; (that&#8217;s the control key, and the comma key at the same time); or Go to &#8216;Edit&#8217; in the top menu, and then &#8216;Preferences&#8217;.
Select the &#8216;General&#8217; tab, usually on the left most.
Tick the &#8216;Podcasts&#8217; item in the &#8216;Show:&#8217; options list ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>You can&#8217;t subscribe to any Podcasts in iTunes music store because the the buttons are greyed out. An example is shown below:</p>
<div id="attachment_206" class="wp-caption aligncenter" style="width: 236px"><img class="size-full wp-image-206 " title="podcast-subscribe" src="http://www.myquickfix.co.uk/wp-content/uploaded/2008/12/podcast-subscribe.gif" alt="Greyed subscribe button" width="226" height="99" /><p class="wp-caption-text">Greyed subscribe button</p></div>
<h2>Solution</h2>
<p>This happens when the &#8216;Podcasts&#8217; item is not enabled in the iTunes library. To enable it, follow these steps:</p>
<ol>
<li>Open the iTunes Preferences. To do this, either press &#8216;Ctrl+,&#8217; (that&#8217;s the control key, and the comma key at the same time); or Go to &#8216;Edit&#8217; in the top menu, and then &#8216;Preferences&#8217;.</li>
<li>Select the &#8216;General&#8217; tab, usually on the left most.</li>
<li>Tick the &#8216;Podcasts&#8217; item in the &#8216;Show:&#8217; options list (highlighted below):</li>
</ol>
<div id="attachment_211" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-211 " title="itunes-show-podcast" src="http://www.myquickfix.co.uk/wp-content/uploaded/2008/12/itunes-show-podcast.jpg" alt="Select the Podcasts checkbox" width="500" height="462" /><p class="wp-caption-text">Select the Podcasts checkbox</p></div>
<p>Once you say &#8216;Ok&#8217; to the Preferences box, the &#8216;Podcasts&#8217; item should appear in the top-left-hand side of the iTunes window. If you now view links to podcasts in the iTunes Store, they should be clickable.</p>
<p>If you have any corrections or alternative solutions to this problem, please leave a comment!</p>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/jfrQ3XXLFEI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2008/12/unable-to-subscribe-to-podcasts-in-itunes-store-greyed-out-buttons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get MSN / Live messenger to show iTunes ‘Now Playing’</title>
		<link>http://www.myquickfix.co.uk/index.php/2008/12/get-msn-live-messenger-to-show-itunes-now-playing/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2008/12/get-msn-live-messenger-to-show-itunes-now-playing/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 14:46:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Live Messenger]]></category>
		<category><![CDATA[iTunes]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=187</guid>
		<description><![CDATA[Problem
For a long time, MSN Messenger and Windows Live Messenger have been able to display what is currently being played on Windows Media Player. It gets displayed next to your &#8216;Display Name&#8217;. If you use iTunes, what you&#8217;re playing can also be displayed in the same way.
Solution
Firstly, open iTunes and go to the Preferences window. You can do this 2 ways:

Press &#8216;Ctrl+,&#8217; (that&#8217;s the control key, and the comma key at the same time).
Go to &#8216;Edit&#8217; in the top menu, and then &#8216;Preferences&#8217;.

&#8230;then click on the &#8216;Advanced&#8217; tab, usually on ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>For a long time, MSN Messenger and Windows Live Messenger have been able to display what is currently being played on Windows Media Player. It gets displayed next to your &#8216;Display Name&#8217;. If you use iTunes, what you&#8217;re playing can also be displayed in the same way.</p>
<h2>Solution</h2>
<p>Firstly, open iTunes and go to the Preferences window. You can do this 2 ways:</p>
<ol>
<li>Press &#8216;Ctrl+,&#8217; (that&#8217;s the control key, and the comma key at the same time).</li>
<li>Go to &#8216;Edit&#8217; in the top menu, and then &#8216;Preferences&#8217;.</li>
</ol>
<p>&#8230;then click on the &#8216;Advanced&#8217; tab, usually on the far right. Within the &#8216;Advanced&#8217;, tick the item that says &#8220;Use iTunes as the default player for audio files&#8221; (shown below):</p>
<div id="attachment_192" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-192 " title="itunes-default-player" src="http://www.myquickfix.co.uk/wp-content/uploaded/2008/12/itunes-default-player.jpg" alt="Setting iTunes to be the default player for audio files." width="500" height="462" /><p class="wp-caption-text">Setting iTunes to be the default player for audio files.</p></div>
<p>Secondly, open the Live Messenger main window (the one that shows all your contacts), then:</p>
<ol>
<li>Go to &#8216;Tools&#8217; then &#8216;Options&#8217; in the main menu.</li>
<li>Within the &#8216;Options&#8217; window, select the &#8216;Personal&#8217; tab on the left.</li>
<li>Tick the &#8220;Show song information from Windows Media Player as a personal message&#8221; check box, as shown below:</li>
</ol>
<div id="attachment_193" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-193 " title="live-song-info" src="http://www.myquickfix.co.uk/wp-content/uploaded/2008/12/live-song-info.gif" alt="Setting the Show song info checkbox item" width="500" height="530" /><p class="wp-caption-text">Setting the Show song info checkbox item</p></div>
<p>Now when you play something in iTunes, people will see what you&#8217;re playing. Examples of what they might see are shown below:</p>
<div id="attachment_199" class="wp-caption aligncenter" style="width: 305px"><a href="http://www.myquickfix.co.uk/wp-content/uploaded/2008/12/live-messenger-list.gif"><img class="size-full wp-image-199" title="live-messenger-list" src="http://www.myquickfix.co.uk/wp-content/uploaded/2008/12/live-messenger-list.gif" alt="Song showing in the contact list" width="295" height="82" /></a><p class="wp-caption-text">Song showing in the contact list</p></div>
<div id="attachment_200" class="wp-caption aligncenter" style="width: 479px"><a href="http://www.myquickfix.co.uk/wp-content/uploaded/2008/12/live-messenger-conversation.gif"><img class="size-full wp-image-200" title="live-messenger-conversation" src="http://www.myquickfix.co.uk/wp-content/uploaded/2008/12/live-messenger-conversation.gif" alt="Song showing in the conversation window" width="469" height="126" /></a><p class="wp-caption-text">Song showing in the conversation window</p></div>
<p>There&#8230; now all you need to worry about is not playing any Abba or other music that could earn you &#8216;Social Outcast&#8217; status!</p>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/Qk0hXV2_-BQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2008/12/get-msn-live-messenger-to-show-itunes-now-playing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing Nokia / Symbian S60 ‘Desktop’ icons</title>
		<link>http://www.myquickfix.co.uk/index.php/2008/12/changing-nokia-symbian-s60-desktop-icons/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2008/12/changing-nokia-symbian-s60-desktop-icons/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 22:12:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Symbian]]></category>
		<category><![CDATA[Nokia]]></category>
		<category><![CDATA[S60]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=160</guid>
		<description><![CDATA[Problem
I wanted to change the shortcuts on my Nokia E65, The ones that are shown on the &#8216;homepage&#8217; &#8211; if I can call it that &#8211; at the top of the screen as icons.
Solution
I searched around and found that these links are actually called &#8216;Active Standby Apps&#8217; (finding out the correct nomenclature is half the battle with these problems!), and they can be changed by using the following method:
The home screen showing six shortcut icons to apps.
Within the system menu, select the Tools icon.
Within Tools, select the Settings icon.
In Settings, ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>I wanted to change the shortcuts on my Nokia E65, The ones that are shown on the &#8216;homepage&#8217; &#8211; if I can call it that &#8211; at the top of the screen as icons.</p>
<h2>Solution</h2>
<p>I searched around and found that these links are actually called &#8216;Active Standby Apps&#8217; (finding out the correct nomenclature is half the battle with these problems!), and they can be changed by using the following method:</p>
<div id="attachment_162" class="wp-caption alignleft" style="width: 175px"><img class="size-full wp-image-162 " title="Screenshot 1" src="http://www.myquickfix.co.uk/wp-content/uploaded/2008/12/screen1.jpg" alt="The home screen showing six shortcut icons to apps" width="165" height="220" /><p class="wp-caption-text">The home screen showing six shortcut icons to apps.</p></div>
<div id="attachment_162" class="wp-caption alignleft" style="width: 175px"><img class="size-full wp-image-162 " title="Screenshot 2" src="http://www.myquickfix.co.uk/wp-content/uploaded/2008/12/screen2.jpg" alt="Within the system menu, select the Tools icon" width="165" height="220" /><p class="wp-caption-text">Within the system menu, select the Tools icon.</p></div>
<div id="attachment_162" class="wp-caption alignleft" style="width: 175px"><img class="size-full wp-image-162  " title="Screenshot 3" src="http://www.myquickfix.co.uk/wp-content/uploaded/2008/12/screen3.jpg" alt="Within Tools, select the Settings icon" width="165" height="220" /><p class="wp-caption-text">Within Tools, select the Settings icon.</p></div>
<div id="attachment_162" class="wp-caption alignleft" style="width: 175px"><img class="size-full wp-image-162    " title="Screenshot 4" src="http://www.myquickfix.co.uk/wp-content/uploaded/2008/12/screen4.jpg" alt="In Settings, select the Phone settings item." width="165" height="220" /><p class="wp-caption-text">In Settings, select the Phone settings item.</p></div>
<div id="attachment_162" class="wp-caption alignleft" style="width: 175px"><img class="size-full wp-image-162   " title="Screenshot 5" src="http://www.myquickfix.co.uk/wp-content/uploaded/2008/12/screen5.jpg" alt="In Phone Settings, select the Standby Mode item." width="165" height="220" /><p class="wp-caption-text">In Phone Settings, select the Standby Mode item.</p></div>
<div id="attachment_162" class="wp-caption alignleft" style="width: 175px"><img class="size-full wp-image-162    " title="Screenshot 6" src="http://www.myquickfix.co.uk/wp-content/uploaded/2008/12/screen6.jpg" alt="In the Standby settings, select the Active Standby Apps item" width="165" height="220" /><p class="wp-caption-text">In the Standby settings, select the Active Standby Apps item</p></div>
<div id="attachment_162" class="wp-caption alignleft" style="width: 175px"><img class="size-full wp-image-162     " title="Screenshot 7" src="http://www.myquickfix.co.uk/wp-content/uploaded/2008/12/screen7.jpg" alt="Set the applications you want shortcuts to here." width="165" height="220" /><p class="wp-caption-text">Set the applications you want shortcuts to here.</p></div>
<p><br style="clear:both;" /></p>
<p>As far as I know, this method applies to all devices running Symbian S60 version 3, that have Active Standby App links turned on. I have tested it on the E65, N93 and N95. If you find it does or doesn&#8217;t work on any other phones, please leave a comment below.</p>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/xd1f60rXjCU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2008/12/changing-nokia-symbian-s60-desktop-icons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting start time in iTunes – Cutting intro silence</title>
		<link>http://www.myquickfix.co.uk/index.php/2008/12/setting-start-time-in-itunes-cutting-intro-silence/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2008/12/setting-start-time-in-itunes-cutting-intro-silence/#comments</comments>
		<pubDate>Fri, 19 Dec 2008 23:29:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iTunes]]></category>
		<category><![CDATA[drum & bass]]></category>
		<category><![CDATA[mp3]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=155</guid>
		<description><![CDATA[Problem
Recently I bought an Apex single from iTunes. Excellent though the tracks are (They really rock, honestly, if you like D&#38;B, have a listen!), they both have about 5 seconds of blank &#8216;emptiness&#8217; at the beginning. This is quite annoying when cueing them for an impromptu mix, or when they are part of a playlist.
Solution
I found this by accident, while looking for a solution. If you right click on the track in iTunes, then select the &#8216;Options&#8217; track, you should see an option labelled &#8216;Start Time&#8217;. This is the time ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>Recently I bought an <a title="Apex's MySpace page" href="http://www.myspace.com/apexmusik">Apex</a> single from iTunes. Excellent though the tracks are (They really rock, honestly, if you like D&amp;B, have a listen!), they both have about 5 seconds of blank &#8216;emptiness&#8217; at the beginning. This is quite annoying when cueing them for an impromptu mix, or when they are part of a playlist.</p>
<h2>Solution</h2>
<p>I found this by accident, while looking for a solution. If you right click on the track in iTunes, then select the &#8216;Options&#8217; track, you should see an option labelled &#8216;Start Time&#8217;. This is the time that iTunes uses when it plays a track, so if you set it to 0:05 for example, when you play the track it&#8217;ll start 5 seconds in. Simple but effective! Genius!</p>
<p> </p>
<div id="attachment_158" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.myquickfix.co.uk/wp-content/uploaded/2008/12/start-time-itunes.gif"><img class="size-full wp-image-158" title="start-time-itunes" src="http://www.myquickfix.co.uk/wp-content/uploaded/2008/12/start-time-itunes.gif" alt="See? It was right there all along!" width="500" height="450" /></a><p class="wp-caption-text">See? It was right there all along!</p></div>
<p> </p>
<p> </p>
<p>While we&#8217;re on the subject of Drum &amp; Bass, if you like your intelligent programmed beats and ambient sweeps, you have to check out the following tracks:</p>
<ul>
<li>Japanese Electronics &#8211; <a title="Commix Myspace page" href="http://www.myspace.com/commix">Commix</a></li>
<li>Balaclava &#8211; <a title="Nu:Tone's Hospital Records Bio" href="http://www.hospitalrecords.com/artists/nutone/">Nu:Tone</a></li>
<li>Piece Of Mind &#8211; <a title="Q-Projects's Hospital Records Bio" href="http://www.hospitalrecords.com/artists/qproject/">Q-Project</a> (looses it around 2:15, gets it back at 3:40!)</li>
<li>Sagrada Familia &#8211; Fracture &amp; Neptune [no site? no MySpace? cummon fellas!]</li>
</ul>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/u4GTaKJPDdE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2008/12/setting-start-time-in-itunes-cutting-intro-silence/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Format the footer [subscribe] link in AcaJoom newsletters</title>
		<link>http://www.myquickfix.co.uk/index.php/2008/12/format-the-footer-subscribe-link-in-acajoom-newsletters/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2008/12/format-the-footer-subscribe-link-in-acajoom-newsletters/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 16:00:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Joomla!]]></category>
		<category><![CDATA[acajoom]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=145</guid>
		<description><![CDATA[Problem
I&#8217;m using AcaJoom Plus as a newsletter component for Joomla, on behalf of a client. While testing the component I found that once the &#8220;Change your subscription&#8221; and &#8220;Unsubscribe&#8221; links were appended, it messed up my template and styling. The text is surrounded SPAN with a class called &#8217;subscriptionlink_nws&#8217; applied to it, but there is only so much you can do with styles in the newsletter itself.
Solution
The &#8220;Change your subscription&#8221; and &#8220;Unsubscribe&#8221; links can be found in the file &#8216;class.jmail.php&#8217; which sits in: [site root]/administrator/components/com_acajoom/classes/.
Open this file and at around line 76 ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>I&#8217;m using <a title="AcaJoom Website" href="http://www.acajoom.com/">AcaJoom Plus</a> as a newsletter component for Joomla, on behalf of a client. While testing the component I found that once the &#8220;Change your subscription&#8221; and &#8220;Unsubscribe&#8221; links were appended, it messed up my template and styling. The text is surrounded SPAN with a class called &#8217;subscriptionlink_nws&#8217; applied to it, but there is only so much you can do with styles in the newsletter itself.</p>
<h2>Solution</h2>
<p>The &#8220;Change your subscription&#8221; and &#8220;Unsubscribe&#8221; links can be found in the file &#8216;class.jmail.php&#8217; which sits in: [site root]/administrator/components/com_acajoom/classes/.</p>
<p>Open this file and at around line 76 you should see:</p>
<blockquote><p>$subscriptionstext = &#8216;&lt;p&gt;&#8217;. $subscriptionslink . &#8216;&lt;br /&gt;&#8217; . $unsubscribelink . &#8216;&lt;/p&gt;&#8217;;</p></blockquote>
<p>I found that simply removing the &lt;p&gt; tags made things instantly better, but you might want to add more custom html in there.</p>
<p>This works for the &#8216;News&#8217;, &#8216;Plus&#8217; and presumably &#8216;Pro&#8217; versions of AcaJoom.</p>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/PCQyeas4P0U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2008/12/format-the-footer-subscribe-link-in-acajoom-newsletters/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Add a ‘Purge Deleted Messages’ button for IMAP e-mail in Outlook 2003</title>
		<link>http://www.myquickfix.co.uk/index.php/2008/12/purge-deleted-messages-button-for-imap-in-outlook-2003/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2008/12/purge-deleted-messages-button-for-imap-in-outlook-2003/#comments</comments>
		<pubDate>Wed, 17 Dec 2008 13:12:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Outlook]]></category>
		<category><![CDATA[IMAP]]></category>
		<category><![CDATA[Purge]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=133</guid>
		<description><![CDATA[Problem
Moving to IMAP from POP can be a pain, and my biggest &#8216;gripe&#8217; with it is the way that items need to be&#8217;Deleted&#8217; AND&#8217;Purged&#8217; when you&#8217;re trying to get rid of them. When an email is highlighted and the delete icon, context menu item, or keyboard key is pressed, all that happens is the message is flagged for deletion, and appears struck-through. To get rid of it fully, you need to go to the &#8216;Edit&#8217; menu, and select the &#8216;Purge Deleted Messages&#8217; item.
Solution
Well this isn&#8217;t a fix really, managing IMAP ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>Moving to IMAP from POP can be a pain, and my biggest &#8216;gripe&#8217; with it is the way that items need to be&#8217;Deleted&#8217; AND&#8217;Purged&#8217; when you&#8217;re trying to get rid of them. When an email is highlighted and the delete icon, context menu item, or keyboard key is pressed, all that happens is the message is flagged for deletion, and appears struck-through. To get rid of it fully, you need to go to the &#8216;Edit&#8217; menu, and select the &#8216;Purge Deleted Messages&#8217; item.</p>
<h2>Solution</h2>
<p>Well this isn&#8217;t a fix really, managing IMAP email still sucks, but it should make life easier. It&#8217;s possible to add a &#8216;Purge Deleted Messages&#8217; button to your toolbar, anywhere you like, but I&#8217;d suggest putting it next to your existing delete &#8216;X&#8217; icon like this:</p>
<div id="attachment_137" class="wp-caption aligncenter" style="width: 340px"><a href="http://www.myquickfix.co.uk/wp-content/uploaded/2008/12/purge-button.gif"><img class="size-full wp-image-137  " title="purge-button" src="http://www.myquickfix.co.uk/wp-content/uploaded/2008/12/purge-button.gif" alt="A purge button added to the outlook toolbar" width="330" height="70" /></a><p class="wp-caption-text">Outlook toolbar showing the new button</p></div>
<p>To do this:</p>
<ul>
<li>Open the &#8216;View&#8217; menu item, select &#8216;Toolbars&#8217;, and then click &#8216;Customize&#8230;&#8217;.</li>
<li>The &#8216;Customize&#8217; window pops-up, and select the &#8216;Commands&#8217; Tab.</li>
<li>In the left-pane labeled &#8216;Categories:&#8217;, find and select the &#8216;Edit&#8217; item.</li>
<li>In the right-pane labelled &#8216;Commands:&#8217;, scroll down until you find &#8216;Purge Deleted Items&#8217; (see below):</li>
</ul>
<div id="attachment_139" class="wp-caption aligncenter" style="width: 393px"><a href="http://www.myquickfix.co.uk/wp-content/uploaded/2008/12/customize-toolbar-pallette.gif"><img class="size-full wp-image-139" title="customize-toolbar-pallette" src="http://www.myquickfix.co.uk/wp-content/uploaded/2008/12/customize-toolbar-pallette.gif" alt="Purge item selected, ready to be added to toolbar" width="383" height="359" /></a><p class="wp-caption-text">Purge item selected, ready to be added to toolbar</p></div>
<ul>
<li>Click-and-hold on the &#8216;Purge Deleted Messages&#8217; item, and drag it to the toolbar, then let go.<br />
<strong>Note:</strong> A special mouse-cursor will show while you&#8217;re dragging, showing a cross (&#8217;X'). Once you are hovering over a place in the toolbar that the item can be added to, the cursor will change and show a plus sign (&#8217;+').</li>
<li>Now, once you have deleted the emails you want to, you can purge them with one button.</li>
</ul>
<div>That&#8217;s about it! Any questions, suggestions or corrections, please leave them below in the comments.</div>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/hlrKLCckopE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2008/12/purge-deleted-messages-button-for-imap-in-outlook-2003/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to enable FLV file playback in IIS 6</title>
		<link>http://www.myquickfix.co.uk/index.php/2008/12/how-to-enable-flv-file-playback-in-iis-6/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2008/12/how-to-enable-flv-file-playback-in-iis-6/#comments</comments>
		<pubDate>Mon, 15 Dec 2008 17:54:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[flv]]></category>
		<category><![CDATA[mime]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=130</guid>
		<description><![CDATA[Problem
This one crops up every-so-often, and a colleague just asked me again, so it&#8217;s probably worth posting. When an FLV is loaded into a Flash app, the FLV file is &#8216;played&#8217; when the SWF or Projector is run. When this is done locally &#8211; i.e. you run an SWF from your hard drive, or file server &#8211; it&#8217;ll work fine. The problem comes when you upload it to your IIS web server. The server probably won&#8217;t recognise the &#8216;.flv&#8217; filetype, so it&#8217;ll display nothing.
Solution
To make your IIS 6 web server ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>This one crops up every-so-often, and a colleague just asked me again, so it&#8217;s probably worth posting. When an FLV is loaded into a Flash app, the FLV file is &#8216;played&#8217; when the SWF or Projector is run. When this is done locally &#8211; i.e. you run an SWF from your hard drive, or file server &#8211; it&#8217;ll work fine. The problem comes when you upload it to your IIS web server. The server probably won&#8217;t recognise the &#8216;.flv&#8217; filetype, so it&#8217;ll display nothing.</p>
<h2>Solution</h2>
<p>To make your IIS 6 web server aware of FLV files, do the following:<br />
 </p>
<ul>
<li>Open &#8216;IIS Manager&#8217;.</li>
<li>Right click on your site in &#8216;Web Sites&#8217;, and select &#8216;Properties&#8217;.</li>
<li>Choose the &#8216;HTTP Headers&#8217; tab.</li>
<li>Click the &#8216;MIME Types&#8230;&#8217;  button on the bottom-right.</li>
<li>Click &#8216;New&#8230;&#8217; and then add &#8216;.flv&#8217; and &#8216;video/x-flv&#8217; as shown below:</li>
</ul>
<div>
<div id="attachment_131" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.myquickfix.co.uk/wp-content/uploaded/2008/12/flv-mime.gif"><img class="size-full wp-image-131" title="flv-mime" src="http://www.myquickfix.co.uk/wp-content/uploaded/2008/12/flv-mime.gif" alt="Setting FLV Mime type in IIS site properties." width="500" height="400" /></a><p class="wp-caption-text">Setting FLV Mime type in IIS site properties.</p></div>
</div>
<ul>
<li>&#8216;Ok&#8217; your way out, and &#8216;Apply&#8217; when needed.</li>
<li>Your video should now play in a browser when embed in an SWF.</li>
</ul>
<div><strong>Note:</strong> You might have to stop and start ISS, but I didn&#8217;t when I added the Mime type a few hours ago.</div>
<div></div>
<div>Questions? Please leave a comment&#8230;</div>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/HGCJHfejdYY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2008/12/how-to-enable-flv-file-playback-in-iis-6/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Alerting Google and others to your Sitemap XML updates</title>
		<link>http://www.myquickfix.co.uk/index.php/2008/12/alerting-google-and-others-to-your-sitemap-xml-updates/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2008/12/alerting-google-and-others-to-your-sitemap-xml-updates/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 21:35:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[sitemaps]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=102</guid>
		<description><![CDATA[Problem
Earlier Today I wanted to notify Google about changes to an XML sitemap that I&#8217;d updated, and wondered if I could do it without having to log into Webmaster Tools. Call it lazyness, but I knew that the Wordpress Sitemap plug-in &#8217;somehow&#8217; alerted Google whenever it created a new sitemap for this blog, so I wanted to know how too!
Solution
Turns out it&#8217;s quite simple! Google, Live Search, Yahoo and ASK all allow you to &#8216;ping&#8217; them about updates, via HTTP. Here are the details of each method:
Google ping URL:
http://www.google.com/webmasters/tools/ping?sitemap=http://[path to ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>Earlier Today I wanted to notify Google about changes to an <a href="http://www.sitemaps.org/">XML sitemap</a> that I&#8217;d updated, and wondered if I could do it without having to log into <a href="http://www.google.com/webmasters/tools/">Webmaster Tools</a>. Call it lazyness, but I knew that the Wordpress Sitemap plug-in &#8217;somehow&#8217; alerted Google whenever it created a new sitemap for this blog, so I wanted to know how too!</p>
<h2>Solution</h2>
<p>Turns out it&#8217;s quite simple! Google, Live Search, Yahoo and ASK all allow you to &#8216;ping&#8217; them about updates, via HTTP. Here are the details of each method:</p>
<p><strong><span style="color: #008000;">Google ping URL:</span></strong></p>
<blockquote><p>http://www.google.com/webmasters/tools/ping?sitemap=http://[path to sitemap file]</p></blockquote>
<p>Notes: The <a title="Updating a Sitemap - google help" href="http://www.google.com/support/webmasters/bin/answer.py?hl=en&amp;answer=34609">Google docs</a> on this subject suggest that the whole string is URL encoded before its sent. If the update request is successful, an HTTP 200 response code will be returned.</p>
<p> </p>
<p><strong><span style="color: #008000;">Live Search ping URL:</span></strong></p>
<blockquote><p>http://webmaster.live.com/ping.aspx?siteMap=http://[path to sitemap file]</p></blockquote>
<p>Notes: The <a title="Live Search Webmaster Center Blog" href="http://blogs.msdn.com/webmaster/archive/2008/02/27/microsoft-to-support-cross-domain-sitemaps.aspx">Live Search Webmaster Center Blog</a> makes suggestions on how best to submit and maintain your sitemap. Like Google, MS also have a <a title="Microsoft Live Webmaster Tools" href="http://webmaster.live.com/">Webmaster Tools</a> system.</p>
<p> </p>
<p><strong><span style="color: #008000;">Yahoo ping URL:</span></strong></p>
<blockquote><p>http://search.yahooapis.com/SiteExplorerService/V1/ping?sitemap=http://[path to sitemap file]</p></blockquote>
<p>Notes: The <a title="Yahoo Developer Network link" href="http://developer.yahoo.com/search/siteexplorer/V1/ping.html">Yahoo Developer Network page</a> on the subject provides comprehensive details.</p>
<p> </p>
<p><strong><span style="color: #008000;">Ask ping URL:</span></strong></p>
<blockquote><p>http://submissions.ask.com/ping?sitemap=http://[path to sitemap file]</p></blockquote>
<p>Notes: Ask provide some details <a title="Web Search FAQ" href="http://about.ask.com/en/docs/about/webmasters.shtml">here</a>, by now you know the score, as all four search providers follow the sitemap protocol laid out at <a href="http://www.sitemaps.org/">www.sitemaps.org</a>. </p>
<p>Any Questions or corrections? please use the comments below.</p>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/EA8q7E29Ezk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2008/12/alerting-google-and-others-to-your-sitemap-xml-updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Textpad Regular Expressions</title>
		<link>http://www.myquickfix.co.uk/index.php/2008/12/textpad-regular-expressions/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2008/12/textpad-regular-expressions/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 13:31:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Regular Expressions]]></category>
		<category><![CDATA[Textpad]]></category>
		<category><![CDATA[regular expressions]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=77</guid>
		<description><![CDATA[Textpad is a great editor, been using it for years, but never really used it to it&#8217;s full potential. Recently I needed to do some find/replace work in some huge SQL and CSV files &#8211; huge enough to make manual editing impossible &#8211; so I had to start using Textpad&#8217;s Regular Expression capabilities.
Here are a few expressions that came in handy. I intend to add to this list as time goes on.
Regexp shown in Green, my comments in Red.
CSV Editing:
Remove spaces and tab characters at the beginning of a line:
Find ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.textpad.com/">Textpad</a> is a great editor, been using it for years, but never really used it to it&#8217;s full potential. Recently I needed to do some find/replace work in some huge SQL and CSV files &#8211; huge enough to make manual editing impossible &#8211; so I had to start using Textpad&#8217;s Regular Expression capabilities.</p>
<p>Here are a few expressions that came in handy. I intend to add to this list as time goes on.<br />
Regexp shown in <span style="color: #008000;">Green</span>, my comments in <span style="color: #cc0000;">Red</span>.</p>
<p><strong>CSV Editing:</strong></p>
<p>Remove spaces and tab characters at the <em>beginning</em> of a line:<br />
<code>Find what: <span style="color: #008000;">^[ \t]+</span><br />
Replace With: <span style="color: #cc0000;">don't enter anything in the field</span></code><br />
Remove spaces and tab characters at the <em>end</em> of a line:<br />
<code>Find what: <span style="color: #008000;">[ \t]+$</span><br />
Replace With: <span style="color: #cc0000;">don't enter anything in the field</span></code><br />
Add &#8220;Hello&#8221; to the <em>beginning</em> of every line:<br />
<code>Find what: <span style="color: #008000;">\(^.*\)</span><br />
Replace With: <span style="color: #008000;">Hello \1</span></code><br />
Add &#8220;Hello &#8221; to the <em>beginning</em> and &#8221; World&#8221; to the <em>end</em> of every line:<br />
<code>Find what: <span style="color: #008000;">\(^.*\)</span><br />
Replace With: <span style="color: #008000;">Hello \1 World</span> <span style="color: #cc0000;">(watch the spaces)</span></code><br />
Find empty fields (i.e. &#8220;, ,&#8221;) with spaces or tabs in, and replace with empty field (&#8221;,,&#8221;):<br />
<code>Find what: <span style="color: #008000;">,[ \t*],</span><br />
Replace With: <span style="color: #008000;">,,</span> <span style="color: #cc0000;">(just that, nothing else, just 2 commas)</span></code><br />
Remove blank lines in a text file, by searching for two linebreaks next to each other, and replacing with one:<br />
<code>Find what: <span style="color: #008000;">\n\n</span><br />
Replace With: <span style="color: #008000;">\n</span></code></p>
<p> </p>
<p><strong>Replacement Expressions:</strong></p>
<p>Extract email addresses only from the following text: &#8220;Joe Blogs (job.blogs@blogsworld.com)&#8221;<br />
This expression searches for 2 tagged expressions, firstly any printable characters including spaces up to the first open bracket symbol, secondly anything between the brackets. It then replaces the whole line with the second match.<br />
<code>Find what: <span style="color: #008000;">^\([[:graph:] ]+\)(\([[:graph:] ]+\))</span><br />
Replace With: <span style="color: #008000;">\2</span></code></p>
<p> </p>
<p><strong>Notes:</strong></p>
<ul>
<li>The expressions above need the &#8216;Regular Expression&#8217; condition to be ticked in the Find or Replace dialogue boxes for them to work.</li>
<li>Text pad needs to be set to use UNIX not POSIX style expressions. To set this, open &#8216;Configure &gt; Preferences&#8217; (Ctrl+Q,P), find the &#8216;Editor&#8217; settings, and untick the &#8216;Use POSIX regular expression syntax&#8217; box.</li>
</ul>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/2Xtl-HjGVf4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2008/12/textpad-regular-expressions/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Removing paper gasket residue from engine surfaces</title>
		<link>http://www.myquickfix.co.uk/index.php/2008/12/removing-paper-gasket-material-from-engines/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2008/12/removing-paper-gasket-material-from-engines/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 22:13:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mechanics]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=81</guid>
		<description><![CDATA[Problem
I recently replaced the water pump on my car, and found the existing paper gasket clinging solidly to the pump face on the head. I needed a very quick removal method, as it was getting dark and the car had to be driven 30 minutes later, so I searched around for something hard, flat, but not likely to damage the surface. I found an old Stanley knife blade and tried it, but it wasn&#8217;t very easy to hold while scraping the papery crap off.
Solution
In the end I found a blunt ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>I recently replaced the water pump on my car, and found the existing paper gasket clinging solidly to the pump face on the head. I needed a very quick removal method, as it was getting dark and the car had to be driven 30 minutes later, so I searched around for something hard, flat, but not likely to damage the surface. I found an old Stanley knife blade and tried it, but it wasn&#8217;t very easy to hold while scraping the papery crap off.</p>
<h2>Solution</h2>
<p>In the end I found a blunt hacksaw blade, snipped it in half with some tin-snips &#8211; making sure the cut was flat and neat &#8211; and ground off the teeth on the chopped-off end. This gave me a very hard, flat tool with which to scrape the paper off.  The &#8216;half-blade&#8217; could be held in both hands at a good angle to avoid scoring the gasket face. Soaking the gasket paper residue in some detergent helped the process along also. 5 mins of careful scraping around the 3 studs saw the job done. New gasket and pump fitted in another 5 mins, jobs-a-good&#8217;un!</p>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/t4MAaWirEQo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2008/12/removing-paper-gasket-material-from-engines/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Centre and float a div over page content with CSS – no hacks, cross browser</title>
		<link>http://www.myquickfix.co.uk/index.php/2008/12/css-centre-a-div-no-hacks-cross-browser/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2008/12/css-centre-a-div-no-hacks-cross-browser/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 11:59:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Standards]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=65</guid>
		<description><![CDATA[Problem
If you need to center a div (or any another block element) over the rest of the content in a page, and you need it to be cross-browser and valid (CSS and XHTML)&#8230;
Solution
Try the following CSS in your stylesheet or page head:
#cdiv {
  position:absolute; /* important. */
  left:50%; /*important if you want it absolutely centred in window. */ 
  margin-left:-50px; /* importnant. must be half the width. */
  width:100px; /* set to your requirements, but remember left margin setting. */
  height:100px; /* not neccessary if the element needs to grow with content. */
  border:1px solid #ABF; /* not ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>If you need to center a div (or any another block element) over the rest of the content in a page, and you need it to be cross-browser and valid (CSS and XHTML)&#8230;</p>
<h2>Solution</h2>
<p>Try the following CSS in your stylesheet or page head:</p>
<blockquote><p><span style="color: #008000;">#cdiv {<br />
  position:absolute; <span style="color: #ff6600;">/* important. */</span><br />
  left:50%; <span style="color: #ff6600;">/*important if you want it absolutely centred in window. */ </span><br />
  margin-left:-50px; <span style="color: #ff6600;">/* importnant. must be half the width. */</span><br />
  width:100px; <span style="color: #ff6600;">/* set to your requirements, but remember left margin setting. */</span><br />
  height:100px; <span style="color: #ff6600;">/* not neccessary if the element needs to grow with content. */</span><br />
  border:1px solid #ABF; <span style="color: #ff6600;">/* not important. */</span><br />
  background-color:#DDF; <span style="color: #ff6600;">/* not important. */</span><br />
  text-align:center; <span style="color: #ff6600;">/*not important. */</span><br />
}</span></p></blockquote>
<p>&#8230; and now set the ID of the element you want centered to &#8216;cdiv&#8217;. If the item you want to centre is an image, remember to add <span style="color: #008000;">display:block;</span> to the style (this makes it act like a block level element).</p>
<p>This style works perfectly (by my testing, but I&#8217;m not perfect) on:</p>
<ul>
<li>Internet Explorer 6, 7 &amp; 8+</li>
<li>Firefox 2.*+</li>
<li>Opera 8 &amp; 9+</li>
<li>Google Chrome (all versions)</li>
<li>Safari (Mac and PC versions)</li>
<li>Netscape 9 (is anyone still using this?)</li>
</ul>
<div>Any problems, please post a question or comment below.</div>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/joPUoIx9gnM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2008/12/css-centre-a-div-no-hacks-cross-browser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>‘Restricted Access’ message in JCE Editor Plugin / Mambot</title>
		<link>http://www.myquickfix.co.uk/index.php/2008/12/restricted-access-jce-editor/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2008/12/restricted-access-jce-editor/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 17:35:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Joomla!]]></category>
		<category><![CDATA[JCE]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=54</guid>
		<description><![CDATA[Problem
Man, this had me tearing my hair out! I was trying to install JCE Editor update 1.1.9.2, for the Joomla Content Editor component/mambot. The mambot installed fine, but whenever I tried to use a Plugin that had a file browse area, I&#8217;d see &#8220;Restricted Access&#8221; in the file list pane. An example is shown here:
Plugin showing Restricted Access
Solution
The problem was lazyness. I hadn&#8217;t read the install info thoroughly enough. is says &#8220;Joomla! 1.0.13 requires this session fix.&#8221; I don&#8217;t know exactly what the patch does, but it&#8217;s about session&#8217;ish&#8217;ness, and works a ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>Man, this had me tearing my hair out! I was trying to install <a title="JCE Editor downloads link" href="http://www.joomlacontenteditor.net/downloads/editor.html" target="_self">JCE Editor update 1.1.9.2</a>, for the Joomla Content Editor component/mambot. The mambot installed fine, but whenever I tried to use a <a title="JCE Plugins" href="http://www.joomlacontenteditor.net/downloads/plugins.html" target="_self">Plugin</a> that had a file browse area, I&#8217;d see &#8220;Restricted Access&#8221; in the file list pane. An example is shown here:</p>
<div id="attachment_56" class="wp-caption aligncenter" style="width: 250px"><a href="http://www.myquickfix.co.uk/wp-content/uploaded/2008/12/jce-restricted.gif"><img class="size-medium wp-image-56     " style="border: 1px solid #aaa;" title="jce-restricted-access" src="http://www.myquickfix.co.uk/wp-content/uploaded/2008/12/jce-restricted-240x300.gif" alt="File Manager Plugin showing 'Restricted Access' after Mambot update." width="240" height="300" /></a><p class="wp-caption-text">Plugin showing Restricted Access</p></div>
<h2>Solution</h2>
<p>The problem was lazyness. I hadn&#8217;t read the install info thoroughly enough. is says &#8220;Joomla! 1.0.13 requires <a title="Session fix for Joomla 1.0.13" href="http://forum.joomla.org/viewtopic.php?t=200725">this session fix</a>.&#8221; I don&#8217;t know exactly what the patch does, but it&#8217;s about session&#8217;ish&#8217;ness, and works a treat!</p>
<p>By the way, If you have a Joomla CMS driven site, and still use the included TinyMCE content editor,  JCE is excellent as a replacement content editor for Joomla 1.0.* and 1.5.* versions. I can also recommend the free and &#8217;subscription&#8217; <a title="JCE Editor Plugins download page" href="http://www.joomlacontenteditor.net/downloads/plugins.html" target="_self">JCE plugins</a>.</p>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/TcPpg0ACdvc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2008/12/restricted-access-jce-editor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to disable AdSense adverts on your website</title>
		<link>http://www.myquickfix.co.uk/index.php/2008/12/how-to-disable-adsense-adverts-on-your-own-site-blog/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2008/12/how-to-disable-adsense-adverts-on-your-own-site-blog/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 23:01:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AdSense]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=38</guid>
		<description><![CDATA[Problem
Anyone that runs AdSense knows that YOU MUST NEVER CLICK ON YOUR OWN ADS. Now there&#8217;s a very slim chance you might one day accidentally click on an ad, which &#8211; if they are in a bad mood &#8211; might cause Google to suspend your account, or even remove it.
Solution
This is where the &#8216;google_adtest&#8217; variable comes in handy. If you add this PHP code to your AdSense block&#8230;
&#60;?php
if ($_SERVER["REMOTE_ADDR"]==&#8221;XXX.XXX.XXX.XXX&#8221;) {
  echo &#8220;google_adtest=&#8217;on&#8217;;\n&#8221;;
}
?&#62;
&#8230;just above the &#8216;google_ad_client&#8217; variable, substituting &#8216;XXX.XXX.XXX.XXX&#8217; for your home/workplace IP address, whenever you view pages with these ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>Anyone that runs AdSense knows that YOU MUST NEVER CLICK ON YOUR OWN ADS. Now there&#8217;s a very slim chance you might one day accidentally click on an ad, which &#8211; if they are in a bad mood &#8211; might cause Google to suspend your account, or even remove it.</p>
<h2>Solution</h2>
<p>This is where the &#8216;google_adtest&#8217; variable comes in handy. If you add this PHP code to your AdSense block&#8230;</p>
<blockquote><p><span style="color: #ff0000;">&lt;?php</span><br />
<span style="color: #0000ff;">if ($_SERVER["REMOTE_ADDR"]==&#8221;XXX.XXX.XXX.XXX&#8221;) {<br />
  echo &#8220;google_adtest=&#8217;on&#8217;;\n&#8221;;<br />
}</span><br />
<span style="color: #ff0000;">?&gt;</span></p></blockquote>
<p>&#8230;just above the &#8216;google_ad_client&#8217; variable, substituting &#8216;XXX.XXX.XXX.XXX&#8217; for your home/workplace IP address, whenever you view pages with these ads on, they will be in test mode. If you click on them, they don&#8217;t register, and the advertiser doesn&#8217;t get charged. Blow is a full AdSense block example:</p>
<blockquote><p><span style="color: #008000;">&lt;script type=&#8221;text/javascript&#8221;&gt;&lt;!&#8211;</span><br />
<span style="color: #ff0000;">&lt;?php</span><br />
<span style="color: #0000ff;">if ($_SERVER["REMOTE_ADDR"]==&#8221;111.222.333.444&#8243;) {<br />
  echo &#8220;google_adtest=&#8217;on&#8217;;\n&#8221;;<br />
}</span><br />
<span style="color: #ff0000;">?&gt;</span><br />
<span style="color: #008000;">google_ad_client = &#8220;pub-#############&#8221;;<br />
google_ad_slot = &#8220;##########&#8221;;<br />
google_ad_width = ###;<br />
google_ad_height = ###; //&#8211;&gt;<br />
&lt;/script&gt;<br />
&lt;script type=&#8221;text/javascript&#8221; src=&#8221;http://pagead2.googlesyndication.com/pagead/show_ads.js&#8221;&gt;<br />
&lt;/script&gt;</span></p></blockquote>
<p>If you have no idea what your IP address is, try: <a href="http://whatsmyip.org/">http://whatsmyip.org/</a></p>
<p><strong>Please note:</strong> This method won&#8217;t work if you&#8217;re site doesn&#8217;t run PHP (obviously, but it could be done with ASP or any other scripting techs) and won&#8217;t work if you don&#8217;t have a fixed IP.</p>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/0feRD2mt0nI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2008/12/how-to-disable-adsense-adverts-on-your-own-site-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stainless Steel cutting hacksaw blades</title>
		<link>http://www.myquickfix.co.uk/index.php/2008/12/stainless-steel-cutting-hacksaw-blades/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2008/12/stainless-steel-cutting-hacksaw-blades/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 22:07:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[metalwork]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=30</guid>
		<description><![CDATA[Problem
Stainless steel is a pig to cut with hand tools, especially if the cut has to be tidy. An angle grinder with a cutting disk will make pretty quick work of it, but it&#8217;s not accurate, and there&#8217;s a good chance you&#8217;ll chew up your work piece&#8230; or your fingers.
Solution
I tried lots of different sorts and brands of hacksaw blade, and then came across IRWIN &#8220;Cobalt HSS All Hard&#8221; blades. They are a standard 12&#8243;/300mm blade, and can be bought in 18 TPI or 24 TPI versions. I bought 10 ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>Stainless steel is a pig to cut with hand tools, especially if the cut has to be tidy. An angle grinder with a cutting disk will make pretty quick work of it, but it&#8217;s not accurate, and there&#8217;s a good chance you&#8217;ll chew up your work piece&#8230; or your fingers.</p>
<h2>Solution</h2>
<p>I tried lots of different sorts and brands of hacksaw blade, and then came across IRWIN &#8220;Cobalt HSS All Hard&#8221; blades. They are a standard 12&#8243;/300mm blade, and can be bought in 18 TPI or 24 TPI versions. I bought 10 of the 24TPI ones from <a title="Link to Screwfix Website" href="http://www.screwfix.com" target="_self">Screwfix</a> and I&#8217;m still using the first one. I&#8217;m sure other manufacturers make &#8216;Cobalt&#8217; blades too.</p>
<p> </p>
<div class="wp-caption aligncenter" style="width: 210px"><a href="http://www.screwfix.com/prods/23610/Hand-Tools/Saws/Saw-Blades/Hacksaw-Blades/Irwin-Cobalt-Hacksaw-Blades-24Tpi-300mm-Pack-of-10"><img title="Irwin Cobalt blades" src="http://www.screwfix.com/sfd/i/cat/64/p3036564_l.jpg" alt="Irwin Cobalt blades" width="200" height="200" /></a><p class="wp-caption-text">Irwin Cobalt blades</p></div>
<p> </p>
<p> </p>
<p>By the way, using a drilling, cutting and tapping fluid really lengthens the life of your drills, blades and taps/dies. This can also be found on Screwfix, or elsewhere, and costs a few quid for an aerosol can. Well worth it!</p>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/5GxKUUD4pgI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2008/12/stainless-steel-cutting-hacksaw-blades/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to share iTunes libraries with other LAN users…</title>
		<link>http://www.myquickfix.co.uk/index.php/2008/12/how-to-share-itunes-libraries-with-other-lan-users/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2008/12/how-to-share-itunes-libraries-with-other-lan-users/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 22:07:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iTunes]]></category>
		<category><![CDATA[sharing]]></category>
		<category><![CDATA[streaming]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=18</guid>
		<description><![CDATA[This is a REALLY simple one&#8230; Today, I was looking at the preferences / settings in iTunes (version 8) and saw the &#8217;sharing&#8217; tab. I&#8217;d never noticed it before. So I had a play and 1 minute later four of us at work were sharing our whole libraries with each other. Excellent!

Click on &#8216;Edit&#8217; &#62; &#8216;Preferences&#8217; from the toolbar.
In the Preferences window, select the &#8216;Sharing&#8217; tab.
In here, tick the &#8216;Look for shared libraries&#8217; and &#8216;Share my library on my local network&#8217; tickboxes. CLick &#8216;OK&#8217;.
Do this on as many other iTunes ...]]></description>
			<content:encoded><![CDATA[<p>This is a REALLY simple one&#8230; Today, I was looking at the preferences / settings in iTunes (version 8) and saw the &#8217;sharing&#8217; tab. I&#8217;d never noticed it before. So I had a play and 1 minute later four of us at work were sharing our whole libraries with each other. Excellent!</p>
<ol>
<li>Click on &#8216;Edit&#8217; &gt; &#8216;Preferences&#8217; from the toolbar.</li>
<li>In the Preferences window, select the &#8216;Sharing&#8217; tab.</li>
<li>In here, tick the &#8216;Look for shared libraries&#8217; and &#8216;Share my library on my local network&#8217; tickboxes. CLick &#8216;OK&#8217;.</li>
<li>Do this on as many other iTunes equipped PC / MAC machines as you want to share with.</li>
<li>Look in the left pane of iTunes and -if any libraries are on the network &#8211; you should see &#8216;Shared Libraries&#8217; appear. Wohoo!</li>
</ol>
<p>Of course this isn&#8217;t really a fix, and it&#8217;s not even hard to find, but I&#8217;ve been using iTunes in a networked environment for years and have never come across it, so I figure other might not have either.</p>
<p><em>Google search helper phrases: Sharing iTunes library over a windows network. Networked iTunes. Connect to library overy wired ethernet or wireless LAN.</em></p>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/CLfVAEB4Bs0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2008/12/how-to-share-itunes-libraries-with-other-lan-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vista Driver for HP Photosmart 1215…</title>
		<link>http://www.myquickfix.co.uk/index.php/2008/12/vista-driver-for-hp-photosmart-1215/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2008/12/vista-driver-for-hp-photosmart-1215/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 21:55:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Vista]]></category>
		<category><![CDATA[1215]]></category>
		<category><![CDATA[7200]]></category>
		<category><![CDATA[driver]]></category>
		<category><![CDATA[hp]]></category>
		<category><![CDATA[photosmart]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=15</guid>
		<description><![CDATA[Problem
Yesterday my father-in-law needed to hook his old HP Photosmart 1215 Inkjet to Windows Vista Home Edition. HP don&#8217;t provide a Vista driver for the 1215&#8230;
Solution
A quick search around the web found that the driver for the Photosmart 7200 works perfectly. He tried it and says it works exactly as it should.
To install the diver use the following steps:

Click the &#8216;Start&#8217; Icon, and select &#8216;Control Panel&#8217; in the start menu.
Once the Control Panel window opens, double-click the &#8216;Printers&#8217; icon.
In the &#8216;Printers&#8217; window, click the &#8216;Add a printer&#8217; icon/link in the ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>Yesterday my father-in-law needed to hook his old HP Photosmart 1215 Inkjet to Windows Vista Home Edition. HP don&#8217;t provide a Vista driver for the 1215&#8230;</p>
<h2>Solution</h2>
<p>A quick search around the web found that the driver for the Photosmart 7200 works perfectly. He tried it and says it works exactly as it should.</p>
<p>To install the diver use the following steps:</p>
<ol>
<li>Click the &#8216;Start&#8217; Icon, and select &#8216;Control Panel&#8217; in the start menu.</li>
<li>Once the Control Panel window opens, double-click the &#8216;Printers&#8217; icon.</li>
<li>In the &#8216;Printers&#8217; window, click the &#8216;Add a printer&#8217; icon/link in the top menu bar.</li>
<li>In the &#8216;Add Printer&#8217; dialog window, select &#8216;Local Printer&#8217; and &#8216;Next&#8217;.</li>
<li>When asked to &#8216;Choose a Printer Port&#8217;, select &#8216;Use an existing port&#8217; and click on the &#8216;USB001 (virtual printer port for USB)&#8217; item in the list. Then click Next.</li>
<li>On the following page, select &#8216;HP&#8217; or &#8216;Hewlett Packard&#8217; in the left pane, and find &#8216;Photosmart 7200&#8242; in the list on the right.</li>
<li>IMPORTANT: Plug in the Printer now, if it&#8217;s not already plugged in, and switch it on.</li>
<li>Click &#8216;next&#8217; and then print a test page.</li>
</ol>
<p>That should do it&#8230;</p>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/n5yuTMuEHio" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2008/12/vista-driver-for-hp-photosmart-1215/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Permanent redirect (HTTP 301) to specific domain while preserving querystring.</title>
		<link>http://www.myquickfix.co.uk/index.php/2008/12/permanent-redirect-http-301-to-specific-domain-while-preserving-querystring/</link>
		<comments>http://www.myquickfix.co.uk/index.php/2008/12/permanent-redirect-http-301-to-specific-domain-while-preserving-querystring/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 18:24:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=7</guid>
		<description><![CDATA[Problem
When you&#8217;re using several domains which all point to one website, it&#8217;s important to make sure that Google only sees on domain when it&#8217;s crawling your site for content. Otherwise you&#8217;ll likely end up with &#8217;suplemental result&#8217; listings in the SERPS. At worst they&#8217;ll dump the site thinking it&#8217;s duplicating content.
A Solution
So what you need is something to intelligently redirect traffic to your preferred domain, while preserving any path and querystring data also. To do this with PHP you can place the following code (in an include maybe?) into the ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>When you&#8217;re using several domains which all point to one website, it&#8217;s important to make sure that Google only sees on domain when it&#8217;s crawling your site for content. Otherwise you&#8217;ll likely end up with &#8217;suplemental result&#8217; listings in the SERPS. At worst they&#8217;ll dump the site thinking it&#8217;s duplicating content.</p>
<h2>A Solution</h2>
<p>So what you need is something to intelligently redirect traffic to your preferred domain, while preserving any path and querystring data also. To do this with PHP you can place the following code (in an include maybe?) into the head of each page on the site:</p>
<blockquote><p><span style="color: #ff0000;">&lt;?php</span><br />
<span style="color: #0000ff;">$primary = &#8220;www.whatever.com&#8221;;<br />
if ($_SERVER['HTTP_HOST']!= $primary) {<br />
  header(&#8221;HTTP/1.1 301 Moved Permanently&#8221;);<br />
  header(&#8221;Location: http://$primary&#8221;<br />
  .(($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : &#8220;?&#8221;<br />
  .$_SERVER['QUERY_STRING']));<br />
  exit;;<br />
}</span><br />
<span style="color: #ff0000;">?&gt;</span></p></blockquote>
<p>This should redirect the page to the new domain, but preserve the <a title="URI Syntax reference" href="http://en.wikipedia.org/wiki/URI_scheme#Generic_syntax">path, query and any fragaments</a>. Please be aware that not all servers send the complete set of $_SERVER Variables. Using the code above, if the HTTP_HOST variable isn&#8217;t present, no redirecting will be done. If the REQUEST_URI isn&#8217;t present, the QUERY_STRING will be tried. If this doesn&#8217;t exist the client will be redirected to the root of the specified domain.</p>
<p><strong>A note about redirects:</strong> In this case, it&#8217;s really important that we send a <a title="HTTP Response Status Code 301" href="http://en.wikipedia.org/wiki/HTTP_301">301 Moved Permanently</a> response status code to the visiting client. If the visitor is a search bot, it &#8217;should&#8217; update any references to the other domain in its index.</p>
<p>If you have any questions, comments for corrections, please post below!</p>
<img src="http://feeds.feedburner.com/~r/myquickfix/~4/D3MgDr-eObY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.myquickfix.co.uk/index.php/2008/12/permanent-redirect-http-301-to-specific-domain-while-preserving-querystring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
