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

<channel>
	<title>Leading Edge Scripts &#187; Web Development</title>
	<atom:link href="http://leadingedgescripts.co.uk/category/web-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://leadingedgescripts.co.uk</link>
	<description></description>
	<lastBuildDate>Fri, 16 Oct 2009 09:14:32 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Whitelabel your Plesk web hosts nameservers</title>
		<link>http://leadingedgescripts.co.uk/server-administration/whitelabel-your-plesk-web-hosts-nameservers/</link>
		<comments>http://leadingedgescripts.co.uk/server-administration/whitelabel-your-plesk-web-hosts-nameservers/#comments</comments>
		<pubDate>Thu, 27 Nov 2008 17:49:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server Administration]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[hide nameservers]]></category>
		<category><![CDATA[whitelabel nameservers]]></category>

		<guid isPermaLink="false">http://www.leadingedgescripts.co.uk/?p=237</guid>
		<description><![CDATA[This post is all about how you can hide your hosting companies name servers. I run a web hosting company, and many of our clients are re-sellers, as you might expect, they don&#8217;t want people knowing who we are, so they want to hide our nameservers.
Incidentally, our nameservers are ns1.leadingedgehosting.co.uk &#38; ns2.leadingedgehosting.co.uk
This post will show [...]]]></description>
			<content:encoded><![CDATA[<p>This post is all about how you can hide your hosting companies name servers. I run a web hosting company, and many of our clients are re-sellers, as you might expect, they don&#8217;t want people knowing who we are, so they want to hide our nameservers.</p>
<p>Incidentally, our nameservers are ns1.leadingedgehosting.co.uk &amp; ns2.leadingedgehosting.co.uk</p>
<p>This post will show you how to set up your DNS so you can have ns1.yourdomain.com &amp; ns2.yourdomain.com whatever your web hosts nameservers are.</p>
<p>We use the <a href="http://www.parallels.com/plesk/">Plesk control panel</a> so I&#8217;m going to demonstrate how to do this using that, but in principle, as long as you have access to your own DNS records you should be able to do this using any control panel.</p>
<h2>Step 1.</h2>
<p>Create two new A-records on your nameservers for your domain as follows:</p>
<p><a href="http://www.leadingedgescripts.co.uk/wp-content/2008/11/nameservers.gif"><img class="alignnone size-medium wp-image-238" title="nameservers" src="http://www.leadingedgescripts.co.uk/wp-content/2008/11/nameservers-300x24.gif" alt="" width="300" height="24" /></a></p>
<p>These should point to your nameserver IPs.</p>
<h2>Step 2.</h2>
<p>Register your Glue records with your domain registrar. They will ask you for the IP addresses of your nameservers, these should match your IPs as set up above, and that&#8217;s it.</p>
<p>Your domain registrar may have the facility to register Glue records via their control panel, but many don&#8217;t, so you may have to email them.</p>
<p>Now you should be able to have ns1.yourdomain.com and ns2.yourdomain.com and use your web hosting companies nameservers as if they were your own!</p>
]]></content:encoded>
			<wfw:commentRss>http://leadingedgescripts.co.uk/server-administration/whitelabel-your-plesk-web-hosts-nameservers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Preventing SQL Injection</title>
		<link>http://leadingedgescripts.co.uk/web-development/preventing-sql-injection/</link>
		<comments>http://leadingedgescripts.co.uk/web-development/preventing-sql-injection/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 16:43:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Computer Security]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[clean up input data]]></category>
		<category><![CDATA[sql injection]]></category>

		<guid isPermaLink="false">http://www.leadingedgescripts.co.uk/?p=222</guid>
		<description><![CDATA[For anyone who needs it, here is a script I wrote to prevent SQL injection. It uses references to the original global arrays to clean them up.



&#160;


/**


&#160;* added the following code to enabled readyness for magic_quotes() being removed


&#160;* in PHP6


&#160;* 


&#160;* added by C. Cook 15/8/2008 


&#160;*/


//Turn off magic quotes the manual way, this also [...]]]></description>
			<content:encoded><![CDATA[<p>For anyone who needs it, here is a script I wrote to prevent SQL injection. It uses references to the original global arrays to clean them up.</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"><span class="coMULTI">/**</span></div>
</li>
<li class="li1">
<div class="de1"><span class="coMULTI">&nbsp;* added the following code to enabled readyness for magic_quotes() being removed</span></div>
</li>
<li class="li1">
<div class="de1"><span class="coMULTI">&nbsp;* in PHP6</span></div>
</li>
<li class="li2">
<div class="de2"><span class="coMULTI">&nbsp;* </span></div>
</li>
<li class="li1">
<div class="de1"><span class="coMULTI">&nbsp;* added by C. Cook 15/8/2008 </span></div>
</li>
<li class="li1">
<div class="de1"><span class="coMULTI">&nbsp;*/</span></div>
</li>
<li class="li1">
<div class="de1"><span class="co1">//Turn off magic quotes the manual way, this also cleans up all our nasty data&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span></div>
</li>
<li class="li1">
<div class="de1"><span class="re0">$in</span> = <a href="http://www.php.net/array"><span class="kw3">array</span></a><span class="br0">&#40;</span>&amp;<span class="re0">$_GET</span>, &amp;<span class="re0">$_POST</span>, &amp;<span class="re0">$_COOKIE</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">while</span> <span class="br0">&#40;</span><a href="http://www.php.net/list"><span class="kw3">list</span></a><span class="br0">&#40;</span><span class="re0">$k</span>, <span class="re0">$v</span><span class="br0">&#41;</span> = <a href="http://www.php.net/each"><span class="kw3">each</span></a><span class="br0">&#40;</span><span class="re0">$in</span><span class="br0">&#41;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">foreach</span> <span class="br0">&#40;</span><span class="re0">$v</span> <span class="kw1">as</span> <span class="re0">$key</span> =&gt; <span class="re0">$val</span><span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>!<a href="http://www.php.net/is_array"><span class="kw3">is_array</span></a><span class="br0">&#40;</span><span class="re0">$val</span><span class="br0">&#41;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">//now we re-escape our input data</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$in</span><span class="br0">&#91;</span><span class="re0">$k</span><span class="br0">&#93;</span><span class="br0">&#91;</span><span class="re0">$key</span><span class="br0">&#93;</span> = <a href="http://www.php.net/mysql_real_escape_string"><span class="kw3">mysql_real_escape_string</span></a><span class="br0">&#40;</span><a href="http://www.php.net/stripslashes"><span class="kw3">stripslashes</span></a><span class="br0">&#40;</span><span class="re0">$val</span><span class="br0">&#41;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">//$in[$k][$key] = stripslashes($val);&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">continue</span>;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$in</span><span class="br0">&#91;</span><span class="br0">&#93;</span> =&amp; <span class="re0">$in</span><span class="br0">&#91;</span><span class="re0">$k</span><span class="br0">&#93;</span><span class="br0">&#91;</span><span class="re0">$key</span><span class="br0">&#93;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1"><a href="http://www.php.net/unset"><span class="kw3">unset</span></a><span class="br0">&#40;</span><span class="re0">$in</span><span class="br0">&#41;</span>;&nbsp; &nbsp; &nbsp;</div>
</li>
<li class="li2">
<div class="de2">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://leadingedgescripts.co.uk/web-development/preventing-sql-injection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cappuccino</title>
		<link>http://leadingedgescripts.co.uk/web-development/cappuccino/</link>
		<comments>http://leadingedgescripts.co.uk/web-development/cappuccino/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 21:16:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[cappuccino]]></category>

		<guid isPermaLink="false">http://www.leadingedgescripts.co.uk/?p=208</guid>
		<description><![CDATA[Ok, there isn&#8217;t a lot to say on this post since I don&#8217;t know a huge amount about it. However, take a look at Cappuccino a new web application framework, one that abstracts things so much that you no longer need to write XHTML or CSS (not 100% sure that that&#8217;s such a  great thing [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, there isn&#8217;t a lot to say on this post since I don&#8217;t know a huge amount about it. However, take a look at <a href="http://cappuccino.org/">Cappuccino</a> a new web application framework, one that abstracts things so much that you no longer need to write XHTML or CSS (not 100% sure that that&#8217;s such a  great thing at the moment, since <a href="http://validator.w3.org/check?uri=http%3A%2F%2Fcappuccino.org%2F&amp;charset=%28detect+automatically%29&amp;doctype=Inline&amp;group=0">the Cappuccino website doesn&#8217;t validate</a> (Edit 14.11.08: ok so yesterday it didn&#8217;t &#8211; see below)).</p>
<p>However, the principles on which this new framework are built sound very enticing:</p>
<blockquote><p>When you program in Cappuccino, you don&#8217;t need to concern yourself with the complexities of traditional web technologies like HTML, CSS, or even the DOM. The unpleasantries of building complex cross browser applications are abstracted away for you</p></blockquote>
<p>They also go on to talk about how you integrate your applications with desktop applications and go on to demonstrate the <a href="http://280slides.com/">first major application developed using Cappuccino</a> 280 slides even allows you to import powerpoint presentations directly from powerpoint &#8211; that&#8217;s cool!</p>
<p>I want to write more on this, so I&#8217;m going to test it out and come back to you.</p>
]]></content:encoded>
			<wfw:commentRss>http://leadingedgescripts.co.uk/web-development/cappuccino/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Accessibility and Popup Links</title>
		<link>http://leadingedgescripts.co.uk/web-development/accessibility-and-popup-links/</link>
		<comments>http://leadingedgescripts.co.uk/web-development/accessibility-and-popup-links/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 13:55:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[accessibility]]></category>
		<category><![CDATA[target="_blank"]]></category>

		<guid isPermaLink="false">http://www.leadingedgescripts.co.uk/?p=204</guid>
		<description><![CDATA[Ok, I&#8217;m sure this has probably been posted about elsewhere, but I&#8217;m starting to think that some of the guidelines and XHTML specs shouldn&#8217;t be treated as strict rules.
For example, I seem to get this a lot, you build a website using a Strict XHTML doctype and then clients start to ask you to put [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, I&#8217;m sure this has probably been posted about elsewhere, but I&#8217;m starting to think that some of the guidelines and XHTML specs shouldn&#8217;t be treated as strict rules.</p>
<p>For example, I seem to get this a lot, you build a website using a Strict XHTML doctype and then clients start to ask you to put popup links in (target=&#8221;_blank&#8221;) now we all know that this goes against the strict doctype and doesn&#8217;t validate, but when I object to my clients, well, they still want this feature.</p>
<p>On reflection perhaps it&#8217;s not such a bad thing anyway, a lot of times a link will open a pdf and lots of users close the window expecting to return to their web browser, but actually end up closing their browser altogether.</p>
<p>Instead of putting the focus on web developers, perhaps we should ban these browser add-ins as a worse barrier to usability than target=&#8221;_blank&#8221; links, which in this example may improve usability&#8230;</p>
<p>I know I can switch to the transitional doctype to get round this, but generally I&#8217;d prefer not to have to.</p>
<p>I also understand that XHTML was developed to work across a number of applications / devices and therefore target=&#8221;_blank&#8221; may not be great for pdas or mobile phones, but neither is a pdf document which most mobile phone users can&#8217;t (yet) open.</p>
]]></content:encoded>
			<wfw:commentRss>http://leadingedgescripts.co.uk/web-development/accessibility-and-popup-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to use the HTML address tag?</title>
		<link>http://leadingedgescripts.co.uk/web-development/how-to-use-the-html-address-tag/</link>
		<comments>http://leadingedgescripts.co.uk/web-development/how-to-use-the-html-address-tag/#comments</comments>
		<pubDate>Sat, 08 Nov 2008 14:17:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[html address tag]]></category>

		<guid isPermaLink="false">http://www.leadingedgescripts.co.uk/?p=196</guid>
		<description><![CDATA[Right, can anyone help me out here?
I make a lot of websites, and I know HTML 4 &#38; XHTML pretty damn well, but I can&#8217;t fathom the W3C definition of the &#60;address&#62; tag.
I quote:
The &#60;address&#62; tag defines contact information for a document or a  section.

Tips and Notes
Note: The &#60;address&#62; tag should NOT be used [...]]]></description>
			<content:encoded><![CDATA[<p>Right, can anyone help me out here?</p>
<p>I make a lot of websites, and I know HTML 4 &amp; XHTML pretty damn well, but I can&#8217;t fathom the <a href="http://www.w3schools.com/TAGS/tag_address.asp">W3C definition of the &lt;address&gt; tag</a>.</p>
<p>I quote:</p>
<blockquote><p>The &lt;address&gt; tag defines contact information for a document or a  section.</p></blockquote>
<blockquote>
<h2>Tips and Notes</h2>
<p><strong>Note:</strong> The &lt;address&gt; tag should NOT be used as describing a postal address,  unless it is a part of the contact information.</p></blockquote>
<p>So what is it for then? Mostly when I have an address it&#8217;s for post; I quite like being contacted by post.</p>
<p>Are they saying don&#8217;t use it for addresses?</p>
<p>Can anyone clear this up for me?</p>
<p>
<!-- Begin Google Adsense code -->
<script type="text/javascript"><!--
google_ad_client = "pub-4904188713812219";
/* 468x60, created 02/11/08 */
google_ad_slot = "9286450703";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<!-- End Google Adsense code -->
</p>
]]></content:encoded>
			<wfw:commentRss>http://leadingedgescripts.co.uk/web-development/how-to-use-the-html-address-tag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Proposal for HTML 5?</title>
		<link>http://leadingedgescripts.co.uk/web-development/proposal-for-html-5/</link>
		<comments>http://leadingedgescripts.co.uk/web-development/proposal-for-html-5/#comments</comments>
		<pubDate>Sat, 08 Nov 2008 14:09:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[html 5]]></category>

		<guid isPermaLink="false">http://www.leadingedgescripts.co.uk/?p=190</guid>
		<description><![CDATA[As a developer, there are certain things I find a bit frustrating about HTML and PHP programming, and this is one of them.
I&#8217;m regularly called upon to build shops, or very simple CMS systems with image upload facilities. This is fine, no complaints about that, but when you&#8217;re creating a CMS with image uploads, you [...]]]></description>
			<content:encoded><![CDATA[<p>As a developer, there are certain things I find a bit frustrating about HTML and PHP programming, and this is one of them.</p>
<p>I&#8217;m regularly called upon to build shops, or very simple CMS systems with image upload facilities. This is fine, no complaints about that, but when you&#8217;re creating a CMS with image uploads, you always need to handle what happens when your user doesn&#8217;t upload an image &#8211; or what happens if an image is deleted.</p>
<p>Now I know it&#8217;s trivial to create an if statement to conditionally show an image or not, but it would be even more trivial if we could just add another attribute to X/HTML &lt;img&gt; tags to allow specifying an alternative image if no image is available. I know we already have the alt tag, to show text or help users with screen readers, but how about something like altimg=&#8221;image.gif&#8221; as a new attribute?  Then you could just set it up once and everytime an image tag is loaded without a src=&#8221;" attribute, or the file specified by the src=&#8221;" attribute is missing you have a fallback image.</p>
<p>It would mean marginally less typing for me, potentially saving me from the devastating effects of RSI! It could also result in a slightly better end-user experience abolishing those nasty placeholders in IE (and firefox if you have that setting switched on.</p>
<p>Perhaps this has already been suggested elsewhere, I don&#8217;t know, and to be honest I haven&#8217;t really followed the <a href="http://www.w3.org/html/wg/html5/">HTML 5 development</a> so far, so if this (or something similar) is already in there a) please let me know b) great.</p>
<p>
<!-- Begin Google Adsense code -->
<script type="text/javascript"><!--
google_ad_client = "pub-4904188713812219";
/* 468x60, created 02/11/08 */
google_ad_slot = "9286450703";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<!-- End Google Adsense code -->
</p>
]]></content:encoded>
			<wfw:commentRss>http://leadingedgescripts.co.uk/web-development/proposal-for-html-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A proposal for robots.txt &#8211; RSS feeds</title>
		<link>http://leadingedgescripts.co.uk/web-development/a-proposal-for-robotstxt-rss-feeds/</link>
		<comments>http://leadingedgescripts.co.uk/web-development/a-proposal-for-robotstxt-rss-feeds/#comments</comments>
		<pubDate>Sat, 08 Nov 2008 11:27:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Search Engine Optimisation]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[robots.txt]]></category>
		<category><![CDATA[rss feeds]]></category>

		<guid isPermaLink="false">http://www.leadingedgescripts.co.uk/?p=186</guid>
		<description><![CDATA[Ok, so I know that you can link to RSS feeds via your HTML using
&#60;link href="" rel="alternate" type="application/rss+xml" title="" /&#62;
but since we&#8217;re already using starting to use robots.txt files to reference our sitemaps like so:
Sitemap: &#60;sitemap_location&#62;
why not use it to reference our RSS feeds as well? It would be trivial do something like this in [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, so I know that you can link to RSS feeds via your HTML using</p>
<pre id="line1">&lt;<span class="start-tag">link</span><span class="attribute-name"> href</span>=<span class="attribute-value">"" </span><span class="attribute-name">rel</span>=<span class="attribute-value">"alternate" </span><span class="attribute-name">type</span>=<span class="attribute-value">"application/rss+xml" </span><span class="attribute-name">title</span>=<span class="attribute-value">"" </span><span class="error"><span class="attribute-name">/</span></span>&gt;</pre>
<p>but since we&#8217;re already using starting to <a href="http://www.sitemaps.org/protocol.php">use robots.txt files to reference our sitemaps</a> like so:</p>
<pre>Sitemap: &lt;sitemap_location&gt;</pre>
<p>why not use it to reference our RSS feeds as well? It would be trivial do something like this in a sitemap:</p>
<pre>RSS: &lt;feed_location&gt;</pre>
<p>Thoughts anyone?</p>
<p>
<!-- Begin Google Adsense code -->
<script type="text/javascript"><!--
google_ad_client = "pub-4904188713812219";
/* 468x60, created 02/11/08 */
google_ad_slot = "9286450703";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<!-- End Google Adsense code -->
</p>
]]></content:encoded>
			<wfw:commentRss>http://leadingedgescripts.co.uk/web-development/a-proposal-for-robotstxt-rss-feeds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Emails in Outlook</title>
		<link>http://leadingedgescripts.co.uk/web-development/html-emails-in-outlook/</link>
		<comments>http://leadingedgescripts.co.uk/web-development/html-emails-in-outlook/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 22:02:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Emails]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[outlook 2007]]></category>
		<category><![CDATA[pixel units]]></category>

		<guid isPermaLink="false">http://www.leadingedgescripts.co.uk/?p=179</guid>
		<description><![CDATA[This is kind of a &#8216;note to self&#8217;&#8230;
When specifying pixel dimensions in html attributes e.g. width=&#8221;200px&#8221; in an html email, drop the units &#8211; width=&#8221;200&#8243; since for some reason Outlook 2007 doesn&#8217;t support the units.
Nice rendering engine MS&#8230;








]]></description>
			<content:encoded><![CDATA[<p>This is kind of a &#8216;note to self&#8217;&#8230;</p>
<p>When specifying pixel dimensions in html attributes e.g. width=&#8221;200px&#8221; in an html email, drop the units &#8211; width=&#8221;200&#8243; since for some reason Outlook 2007 doesn&#8217;t support the units.</p>
<p>Nice rendering engine MS&#8230;</p>
<p>
<!-- Begin Google Adsense code -->
<script type="text/javascript"><!--
google_ad_client = "pub-4904188713812219";
/* 468x60, created 02/11/08 */
google_ad_slot = "9286450703";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<!-- End Google Adsense code -->
</p>
]]></content:encoded>
			<wfw:commentRss>http://leadingedgescripts.co.uk/web-development/html-emails-in-outlook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Database development &#8211; Some Rules</title>
		<link>http://leadingedgescripts.co.uk/web-development/database-development-some-rules/</link>
		<comments>http://leadingedgescripts.co.uk/web-development/database-development-some-rules/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 21:56:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[phpmyadmin]]></category>

		<guid isPermaLink="false">http://www.leadingedgescripts.co.uk/?p=173</guid>
		<description><![CDATA[







If I&#8217;d known this stuff when I first started to design databases for web applications, I think it would have helped me a lot, these are not necessarily &#8216;formal recommendations&#8217; or even what some people might call &#8216;best practice&#8217;, but these rules work for me when I&#8217;m designing my web applications. It makes development quicker, [...]]]></description>
			<content:encoded><![CDATA[<p>
<!-- Begin Google Adsense code -->
<script type="text/javascript"><!--
google_ad_client = "pub-4904188713812219";
/* 468x60, created 02/11/08 */
google_ad_slot = "9286450703";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<!-- End Google Adsense code -->
</p>
<p>If I&#8217;d known this stuff when I first started to design databases for web applications, I think it would have helped me a lot, these are not necessarily &#8216;formal recommendations&#8217; or even what some people might call &#8216;best practice&#8217;, but these rules work for me when I&#8217;m designing my web applications. It makes development quicker, because I don&#8217;t have to think about the names of my columns and tables when I&#8217;m writing code.</p>
<p>So with that in mind, these are my &#8216;rules&#8217; for database design:</p>
<ol>
<li>Name everything in lowercase, that means table names, column names, everything!</li>
<li>always use the plural for table names</li>
<li>always use singular for columns names</li>
<li>always name primary key &#8216;index&#8217; fields &#8216;id&#8217; this prevents any issues with the name &#8216;index&#8217;</li>
<li>always name your database columns using something that accurately describes the content of the column e.g. email, first_name, last_name, tel</li>
</ol>
<p>Short and sweet, but these rules stand me in good stead these days.</p>
<p>On a similar topic, and equally useful, use a database administration tool, like <a href="http://dev.mysql.com/downloads/gui-tools/5.0.html">MySQLAdministrator</a> since it&#8217;s so much faster than installing old faithful <a href="http://www.phpmyadmin.net/home_page/index.php">PhpMyAdmin</a>. Don&#8217;t get me wrong PhpMyAdmin is still great, and I still use it a lot, but when I can get away with it MySQLAdministrator is just so much faster for creating databases tables.</p>
]]></content:encoded>
			<wfw:commentRss>http://leadingedgescripts.co.uk/web-development/database-development-some-rules/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Find the Full Path To A Virtual Host Directory</title>
		<link>http://leadingedgescripts.co.uk/server-administration/find-the-full-path-to-a-virtual-host-directory/</link>
		<comments>http://leadingedgescripts.co.uk/server-administration/find-the-full-path-to-a-virtual-host-directory/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 09:17:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server Administration]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[getcwd()]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.leadingedgescripts.co.uk/?p=167</guid>
		<description><![CDATA[This is a quick one, but hopefully some people will find it useful!
This simple script normally returns the full Linux path to your files, e.g.
/var/www/vhosts/leadingedgescripts.co.uk/httpdocs/
Simply create a PHP file with the following contents:
&#60;?php
echo getcwd();
?&#62;
Copy it to your PHP enabled server (using FTP/SFTP etc) and visit it in your web browser.
This tidbit of information can be [...]]]></description>
			<content:encoded><![CDATA[<p>This is a quick one, but hopefully some people will find it useful!</p>
<p>This simple script normally returns the full Linux path to your files, e.g.</p>
<p style="padding-left: 30px;">/var/www/vhosts/leadingedgescripts.co.uk/httpdocs/</p>
<p>Simply create a PHP file with the following contents:</p>
<p style="padding-left: 30px;">&lt;?php</p>
<p style="padding-left: 30px;">echo getcwd();</p>
<p style="padding-left: 30px;">?&gt;</p>
<p>Copy it to your PHP enabled server (using FTP/SFTP etc) and visit it in your web browser.</p>
<p>This tidbit of information can be very useful when configuring a website on a new server.</p>
]]></content:encoded>
			<wfw:commentRss>http://leadingedgescripts.co.uk/server-administration/find-the-full-path-to-a-virtual-host-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
