Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2002 05:31:26 +0200
From:      Giorgos Keramidas <keramida@FreeBSD.org>
To:        Peter Koeleman <hypeerion@home.nl>
Cc:        doc@FreeBSD.org
Subject:   Re: error in handbook
Message-ID:  <20021118033126.GC4534@gothmog.gr>
In-Reply-To: <000001c28e1d$818380b0$4101a8c0@Homicron>
References:  <000001c28e1d$818380b0$4101a8c0@Homicron>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2002-11-17 10:41, Peter Koeleman <hypeerion@home.nl> 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
<ulink> 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</ulink> has provided
./mail/chapter.sgml:        url="../../../../ports/mail.html">ports collection</ulink> and install
./ports/chapter.sgml:     <ulink url="../../../../ports/index.html">http://www.FreeBSD.org/ports/</ulink>.
./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




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