<?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>Adrian Short &#187; http</title>
	<atom:link href="http://blog.adrianshort.co.uk/tag/http/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.adrianshort.co.uk</link>
	<description>Government web design, open data, transparency, etc.</description>
	<lastBuildDate>Wed, 25 Apr 2012 10:08:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Some URLs are longer than 255 characters</title>
		<link>http://blog.adrianshort.co.uk/2008/02/24/urls_longer_than_255_characters/</link>
		<comments>http://blog.adrianshort.co.uk/2008/02/24/urls_longer_than_255_characters/#comments</comments>
		<pubDate>Sun, 24 Feb 2008 15:39:09 +0000</pubDate>
		<dc:creator>Adrian Short</dc:creator>
				<category><![CDATA[Web design]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[tinyurl]]></category>
		<category><![CDATA[urls]]></category>

		<guid isPermaLink="false">http://adrianshort.co.uk/?p=6</guid>
		<description><![CDATA[This isn&#8217;t going to come as news to any web developer who thinks about it for more than a second. But ask yourself &#8211; how many URL fields are there in your applications&#8217; databases that are defined as VARCHAR(255) or similar? Long URLs are a nuisance. They&#8217;re generally unnecessary, always ugly and often cause presentation [...]]]></description>
			<content:encoded><![CDATA[<p>This isn&#8217;t going to come as news to any web developer who thinks about it for more than a second. But ask yourself &#8211; how many URL fields are there in your applications&#8217; databases that are defined as <strong>VARCHAR(255)</strong> or similar?</p>
<p><span id="more-6"></span></p>
<p>Long URLs are a nuisance. They&#8217;re generally unnecessary, always ugly and often cause presentation problems. That&#8217;s why God gave us <a href="http://tinyurl.com/">TinyURL</a>. (It&#8217;s got an <a title="TinyURL has an API" href="http://www.scripting.com/stories/2007/06/27/tinyurlHasAnApi.html">API</a>, too.)</p>
<p>Things were going well for short, clean and simple URLs until the current mania for search engine optimisation demanded that URLs should be another place to engage in keyword stuffing. <em>Ugh.</em> If it takes more than 255 characters to uniquely identify your resource, you&#8217;re probably committing a crime against good design somewhere.</p>
<p><a title="What is the maximum length of a URL?" href="http://www.boutell.com/newfaq/misc/urllength.html">Apparently</a>, the HTTP specification places no specific limit on the length of URLs, which means even a MySQL <strong>TEXT</strong> column that can take 64K characters could theoretically be inadequate. But the line has to be drawn somewhere, so users of my sites take note &#8211; if you want URLs longer than 64K characters you&#8217;re on your own.</p>
<p>(If you&#8217;re running MySQL 5.0.3 or later you can declare a <a title="CHAR and VARCHAR column types" href="http://dev.mysql.com/doc/refman/5.0/en/char.html">VARCHAR</a> up to 65,535 characters.)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.adrianshort.co.uk/2008/02/24/urls_longer_than_255_characters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
