Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I wrote some code do this (as a wp plugin)</p> <p>It checks for each of the favicon providers if the default image is provided. If so: then jump to the next provider. If none of the providers give me an image I will do a curl myself and e.g. also follow redirects and scan 404's for favicon.</p> <p>I check it on the datastring returned: if this is equal to the "empty image" as provided by the specific provider, then uhm... it is an empty image (and yes if the provider changes his default image then need to change the variable of the empty-image-string)</p> <p>e.g. for google it is (MD5):</p> <pre><code>private $_default = 'b8a0bf372c762e966cc99ede8682bc71'; </code></pre> <p>Full source code (GPL): <a href="http://plugins.svn.wordpress.org/wp-favicons/trunk/" rel="nofollow">http://plugins.svn.wordpress.org/wp-favicons/trunk/</a> (under /includes/server you will find the plugins to do the http requests , parse the images etc...)</p> <p>I decided to implement it in a plugin way:</p> <ul> <li>plugins to add providers (sources)</li> <li>plugins to further operate on the images (e.g. rescale, etc...)</li> <li>plugins to provide default favicons if none are found e.g. gravatars</li> <li>plugins to perform caching</li> </ul> <p>it is implemented as a server and a client, so you can also install the server part and then do calls to the server via http xml requests: you send a piece of text and get the text returned with all hrefs replaced with hrefs + favicon in front of it.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload