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 2001 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: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |