Subject: Re: file
To: Hiroki Sato <hrs@NetBSD.org>
From: Rui Paulo <rpaulo@NetBSD.org>
List: netbsd-docs
Date: 07/04/2005 14:05:38
On 2005.07.04 15:00:28 +0000, Hiroki Sato wrote:
> Hubert Feyrer <hubert@feyrer.de> wrote
> in <Pine.LNX.4.61.0507031638000.10771@m24s24.vlinux.de>:
>
> hu> On Sun, 3 Jul 2005, Rui Paulo wrote:
> hu> > <cvsweb dir="src">build.sh</cvsweb>
> hu> > <cvsweb dir="src" rev="1.1">build.sh</cvsweb>
> hu>
> hu> Wasn't the idea not to add new tags but to add identifiers to things like
> hu> the <ulink> tag here, e.g.
> hu>
> hu> <ulink class="cvsweb" dir="src">build.sh</ulink>
> hu> <ulink class="cvsweb" dir="src" rev="1.1">build.sh</ulink>
>
> I think <filename> is suitable for this purpose. The attached patch
> allows to use role attribute to make a link to cvsweb.NetBSD.org like
> the following:
>
> <filename role="cvsweb">src/build.sh</filename>
> <filename role="cvsweb" revision="1.1">src/build.sh</filename>
> <filename role="cvsweb" path="src">build.sh</filename>
> <filename role="cvsweb" path="src" revision="1.1">build.sh</filename>
>
> The results will be:
>
> <a href="http://cvsweb.NetBSD.org/bsdweb.cgi/src/build.sh?rev=HEAD&content-type=text/x-cvsweb-markup" target="_top"><code class="filename">src/build.sh</code></a>
>
> <a href="http://cvsweb.NetBSD.org/bsdweb.cgi/src/build.sh?rev=1.1&content-type=text/x-cvsweb-markup" target="_top"><code class="filename">src/build.sh</code></a>
>
> <a href="http://cvsweb.NetBSD.org/bsdweb.cgi/src/build.sh?rev=HEAD&content-type=text/x-cvsweb-markup" target="_top"><code class="filename">build.sh</code></a>
>
> <a href="http://cvsweb.NetBSD.org/bsdweb.cgi/src/build.sh?rev=1.1&content-type=text/x-cvsweb-markup" target="_top"><code class="filename">build.sh</code></a>
Great! Can you commit this ? I'll change the XML files after.
-- Rui Paulo