Date: Tue, 7 Sep 1999 15:12:23 +0400 From: Alexey Zelkin <phantom@cris.net> To: Peter Wemm <peter@netplex.com.au> Cc: FreeBSD Documentation Team <freebsd-doc@FreeBSD.org> Subject: Re: $Date$ at www pages Message-ID: <19990907151223.A556@scorpion.crimea.ua> In-Reply-To: <19990907082629.71A581CA9@overcee.netplex.com.au> References: <19990907003144.A262@scorpion.crimea.ua> <19990907082629.71A581CA9@overcee.netplex.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
hi, On Tue, Sep 07, 1999 at 04:26:29PM +0800, Peter Wemm wrote: > > As for me $Date$ tag on web pages was very useful, but with $Date$,$Id$-> > > $FreeBSD$ change it lost real meaning (just to show last modification time). > > I sure that it would be better to insert $FreeBSD$ somethere in body > > of the page (as comment) and revert current $FreeBSD$ tags back to $Date$. > > $Date$ won't be expanded though (and hasn't been for a while).. Is it > possible to post-process the generated .html or something and do something > like s/\$FreeBSD: .* .* (.* .*) .* .* \$/Last modified: \1 UTC/ ? > > So then: > $FreeBSD: CVSROOT/modules,v 1.360 1999/09/07 06:05:16 taoka Exp $ > would become: > Last modified: 1999/09/07 06:05:16 UTC It's good idea, but there're few problems: All web pages now have two $FreeBSD$ tags -- they have $Id$ and $Date$ tags before Id->FreeBSD conversion. It's not a problem to understand which tag was $Date$ in html pages, but problem for some cgi scripts which also needed $Date$. Maybe it would better to allow $Date$ expansion for www/ tree ? > If the web build scripts can do this without too much trouble then that should > solve the problem fairly well and give an even better result than: > $Date: 1999/09/07 06:05:16 $ -- /* Alexey Zelkin && phantom@cris.net */ /* Tavrical National University && phantom@crimea.edu */ /* http://www.ccssu.crimea.ua/~phantom && phantom@FreeBSD.org */ 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?19990907151223.A556>