From owner-freebsd-doc Sun Nov 17 19:31:34 2002 Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E457C37B401 for ; Sun, 17 Nov 2002 19:31:32 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3072343EAA for ; Sun, 17 Nov 2002 19:31:31 -0800 (PST) (envelope-from keramida@FreeBSD.org) Received: from gothmog.gr (patr530-a196.otenet.gr [212.205.215.196]) by mailsrv.otenet.gr (8.12.6/8.12.6) with ESMTP id gAI3VRqD027044; Mon, 18 Nov 2002 05:31:28 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.6/8.12.6) with ESMTP id gAI3VR70004815; Mon, 18 Nov 2002 05:31:27 +0200 (EET) (envelope-from keramida@FreeBSD.org) Received: (from keramida@localhost) by gothmog.gr (8.12.6/8.12.6/Submit) id gAI3VRxR004814; Mon, 18 Nov 2002 05:31:27 +0200 (EET) (envelope-from keramida@FreeBSD.org) Date: Mon, 18 Nov 2002 05:31:26 +0200 From: Giorgos Keramidas To: Peter Koeleman Cc: doc@FreeBSD.org Subject: Re: error in handbook Message-ID: <20021118033126.GC4534@gothmog.gr> References: <000001c28e1d$818380b0$4101a8c0@Homicron> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline In-Reply-To: <000001c28e1d$818380b0$4101a8c0@Homicron> Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2002-11-17 10:41, Peter Koeleman wrote: > Hi all, > browsing the handbook I found an error: > x4738.html contains a link to http://www.FreeBSD.org/ports/ but the HTML is > wrong, pointing only to "../../../../ports/index.html", not the www server. It's not really an error or a broken link. The existing use of the elements show that two ways of linking to ports/ stuff are used. The first one uses absolute URLs [ like http://www.FreeBSD.org/ports/mail.html ]. The other one uses relative references: $ cd /a/freebsd/doc/en_US.ISO8859-1/books/handbook $ find . -type f | xargs grep -i 'url=.*\.\./ports' ./l10n/chapter.sgml: url="../../../../ports/index.html">FreeBSD Ports collection has provided ./mail/chapter.sgml: url="../../../../ports/mail.html">ports collection and install ./ports/chapter.sgml: http://www.FreeBSD.org/ports/. ./ports/chapter.sgml: url="../../../../ports/index.html">ports listing on the FreeBSD The first way (using absolute URLs) will make mirrors of the web site redirect parts of their traffic back to freebsd.org, and it's something I'd like to avoid if possible. The second way is problematic for sites that don't have a ports/ directory set up at the same level as the FreeBSD doc/ hierarchy. I'm not sure which of the two evils I prefer :-/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE92F8O1g+UGjGGA7YRAlp+AJ41TAxgyNdWATYlbboytDo6gFkU8QCdGWYE d9blekkWDP4AWQNCxci774Q= =KjZl -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message