<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Matthew Capewell's Blog</title>
	<atom:link href="http://mcapewell.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mcapewell.wordpress.com</link>
	<description>Blog covering such delights as .NET, Joomla, The GIMP, MySQL, PHP, HTML, CSS...</description>
	<pubDate>Thu, 08 Mar 2007 16:53:55 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
	<language>en</language>
			<item>
		<title>IE6 duplicate / random content</title>
		<link>http://mcapewell.wordpress.com/2007/03/08/ie6-duplicate-random-content/</link>
		<comments>http://mcapewell.wordpress.com/2007/03/08/ie6-duplicate-random-content/#comments</comments>
		<pubDate>Thu, 08 Mar 2007 16:49:03 +0000</pubDate>
		<dc:creator>Matthew Capewell</dc:creator>
		
		<category><![CDATA[CSS]]></category>

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

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

		<guid isPermaLink="false">http://mcapewell.wordpress.com/2007/03/08/ie6-duplicate-random-content/</guid>
		<description><![CDATA[I had a strange issue with IE6 recently where there appeared to be a random character that was displayed when the page was rendered:

It became apparent that it was actually the last letter from the above select element but it only happend in IE6 and not IE7 or Firefox.
The select element and the button are [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I had a strange issue with IE6 recently where there appeared to be a random character that was displayed when the page was rendered:</p>
<p><img src="http://mcapewell.files.wordpress.com/2007/03/screenshot_before.jpg" alt="screenshot_before.jpg" /></p>
<p>It became apparent that it was actually the last letter from the above select element but it only happend in IE6 and not IE7 or Firefox.</p>
<p>The select element and the button are both floated, have % widths and are in a containing div which has an absolute width set in pixels.  After much searching I found this <a href="http://www.positioniseverything.net/explorer/dup-characters.html" title="Position Is Everything">article</a> and I was able to fix it by using the following style on the button:</p>
<p><code>margin-left: -10px;</code></p>
<p>and the page then rendered correctly:</p>
<p><img src="http://mcapewell.files.wordpress.com/2007/03/screenshot_after.jpg" alt="screenshot_after.jpg" /></p>
<p>Don&#8217;t you just love IE6 bugs?!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mcapewell.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mcapewell.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mcapewell.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mcapewell.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mcapewell.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mcapewell.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mcapewell.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mcapewell.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mcapewell.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mcapewell.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mcapewell.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mcapewell.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mcapewell.wordpress.com&blog=373348&post=18&subd=mcapewell&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mcapewell.wordpress.com/2007/03/08/ie6-duplicate-random-content/feed/</wfw:commentRss>
	
		<media:content url="http://mcapewell.files.wordpress.com/2007/03/screenshot_before.jpg" medium="image">
			<media:title type="html">screenshot_before.jpg</media:title>
		</media:content>

		<media:content url="http://mcapewell.files.wordpress.com/2007/03/screenshot_after.jpg" medium="image">
			<media:title type="html">screenshot_after.jpg</media:title>
		</media:content>
	</item>
		<item>
		<title>Debug and time ASP.NET code using tracing</title>
		<link>http://mcapewell.wordpress.com/2007/03/07/debug-and-time-aspnet-code-using-tracing/</link>
		<comments>http://mcapewell.wordpress.com/2007/03/07/debug-and-time-aspnet-code-using-tracing/#comments</comments>
		<pubDate>Wed, 07 Mar 2007 11:05:41 +0000</pubDate>
		<dc:creator>Matthew Capewell</dc:creator>
		
		<category><![CDATA[ASP.NET]]></category>

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

		<guid isPermaLink="false">http://mcapewell.wordpress.com/2007/03/07/debug-and-time-aspnet-code-using-tracing/</guid>
		<description><![CDATA[It is easy to get debug and process timing information out of an ASP.NET page.
To turn on tracing for a single page use:
&#60;%@ Page Trace=&#34;true&#34; %&#62;
or to enable it at the application level put the following in the web.config:
&#60;configuration&#62;
  &#60;system.web&#62;
    &#60;trace enabled=&#34;true&#34; /&#62;
  &#60;/system.web&#62;
&#60;/configuration&#62;
The trace of a single page is output at the bottom of [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>It is easy to get debug and process timing information out of an ASP.NET page.</p>
<p>To turn on tracing for a single page use:</p>
<p><code>&lt;%@ Page Trace=&quot;true&quot; %&gt;</code></p>
<p>or to enable it at the application level put the following in the web.config:</p>
<p><code>&lt;configuration&gt;<br />
  &lt;system.web&gt;<br />
    &lt;trace enabled=&quot;true&quot; /&gt;<br />
  &lt;/system.web&gt;<br />
&lt;/configuration&gt;</code></p>
<p>The trace of a single page is output at the bottom of that page&#8217;s HTML or if tracing a whole application (website) then the trace information is available at the URL http://mywebsite/trace.axd</p>
<p>Debugging statements can be output in the trace by using the following commands in the code behind:</p>
<p><code>Trace.Write(&quot;Starting some code...&quot;);<br />
Trace.Warn(&quot;Some important event occured!&quot;);<br />
Trace.Write(&quot;Finished some code.&quot;);</code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mcapewell.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mcapewell.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mcapewell.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mcapewell.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mcapewell.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mcapewell.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mcapewell.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mcapewell.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mcapewell.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mcapewell.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mcapewell.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mcapewell.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mcapewell.wordpress.com&blog=373348&post=15&subd=mcapewell&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mcapewell.wordpress.com/2007/03/07/debug-and-time-aspnet-code-using-tracing/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Draw a straight line in The GIMP</title>
		<link>http://mcapewell.wordpress.com/2007/02/07/draw-a-straight-line-in-the-gimp/</link>
		<comments>http://mcapewell.wordpress.com/2007/02/07/draw-a-straight-line-in-the-gimp/#comments</comments>
		<pubDate>Wed, 07 Feb 2007 15:02:37 +0000</pubDate>
		<dc:creator>Matthew Capewell</dc:creator>
		
		<category><![CDATA[The GIMP]]></category>

		<guid isPermaLink="false">http://mcapewell.wordpress.com/2007/02/07/draw-a-straight-line-in-the-gimp/</guid>
		<description><![CDATA[Ever wondered where the line tool is in The GIMP?
All you have to do is select the &#8216;pencil&#8217; tool, click on your image where you want the line to start, press and hold down the shift key and then click where you want the line to end.  The two points should (hopefully) now be joined up by a [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Ever wondered where the line tool is in The GIMP?</p>
<p>All you have to do is select the &#8216;pencil&#8217; tool, click on your image where you want the line to start, press and hold down the shift key and then click where you want the line to end.  The two points should (hopefully) now be joined up by a straight line.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mcapewell.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mcapewell.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mcapewell.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mcapewell.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mcapewell.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mcapewell.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mcapewell.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mcapewell.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mcapewell.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mcapewell.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mcapewell.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mcapewell.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mcapewell.wordpress.com&blog=373348&post=13&subd=mcapewell&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mcapewell.wordpress.com/2007/02/07/draw-a-straight-line-in-the-gimp/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Restart Apache in Mac OS X</title>
		<link>http://mcapewell.wordpress.com/2006/09/22/restart-apache-in-mac-os-x/</link>
		<comments>http://mcapewell.wordpress.com/2006/09/22/restart-apache-in-mac-os-x/#comments</comments>
		<pubDate>Fri, 22 Sep 2006 21:34:28 +0000</pubDate>
		<dc:creator>Matthew Capewell</dc:creator>
		
		<category><![CDATA[Apache]]></category>

		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://mcapewell.wordpress.com/2006/09/22/restart-apache-in-mac-os-x/</guid>
		<description><![CDATA[To restart the Apache webserver service you can run the following command in a Mac OS X Terminal window:
sudo /usr/sbin/apachectl restart
       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>To restart the Apache webserver service you can run the following command in a Mac OS X Terminal window:</p>
<p><code>sudo /usr/sbin/apachectl restart</code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mcapewell.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mcapewell.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mcapewell.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mcapewell.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mcapewell.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mcapewell.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mcapewell.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mcapewell.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mcapewell.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mcapewell.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mcapewell.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mcapewell.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mcapewell.wordpress.com&blog=373348&post=11&subd=mcapewell&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mcapewell.wordpress.com/2006/09/22/restart-apache-in-mac-os-x/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Editting a file from the Mac OS X Terminal</title>
		<link>http://mcapewell.wordpress.com/2006/09/22/editting-a-file-from-the-mac-os-x-terminal/</link>
		<comments>http://mcapewell.wordpress.com/2006/09/22/editting-a-file-from-the-mac-os-x-terminal/#comments</comments>
		<pubDate>Fri, 22 Sep 2006 21:31:31 +0000</pubDate>
		<dc:creator>Matthew Capewell</dc:creator>
		
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://mcapewell.wordpress.com/2006/09/22/editting-a-file-from-the-mac-os-x-terminal/</guid>
		<description><![CDATA[To edit a file (for example /private/etc/httpd/httpd.conf) from the Mac OS X Terminal you can run the following command:
sudo pico /private/etc/httpd/httpd.conf
       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>To edit a file (for example /private/etc/httpd/httpd.conf) from the Mac OS X Terminal you can run the following command:</p>
<p><code>sudo pico /private/etc/httpd/httpd.conf</code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mcapewell.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mcapewell.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mcapewell.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mcapewell.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mcapewell.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mcapewell.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mcapewell.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mcapewell.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mcapewell.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mcapewell.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mcapewell.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mcapewell.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mcapewell.wordpress.com&blog=373348&post=10&subd=mcapewell&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mcapewell.wordpress.com/2006/09/22/editting-a-file-from-the-mac-os-x-terminal/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Enabling mod_rewrite on Mac OS X</title>
		<link>http://mcapewell.wordpress.com/2006/09/22/enabling-mod_rewrite-on-mac-os-x/</link>
		<comments>http://mcapewell.wordpress.com/2006/09/22/enabling-mod_rewrite-on-mac-os-x/#comments</comments>
		<pubDate>Fri, 22 Sep 2006 21:27:50 +0000</pubDate>
		<dc:creator>Matthew Capewell</dc:creator>
		
		<category><![CDATA[Apache]]></category>

		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://mcapewell.wordpress.com/2006/09/22/enabling-mod_rewrite-on-mac-os-x/</guid>
		<description><![CDATA[In the file /private/etc/httpd/httpd.conf change the following line:
AllowOverride None
to:
AllowOverride All
In the file /private/etc/httpd/users/[user].conf change the line:
AllowOverride None
to:
AllowOverride All
Finally restart Apache using the following command:
sudo /usr/sbin/apachectl restart
       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In the file /private/etc/httpd/httpd.conf change the following line:</p>
<p><code>AllowOverride None</code></p>
<p>to:</p>
<p><code>AllowOverride All</code></p>
<p>In the file /private/etc/httpd/users/[user].conf change the line:</p>
<p><code>AllowOverride None</code></p>
<p>to:</p>
<p><code>AllowOverride All</code></p>
<p>Finally restart Apache using the following command:</p>
<p><code>sudo /usr/sbin/apachectl restart</code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mcapewell.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mcapewell.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mcapewell.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mcapewell.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mcapewell.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mcapewell.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mcapewell.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mcapewell.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mcapewell.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mcapewell.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mcapewell.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mcapewell.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mcapewell.wordpress.com&blog=373348&post=9&subd=mcapewell&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mcapewell.wordpress.com/2006/09/22/enabling-mod_rewrite-on-mac-os-x/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hosting ASP.NET 1.1 websites along side ASP.NET 2.0 websites</title>
		<link>http://mcapewell.wordpress.com/2006/09/07/hosting-aspnet-11-websites-along-side-aspnet-20-websites/</link>
		<comments>http://mcapewell.wordpress.com/2006/09/07/hosting-aspnet-11-websites-along-side-aspnet-20-websites/#comments</comments>
		<pubDate>Thu, 07 Sep 2006 19:21:03 +0000</pubDate>
		<dc:creator>Matthew Capewell</dc:creator>
		
		<category><![CDATA[ASP.NET]]></category>

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

		<guid isPermaLink="false">http://mcapewell.wordpress.com/2006/09/07/hosting-aspnet-11-websites-along-side-aspnet-20-websites/</guid>
		<description><![CDATA[I haven&#8217;t been able to find much info on this but it is possible to run two websites (one .NET 1.1 and one .NET 2.0) on a single Windows Server 2003 server.
The key is to have them run in different application pools.
In IIS you can setup one website to run under the DefaultAppPool and then [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I haven&#8217;t been able to find much info on this but it is possible to run two websites (one .NET 1.1 and one .NET 2.0) on a single Windows Server 2003 server.</p>
<p>The key is to have them run in different application pools.</p>
<p>In IIS you can setup one website to run under the DefaultAppPool and then the other to run under a new one (e.g. DefaultAppPoolForNET2).</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mcapewell.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mcapewell.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mcapewell.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mcapewell.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mcapewell.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mcapewell.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mcapewell.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mcapewell.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mcapewell.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mcapewell.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mcapewell.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mcapewell.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mcapewell.wordpress.com&blog=373348&post=8&subd=mcapewell&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mcapewell.wordpress.com/2006/09/07/hosting-aspnet-11-websites-along-side-aspnet-20-websites/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to make a transparent PNG image for IE6 using The GIMP</title>
		<link>http://mcapewell.wordpress.com/2006/09/07/how-to-make-a-transparent-png-image-for-ie-6-in-the-gimp/</link>
		<comments>http://mcapewell.wordpress.com/2006/09/07/how-to-make-a-transparent-png-image-for-ie-6-in-the-gimp/#comments</comments>
		<pubDate>Thu, 07 Sep 2006 19:11:11 +0000</pubDate>
		<dc:creator>Matthew Capewell</dc:creator>
		
		<category><![CDATA[IE6]]></category>

		<category><![CDATA[The GIMP]]></category>

		<guid isPermaLink="false">http://mcapewell.wordpress.com/2006/09/07/how-to-make-a-transparent-png-image-for-ie-6-in-the-gimp/</guid>
		<description><![CDATA[I recently made what I thought was a transparent PNG but when I uploaded it onto the website it was transparent in Firefox but not in IE6.
After doing some searching, I found the following solution. Apparently IE 6 doesn&#8217;t support 24-bit PNGs with alpha channel so you need to convert the image to 8-bit.

Open the [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I recently made what I thought was a transparent PNG but when I uploaded it onto the website it was transparent in Firefox but not in IE6.</p>
<p>After doing some searching, I found the following solution. Apparently IE 6 doesn&#8217;t support 24-bit PNGs with alpha channel so you need to convert the image to 8-bit.</p>
<ol>
<li>Open the original image.</li>
<li>Set a proper background colour as oposed to it being transparent. It is best to make this colour similar to the background colour of the website to generate the antialiasing in your image borders in order for the image to blend nicely.</li>
<li>Flatten the image (Image - Flatten image).</li>
<li>Add an alpha channel (Layer - Transparency - Add alpha channel).</li>
<li>Select the background color (Selection - By color).</li>
<li>Clear the background colour (Edit - Clear).</li>
<li>Convert the image to indexed color (Image - Mode - Indexed color).</li>
<li>Save the image to the final PNG file (File - Save as) and remember to check: Save color values from transparent pixels.</li>
</ol>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mcapewell.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mcapewell.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mcapewell.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mcapewell.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mcapewell.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mcapewell.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mcapewell.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mcapewell.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mcapewell.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mcapewell.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mcapewell.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mcapewell.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mcapewell.wordpress.com&blog=373348&post=7&subd=mcapewell&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mcapewell.wordpress.com/2006/09/07/how-to-make-a-transparent-png-image-for-ie-6-in-the-gimp/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Create Mac OS X AppleScript application to call Unix/terminal commands</title>
		<link>http://mcapewell.wordpress.com/2006/09/02/create-mac-os-x-applescript-application-to-call-unixterminal-commands/</link>
		<comments>http://mcapewell.wordpress.com/2006/09/02/create-mac-os-x-applescript-application-to-call-unixterminal-commands/#comments</comments>
		<pubDate>Sat, 02 Sep 2006 21:38:41 +0000</pubDate>
		<dc:creator>Matthew Capewell</dc:creator>
		
		<category><![CDATA[AppleScript]]></category>

		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">https://mcapewell.wordpress.com/2006/09/02/create-mac-os-x-applescript-application-to-call-unixterminal-commands/</guid>
		<description><![CDATA[To do this, load up the AppleScript editor and enter the following:
do shell script &#34;...&#34;
Replacing &#8230; with the command that you wish to run.
If the command requires administrator privileges then append the command with &#8216;with administrator privileges&#8217; and then any subsequent commands with &#8216;and password&#8217;. For example:
do shell script &#34;...&#34; with administrator privileges
do shell script [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>To do this, load up the AppleScript editor and enter the following:</p>
<p><code>do shell script &quot;...&quot;</code></p>
<p>Replacing &#8230; with the command that you wish to run.</p>
<p>If the command requires administrator privileges then append the command with &#8216;with administrator privileges&#8217; and then any subsequent commands with &#8216;and password&#8217;. For example:<code></code></p>
<p><code>do shell script &quot;...&quot; with administrator privileges<br />
do shell script &quot;&#8230;&quot; and password<br />
do shell script &quot;&#8230;&quot; and password</code></p>
<p>When the script is complete and tested save it as an &#8216;Application&#8217; and tick the &#8216;Run-only&#8217; checkbox.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mcapewell.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mcapewell.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mcapewell.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mcapewell.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mcapewell.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mcapewell.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mcapewell.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mcapewell.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mcapewell.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mcapewell.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mcapewell.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mcapewell.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mcapewell.wordpress.com&blog=373348&post=6&subd=mcapewell&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mcapewell.wordpress.com/2006/09/02/create-mac-os-x-applescript-application-to-call-unixterminal-commands/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Calling PHP from a Cron job</title>
		<link>http://mcapewell.wordpress.com/2006/09/02/calling-php-from-a-cron-job/</link>
		<comments>http://mcapewell.wordpress.com/2006/09/02/calling-php-from-a-cron-job/#comments</comments>
		<pubDate>Sat, 02 Sep 2006 21:07:39 +0000</pubDate>
		<dc:creator>Matthew Capewell</dc:creator>
		
		<category><![CDATA[Apache]]></category>

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

		<category><![CDATA[Web Hosting]]></category>

		<guid isPermaLink="false">https://mcapewell.wordpress.com/2006/09/02/calling-php-from-a-cron-job/</guid>
		<description><![CDATA[There are a number of options available to call a PHP script page from a Cron job.  The option to use depends very much on your web host and how they have their servers configured.  Option 2 is the one that I have found to work for me.
Option 1:
lynx -dump http://www.domain.com/file.php &#62; /dev/null
Option [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>There are a number of options available to call a PHP script page from a Cron job.  The option to use depends very much on your web host and how they have their servers configured.  Option 2 is the one that I have found to work for me.</p>
<p>Option 1:<code><br />
lynx -dump http://www.domain.com/file.php &gt; /dev/null</code></p>
<p>Option 2:<code><br />
php -q /home/username/public_html/file.php &gt;/dev/null</code></p>
<p>Option 3:<code><br />
wget http://www.domain.com/file.php</code></p>
<p>Option 4:<code><br />
get http://www.domain.com/backup.php &gt; /dev/null</code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mcapewell.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mcapewell.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mcapewell.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mcapewell.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mcapewell.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mcapewell.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mcapewell.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mcapewell.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mcapewell.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mcapewell.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mcapewell.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mcapewell.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mcapewell.wordpress.com&blog=373348&post=5&subd=mcapewell&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mcapewell.wordpress.com/2006/09/02/calling-php-from-a-cron-job/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>