favicon request

Manolis Kiagias sonic2000gr at gmail.com
Thu Jan 15 06:58:58 UTC 2009


Frank Shute wrote:
> The online handbook has a favicon but the offline handbook doesn't.
>
> Is this a bug or a feature?
>
> I like to use favicon's on my bookmark toolbar without the writing.
>
> Could this be remedied? I guess it means adding a line of sgml to each
> page/chapter.
>
> Regards,
>
>   
If I understand your question, you just need to do the following:

wget http://www.freebsd.org/favicon.ico
mv favicon.ico /usr/share/doc/en_US.ISO8859-1/books/handbook

This alone won't do it probably - at least with firefox, as it seems it
does not request a favicon.ico from locally stored webpages. However it
will work nicely if you insert the following in every html file:

<link rel="shortcut icon"
href="/usr/share/doc/en_US.ISO8859-1/books/handbook/favicon.ico">

It will then work fine. You could use a simple sh script and sed(1) to
insert it in all html files.



More information about the freebsd-doc mailing list