Date: Tue, 15 Apr 2003 16:10:15 +0200 From: Oliver Schoenwald <Oliver.Schoenwald@FernUni-Hagen.de> To: =?ISO-8859-1?Q?Ville_Skytt=E4?= <scop@FreeBSD.org> Cc: freebsd-cvsweb@FreeBSD.org Subject: Re: Showing Readme.cvs in the description of Directory listings Message-ID: <3E9C12C7.5060906@FernUni-Hagen.de> In-Reply-To: <1050240646.23380.52.camel@bobcat.ods.org> References: <3E95629F.6040100@FernUni-Hagen.de> <1050240646.23380.52.camel@bobcat.ods.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, ok, that's what I wanted to know. Well, I just added that feature into my current installation of cvsweb and it works exactly as I wanted it to work. If there is interest, this feature can added easily to cvsweb.cgi. I added a simple sub function basing on the doCheckout-function of cvsweb.cgi, which is called within the normal directory listing output routine. If you define a certain configuration variable in cvsweb.conf (which defines the name for the description file that should be looked for and shown; in my case, Readme.cvs), whenever this file is contained in the currently shown directory, its content is printed in addition to the other content of the listing. I use that new feature to prepare certain html-pages (one for every directory with important content) where I give certain infos about the content of that directory. The only problem is that, if you put broken html-tags into that file, you will most possibly disrupt the other html-output for the directory listing. If there is interest in that feature, how can I add this to the current version for the other people? Ciao, Oliver Ville Skyttä wrote: >On Thu, 2003-04-10 at 15:25, Oliver Schoenwald wrote: > > > >>I have been using cvsweb for some time now with my own project. >>Some time ago I saw something interesting: the W3C uses cvsweb, >>too, but there it seems to have some added feature: when there >>is a file named Readme.cvs in the directory shown, the content >>of that file is shown automatically together with the short >>description at the beginning of the page. >> >>I took a look into the cvsweb source code (version 2.0.6) and >>couldn't locate anything that implemented something like that. >> >>Does someone know if that feature is part of some other >>implementation of cvsweb or did I just miss some configuration >>to activate that feature? >> >> > >This feature doesn't exist in FreeBSD-CVSweb. I think it would be an >useful addition, though. > >Cheers, >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E9C12C7.5060906>