Automatic date up-date

Steve Harding harding at nas.nasa.gov
Mon Jan 6 11:57:11 EST 1997


> 
> At the bottom of all our web pages we have a date of when that page 
> was last up-dated.  This is OK, but some of them do not need up-dating 
> regularly.  It looks bad if a date on a page is a few months old.  
> Does any one know of a way of  periodically automatically up-dating 
> the date on web pages with out actually going to each one 
> individually?

Check with your server administrator.  If Server-Side-Include is turned on,
you can automatically date each page by adding the following to the files:

<!--#config timefmt="%B %e, %Y" -->
Updated: <!--#flastmod virtual="/path/from/server-root/filename.html" -->

This will give you something akin to:

Updated: January 2, 1997

SSIs can do a lot of neat stuff...especially Apache 1.2.

s


More information about the Web4lib mailing list