Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 2009 08:58:55 +0200
From:      Manolis Kiagias <sonic2000gr@gmail.com>
To:        freebsd-doc@freebsd.org
Subject:   Re: favicon request
Message-ID:  <496EDEAF.3030400@gmail.com>
In-Reply-To: <20090115063330.GA28134@melon.esperance-linux.co.uk>
References:  <20090115063330.GA28134@melon.esperance-linux.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?496EDEAF.3030400>