<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: undocumented</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/undocumented.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2008-08-30T20:40:48+00:00</updated><author><name>Simon Willison</name></author><entry><title>Google's undocumented favicon to png convertor</title><link href="https://simonwillison.net/2008/Aug/30/favicons/#atom-tag" rel="alternate"/><published>2008-08-30T20:40:48+00:00</published><updated>2008-08-30T20:40:48+00:00</updated><id>https://simonwillison.net/2008/Aug/30/favicons/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.google.com/s2/favicons?domain=simonwillison.net"&gt;Google&amp;#x27;s undocumented favicon to png convertor&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Showing the favicon of a domain next to a link is a really nice trick, but it’s slightly tricky to achieve as IE won’t display a .ico file if you link to it from an img element, so you need to convert the images server-side. This undocumented Google API does that for you, meaning it’s much easier to add favicons as a feature to your site.

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="http://www.reddit.com/r/programming/comments/6ytnt/googles_free_favicon_png_online_converter/"&gt;reddit.com&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/apis"&gt;apis&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/favicons"&gt;favicons&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/google"&gt;google&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/png"&gt;png&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/undocumented"&gt;undocumented&lt;/a&gt;&lt;/p&gt;



</summary><category term="apis"/><category term="favicons"/><category term="google"/><category term="png"/><category term="undocumented"/></entry></feed>