Date: Tue, 15 Dec 1998 23:37:38 +0100 From: Eivind Eklund <eivind@yes.no> To: Nik Clayton <nik@nothing-going-on.demon.co.uk> Cc: doc@FreeBSD.ORG Subject: Re: New page for mailing lists / projects / resources Message-ID: <19981215233738.F46780@follo.net> In-Reply-To: <19981215202234.29778@nothing-going-on.org>; from Nik Clayton on Tue, Dec 15, 1998 at 08:22:34PM %2B0000 References: <19981215000528.38029@nothing-going-on.org> <19981215201702.Z46780@follo.net> <19981215202234.29778@nothing-going-on.org>
index | next in thread | previous in thread | raw e-mail
On Tue, Dec 15, 1998 at 08:22:34PM +0000, Nik Clayton wrote:
> > 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?
Call it &listsdir; and have me think it almost not a kludge after all
:-)
Eivind.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981215233738.F46780>
