From owner-freebsd-cvsweb@FreeBSD.ORG Tue Apr 15 07:10:25 2003 Return-Path: Delivered-To: freebsd-cvsweb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3339E37B404; Tue, 15 Apr 2003 07:10:25 -0700 (PDT) Received: from oak.FernUni-Hagen.de (oak.fernuni-hagen.de [132.176.114.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FE0243FA3; Tue, 15 Apr 2003 07:10:24 -0700 (PDT) (envelope-from schoenwa@bonsai.FernUni-Hagen.de) Received: from amavis by oak.FernUni-Hagen.de with scanned-ok (Exim 4.04) id 195R8h-0003PC-00; Tue, 15 Apr 2003 16:10:23 +0200 Received: from ithaka.fernuni-hagen.de ([132.176.113.33] helo=FernUni-Hagen.de) by oak.FernUni-Hagen.de with esmtp (Exim 4.04) id 195R8a-0003OS-00; Tue, 15 Apr 2003 16:10:16 +0200 Message-ID: <3E9C12C7.5060906@FernUni-Hagen.de> Date: Tue, 15 Apr 2003 16:10:15 +0200 From: Oliver Schoenwald Organization: FernUniversitaet Hagen User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, de-de MIME-Version: 1.0 To: =?ISO-8859-1?Q?Ville_Skytt=E4?= References: <3E95629F.6040100@FernUni-Hagen.de> <1050240646.23380.52.camel@bobcat.ods.org> In-Reply-To: <1050240646.23380.52.camel@bobcat.ods.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by AMaViS perl-11 cc: freebsd-cvsweb@FreeBSD.org Subject: Re: Showing Readme.cvs in the description of Directory listings X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS Web maintenance mailing list [restricted posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2003 14:10:25 -0000 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, >