[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: script to put svn revision number in c source file

From: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: 2004-03-29 17:23:37 CEST

On 2004-03-29 09:11:46 -0600, C. Michael Pilato wrote:
> Heheh. This is exactly what I do for my websites:
> <script language="javascript">
> var date = "$Date$";
> document.write("Last Modified: " + date.substring(7, 26));
> </script>

Except that this isn't a very good example as the client needs
Javascript here, whereas the processing should have better been
done on the server side.

Vincent Lefèvre <vincent_at_vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 29 17:24:11 2004

This is an archived mail posted to the Subversion Users mailing list.