<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Defender of the Favicon</title>
	<atom:link href="http://ajaxian.com/archives/defender-of-the-favicon/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/defender-of-the-favicon</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Thu, 17 May 2012 07:43:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Laurent V.</title>
		<link>http://ajaxian.com/archives/defender-of-the-favicon/comment-page-1#comment-265915</link>
		<dc:creator>Laurent V.</dc:creator>
		<pubDate>Fri, 18 Jul 2008 09:30:32 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/defender-of-the-favicon#comment-265915</guid>
		<description>ridiculous</description>
		<content:encoded><![CDATA[<p>ridiculous</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Spocke</title>
		<link>http://ajaxian.com/archives/defender-of-the-favicon/comment-page-1#comment-265909</link>
		<dc:creator>Spocke</dc:creator>
		<pubDate>Thu, 17 Jul 2008 18:16:45 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/defender-of-the-favicon#comment-265909</guid>
		<description>This is just super cool. People have to much time and to little to do but still I love it. :)</description>
		<content:encoded><![CDATA[<p>This is just super cool. People have to much time and to little to do but still I love it. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: p01</title>
		<link>http://ajaxian.com/archives/defender-of-the-favicon/comment-page-1#comment-265903</link>
		<dc:creator>p01</dc:creator>
		<pubDate>Thu, 17 Jul 2008 16:08:16 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/defender-of-the-favicon#comment-265903</guid>
		<description>&lt;b&gt;Schill:&lt;/b&gt; Haven&#039;t dug how to get Safari to update the favicon either. Also now, &lt;b&gt;DEFENDER of the favicon&lt;/b&gt; falls back to Canvas display if the user agent do not support toDataURL(), like Safari 3.1.2

Unless IE8 behaves funny like Safari, I see no problem to generate a favicon for it ... not using Canvas of course.

Per &lt;a href=&quot;http://www.ietf.org/rfc/rfc2397.txt&quot; rel=&quot;nofollow&quot;&gt;RFC 2397&lt;/a&gt;, base64 encoding is not required. A good old &lt;i&gt;escape( String.fromCharCode.apply( String, yourBytesArray ) );&lt;/i&gt; will work and perform well in case one&#039;s rendering approach does not provide native base64 encoding.</description>
		<content:encoded><![CDATA[<p><b>Schill:</b> Haven&#8217;t dug how to get Safari to update the favicon either. Also now, <b>DEFENDER of the favicon</b> falls back to Canvas display if the user agent do not support toDataURL(), like Safari 3.1.2</p>
<p>Unless IE8 behaves funny like Safari, I see no problem to generate a favicon for it &#8230; not using Canvas of course.</p>
<p>Per <a href="http://www.ietf.org/rfc/rfc2397.txt" rel="nofollow">RFC 2397</a>, base64 encoding is not required. A good old <i>escape( String.fromCharCode.apply( String, yourBytesArray ) );</i> will work and perform well in case one&#8217;s rendering approach does not provide native base64 encoding.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Schill</title>
		<link>http://ajaxian.com/archives/defender-of-the-favicon/comment-page-1#comment-265897</link>
		<dc:creator>Schill</dc:creator>
		<pubDate>Thu, 17 Jul 2008 15:09:39 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/defender-of-the-favicon#comment-265897</guid>
		<description>It&#039;s worth noting the JS-generated favicon doesn&#039;t seem to work in Safari, nor IE (versions with broken data: support, anyway.) Perhaps the community here may have some ideas.. ;)
&#160;
In Safari at least, I can display a favicon using a data: URI in a &lt;link&gt; within the HTML and Safari will pick this up, but won&#039;t apply the data: URIs generated by javascript. (Maybe bad formatting, MIME type, DOM change isn&#039;t quite right, or ?) .. I&#039;m using XBM for what it&#039;s worth, and p01 is using canvas, exporting to PNG as noted. With data: you should be able to provide several base64-encoded formats - PNG, BMP, XBM etc.. it&#039;s possible Safari doesn&#039;t support PNG nor XBM in favicons, but I haven&#039;t really dug into it yet.
&#160;FWIW it appears that this whole process seems to make Firefox churn a bit doing garbage collection (&lt;a href=&quot;http://www.ozoneasylum.com/30419&quot; rel=&quot;nofollow&quot;&gt;related thread&lt;/a&gt;.)</description>
		<content:encoded><![CDATA[<p>It&#8217;s worth noting the JS-generated favicon doesn&#8217;t seem to work in Safari, nor IE (versions with broken data: support, anyway.) Perhaps the community here may have some ideas.. ;)<br />
&nbsp;<br />
In Safari at least, I can display a favicon using a data: URI in a &lt;link&gt; within the HTML and Safari will pick this up, but won&#8217;t apply the data: URIs generated by javascript. (Maybe bad formatting, MIME type, DOM change isn&#8217;t quite right, or ?) .. I&#8217;m using XBM for what it&#8217;s worth, and p01 is using canvas, exporting to PNG as noted. With data: you should be able to provide several base64-encoded formats &#8211; PNG, BMP, XBM etc.. it&#8217;s possible Safari doesn&#8217;t support PNG nor XBM in favicons, but I haven&#8217;t really dug into it yet.<br />
&nbsp;FWIW it appears that this whole process seems to make Firefox churn a bit doing garbage collection (<a href="http://www.ozoneasylum.com/30419" rel="nofollow">related thread</a>.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: V1</title>
		<link>http://ajaxian.com/archives/defender-of-the-favicon/comment-page-1#comment-265892</link>
		<dc:creator>V1</dc:creator>
		<pubDate>Thu, 17 Jul 2008 14:02:23 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/defender-of-the-favicon#comment-265892</guid>
		<description>great game, To bad javascript games are easy to cheat with :(</description>
		<content:encoded><![CDATA[<p>great game, To bad javascript games are easy to cheat with :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: genericallyloud</title>
		<link>http://ajaxian.com/archives/defender-of-the-favicon/comment-page-1#comment-265890</link>
		<dc:creator>genericallyloud</dc:creator>
		<pubDate>Thu, 17 Jul 2008 13:20:55 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/defender-of-the-favicon#comment-265890</guid>
		<description>BRILLIANT!!!!!</description>
		<content:encoded><![CDATA[<p>BRILLIANT!!!!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

