<?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>Cyan-Light Industries &#187; common errors</title>
	<atom:link href="http://cyan-light.co.uk/category/common-errors/feed/" rel="self" type="application/rss+xml" />
	<link>http://cyan-light.co.uk</link>
	<description>Clear-cut with a dash of orange. Serve with ice.</description>
	<lastBuildDate>Fri, 26 Mar 2010 23:30:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Favicons: You&#8217;re Doing Them Wrong</title>
		<link>http://cyan-light.co.uk/2009/01/favicons-youre-doing-them-wrong/</link>
		<comments>http://cyan-light.co.uk/2009/01/favicons-youre-doing-them-wrong/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 20:33:00 +0000</pubDate>
		<dc:creator>Cyan-Light</dc:creator>
				<category><![CDATA[common errors]]></category>
		<category><![CDATA[html & css]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://cyan-light.co.uk/2009/01/favicons-youre-doing-them-wrong</guid>
		<description><![CDATA[Favicons have been with us from the start of the Internet as we know it, but the vast majority of web authors are still using them wrong. Why? Our little friend the MIME is here to help.
Mime Types and the Internet
Officially Internet media type nowadays, the Mime type originated as a way of signifying additional [...]]]></description>
			<content:encoded><![CDATA[<p><abbr title="Favourites Icons">Favicons</abbr> have been with us from the start of the Internet as we know it, but the vast majority of web authors are still using them wrong. Why? Our little friend the <abbr title="Multipurpose Internet Mail Extensions">MIME</abbr> is here to help.</p>
<h3>Mime Types and the Internet</h3>
<p>Officially Internet media type nowadays, the Mime type originated as a way of signifying additional files on email served via <abbr title="Simple Mail Transfer Protocol">SMTP</abbr>. Mime types are made up of two pieces of information: a type and then a subtype. Additionally, a <code>charset</code> parameter may inform of the character set of the file. </p>
<p>You will have used these before: when writing a <abbr title="HyperText Transfer Protocol">HTML</abbr> document, you’ve always written something like this:</p>
<pre><code>&lt;meta http-equiv=&quot;Content-Type&quot;
  content=&quot;text/html; charset=utf-8&quot;/&gt;</code></pre>
<p>The Mime type is the text/html bit.</p>
<p>Usually, when a web author links to a favicon on his page, he might define it as <code>image/x-icon</code>.</p>
<pre><code>&lt;link rel=&quot;shortcut icon&quot;
  href=&quot;/favicon.ico&quot; type=&quot;image/x-icon&quot;/&gt;</code></pre>
<p>While this is strictly correct <abbr>HTML</abbr>, it is telling the browser that it is linking to a nonstandard, <span class="caps">ICO</span> image.</p>
<p>The problem is that <span class="caps">ICO</span> images have been standardized and registered with the <abbr title="Internet Assigned Numbers Authority">IANA</abbr> for <em>6 years</em>, and you really have to start paying them their dues. </p>
<p>The correct Mime type for <span class="caps">ICO</span> images is <code>image/vnd.microsoft.icon</code>. Thus, a fully correct rendition of a link to a <abbr>favicon</abbr> would be something like this:</p>
<pre><code>&lt;link rel=&quot;shortcut icon&quot;
  href=&quot;/favicon.ico&quot; type=&quot;image/vnd.microsoft.icon&quot;/&gt;</code></pre>
<p>Respect to the Mimes, people!</p>
]]></content:encoded>
			<wfw:commentRss>http://cyan-light.co.uk/2009/01/favicons-youre-doing-them-wrong/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
