Date: Tue, 15 Dec 1998 20:22:34 +0000 From: Nik Clayton <nik@nothing-going-on.demon.co.uk> To: Eivind Eklund <eivind@yes.no>, Nik Clayton <nik@nothing-going-on.demon.co.uk> Cc: doc@FreeBSD.ORG Subject: Re: New page for mailing lists / projects / resources Message-ID: <19981215202234.29778@nothing-going-on.org> In-Reply-To: <19981215201702.Z46780@follo.net>; from Eivind Eklund on Tue, Dec 15, 1998 at 08:17:02PM %2B0100 References: <19981215000528.38029@nothing-going-on.org> <19981215201702.Z46780@follo.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 15, 1998 at 08:17:02PM +0100, Eivind Eklund wrote: > On Tue, Dec 15, 1998 at 12:05:28AM +0000, Nik Clayton wrote: > > What is this? > > > > This is a new structure for presenting some information on the FreeBSD > > web site. > > I _like_ it :-) Good. This, incidentally, is why the *BSD myths page has been so long in production. I wanted to get this framework right first. > > projects.sgml and resources.sgml are HTML fragments that list the projects > > and resources appropriate for this list. Note that this HTML will be > > included in files that appear at two different positions in the tree, so > > any URLs must be absolute at least as far as the root document. > > > > By that I mean you can't put in > > > > <li><a href="../foo.html">Random resource</a></li> > > > > You *must* put in code like > > > > <li><a href="/lists/foo.html">Random resource</a></li> > > > > otherwise links will break. This shouldn't be a problem, even for mirrors. > > I think this is wrong. At least www.jp.freebsd.org use a subdir for > the normal FreeBSD pages. > > Would it be possible to use some entity to refer to basepoints, or > somesuch? I've just had a quick think about this. It's a horrible kludge, but you could have an &dotdotslash; entity. In list-index-template.sgml it's defined <!ENTITY dotdotslash "../"> and in lists/{projects|resources|lists}.sgml it's defined as <!ENTITY dotdotslash ""> lists/advocacy/projects.sgml would have URLs like <a href="&dotdotslash;hackers/index.html">...</a> But it should only be used once in a URL. If you needed to go up two levels you'd write <a href="&dotdotslash;../bar/index.html">...</a> That would also do the right thing. <a href="&dotdotslash;&dotdotslash;bar/index.html">...</a> would be wrong. Thoughts? N -- C.R.F. Consulting -- we're run to make me richer. . . 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?19981215202234.29778>