From owner-freebsd-doc@FreeBSD.ORG Thu Jan 15 07:53:28 2009 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C8CD106564A for ; Thu, 15 Jan 2009 07:53:28 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id B36598FC1A for ; Thu, 15 Jan 2009 07:53:27 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1LNN2c-0000ot-5H; Thu, 15 Jan 2009 07:53:26 +0000 Received: from melon.esperance-linux.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with ESMTP id n0F7rOER030615; Thu, 15 Jan 2009 07:53:25 GMT Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id BEA7FFCA4DC; Thu, 15 Jan 2009 07:53:19 +0000 (GMT) Date: Thu, 15 Jan 2009 07:53:19 +0000 From: Frank Shute To: Manolis Kiagias Message-ID: <20090115075319.GA28343@melon.esperance-linux.co.uk> Mail-Followup-To: Manolis Kiagias , freebsd-doc@freebsd.org References: <20090115063330.GA28134@melon.esperance-linux.co.uk> <496EDEAF.3030400@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <496EDEAF.3030400@gmail.com> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 6.4-RELEASE-p2 i386 X-Organisation: 'http://www.shute.org.uk/' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.1.7 (zetnet.co.uk [194.247.46.1]); Thu, 15 Jan 2009 07:53:25 +0000 (GMT) Cc: freebsd-doc@freebsd.org Subject: Re: favicon request X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2009 07:53:28 -0000 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: > > 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