Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 2009 07:53:19 +0000
From:      Frank Shute <frank@shute.org.uk>
To:        Manolis Kiagias <sonic2000gr@gmail.com>
Cc:        freebsd-doc@freebsd.org
Subject:   Re: favicon request
Message-ID:  <20090115075319.GA28343@melon.esperance-linux.co.uk>
In-Reply-To: <496EDEAF.3030400@gmail.com>
References:  <20090115063330.GA28134@melon.esperance-linux.co.uk> <496EDEAF.3030400@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 15, 2009 at 08:58:55AM +0200, Manolis Kiagias wrote:
>
> 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.

Many thanks Manolis, that worked a treat. I just edited index.html as
that's the page I bookmark.

The only problem I see is if I build & install the docs again, I'll
have to do the edit again.

PS. Also used fetch(1) rather than wget - folks seem to forget about
fetch!

Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 




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