I am working on some documentation in html format and I would really like to display
the date the html file, itself was modified. I am writing my documentation in vi and
the html server involved is Apache.
This is a conversion effort from MS Frontpage 2000. In Frontpage, there's a feature
that allows the document's modification date to be displayed in the document, but I
tried this with a javascript that I downloaded via the Internet, but it returns
incorrect information.
Does anyone know a simple way to include the modification date in an html document?
Maybe an example page that I could look at? 3 1999 st**@temple.edu wrote: I am working on some documentation in html format and I would really like to display the date the html file, itself was modified.
Try this:
<div>Last modified 2004-02-03.</div>
No, you cannot reliably automate it. Only you can know when you have
really modified the document. Normally, updating the date takes one
hundredth or less of the time needed for the actual modification.
Otherwise the modification is probably not worth doing, or worth being
recorded in the modification date.
I am writing my documentation in vi and the html server involved is Apache.
Apache sends the HTTP header Last-Modified anyway, so anyone really
interested in knowing the exact moment of time of uploading the
document onto the server, or modifying it there, can get the
information, at least after getting a decent browser (e.g., using
control-i on Mozilla.)
--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
On 3 Feb 2004 16:50:26 GMT, st**@temple.edu wrote: I am working on some documentation in html format and I would really like to display the date the html file, itself was modified. I am writing my documentation in vi
Saving this info into the HTML file itself automatically would require
some pre-save processing, it seems. I don't know vi well enough to know
if it is capable of doing this. An alternative could be a cleverly
constructed macro, if vi supports macro's, that updates the
last-modified date present in the file to today. If you've marked up the
date in a distinguishable way, this should not be too difficult.
and the html server involved is Apache.
In that case, if you can use server side includes, you may want to
consider that. http://httpd.apache.org/docs/howto/s...ndateofthefile
Gertjan.
--
Gertjan Klein <gk****@xs4all.nl> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: a |
last post by:
hello all,
is there an easy way to get the creation or modification date in a
remote server without using ftp_mdtm($url?)?
I would like to be able to checkthe date of a...
|
by: Patrick De Ridder |
last post by:
How can I turn what I want to print 90 degrees using the logic below?
Please tell me the code with which to make the modification.
Many thanks,
Patrick.
using System.ComponentModel;
using...
|
by: Maravilloso |
last post by:
Hi
I'm trying to automatically send a postscript file to be printed to the
default printer in a Win98 PC, by means of using the instrucction:
win32api.ShellExecute (0, "print", "file.ps",...
|
by: Henry Law |
last post by:
(I posted this to comp.infosystems.www.browsers.misc but there seems to
be very little traffic there. I can't see another suitable group; is it
on topic here? If not, any suggestions as to...
|
by: qwweeeit |
last post by:
Hi all,
I'm a newbie in JS, but I've used it to print html
+ additional informations:
- list of links (also internals)
both text (document.links.text) and href
- title (document.title)
- URL,...
|
by: mich dobelman |
last post by:
How can i just get the last modification date from the header list.
I though I can $request->headers to get the modification
date, but
without success.
<?php
include( "Snoopy.class.php" );...
|
by: MarcJoseph |
last post by:
I have a database that is shared my multiple users who enter and update
records on a weekly basis. Is there a way I can add a field to my main
data table that will automatically generate the...
|
by: Ouroborus777 |
last post by:
I've been messing around with printing floats. It seems that printf()
is only capable of printing the fractional portion at a fixed length.
Is there some way to print floats such that the full...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM).
In this month's session, the creator of the excellent VBE...
|
by: MeoLessi9 |
last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
|
by: Aftab Ahmad |
last post by:
Hello Experts!
I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
| |