![]() | |
#101
| ||||
| ||||
|
|
On Mon, 07 Jan 2008 17:11:40 -0500, Randy Webb wrote: Jeremy J Starcher said the following on 1/7/2008 4:58 AM: On Tue, 01 Jan 2008 05:37:14 -0500, Jeremy J Starcher wrote: Most of these, if not all, are grammar and typo related: Bad fingers! Bad! The joys of being dyslexic. Normally, one of my friends is willing to proofread things for me and catch all of that stuff before it hits the world, but she won't proofread tech documents. |
|
I even did the old "get away from it for a few days" trick to see if I could spot anything I didn't catch last time through. |
|
Hopefully, edits should be just about over. |
|
(Mentally, I know there is a difference between "depreciated" and "deprecated" but I don't *see* it, if that makes any sense.) |
#102
| |||
| |||
|
|
You should join the group "DAM", Mothers Against Dyslexia. |
#103
| |||
| |||
|
|
On Tue, 01 Jan 2008 05:37:14 -0500, Jeremy J Starcher wrote: (Request for Discussion) I've put together a guide that I hope will help novice coders avoid the same hair pulling that I went through. URL:http://www.mopedepot.com/jjs/HowToRe...criptCode.html Version 0.3 is up. |
#104
| |||
| |||
|
| document.write("<p>This page last updated:" + document.lastModified) + "<\/p>"); Extra ) after lastModified. |
#105
| |||
| |||
|
|
In comp.lang.javascript message <sKKdnZ4jENr6Ph_aRVn_vwA (AT) giganews (DOT) com>, Mon, 7 Jan 2008 17:11:40, Randy Webb <HikksNotAtHome (AT) aol (DOT) com> posted: document.write("<p>This page last updated:" + document.lastModified) + "<\/p>"); Extra ) after lastModified. One should add that the result will look somewhat silly in Safari 3.0.4, the current Windows beta (empty string); and that lastModified is a misnomer because in practice it means "last uploaded to the server". |
#106
| ||||
| ||||
|
|
[...] Randy Webb [...] posted: document.write("<p>This page last updated:" + document.lastModified) + "<\/p>"); Extra ) after lastModified. One should add that the result will look somewhat silly in Safari 3.0.4, the current Windows beta (empty string); |
|
and that lastModified is a misnomer because in practice it means "last uploaded to the server". |
|
The only way to get a date really useful to the normal reader, who will care only about whether there are significant content changes, is to type it in to the HTML when a significant change is made; [...] |
|
Eschew FFF. |
#107
| |||
| |||
|
|
Dr J R Stockton said the following on 1/8/2008 7:47 AM: In comp.lang.javascript message <sKKdnZ4jENr6Ph_aRVn_vwA (AT) giganews (DOT) com>, Mon, 7 Jan 2008 17:11:40, Randy Webb <HikksNotAtHome (AT) aol (DOT) com> posted: document.write("<p>This page last updated:" + document.lastModified) + "<\/p>"); Extra ) after lastModified. One should add that the result will look somewhat silly in Safari 3.0.4, the current Windows beta (empty string); and that lastModified is a misnomer because in practice it means "last uploaded to the server". It is not a misnomer. It reflects the date the document you are viewing was last modified. It has nothing to do with "uploading". The FAQ index.html, while I have been editing the FAQ, has *never* been uploaded. The date that document.lastModified gives is exactly that, the date that the document was last Modified. Whether that modification is by uploading a replacement, direct editing on the server, or by being generated on the server. |
#108
| |||
| |||
|
|
the current Windows beta (empty string); and that lastModified is a misnomer because in practice it means "last uploaded to the server". It is not a misnomer. It reflects the date the document you are viewing was last modified. It has nothing to do with "uploading". The FAQ index.html, while I have been editing the FAQ, has *never* been uploaded. The date that document.lastModified gives is exactly that, the date that the document was last Modified. Whether that modification is by uploading a replacement, direct editing on the server, or by being generated on the server. Your lack of insight is most impressive. When a document is, for whatever reason, re-uploaded to a server (perhaps because of a change of server, for instance), it gets a new Last-Modified header. But if the content of the document, as seen by the user, is unchanged, it is a disservice to assert that there has been a modification. It is also a disservice if the change is too slight to matter to the reader, for example correcting non-misleading typos.[*] |
#109
| |||
| |||
|
|
Dr J R Stockton wrote: [...] Randy Webb [...] posted: document.write("<p>This page last updated:" + document.lastModified) + "<\/p>"); One should add that the result will look somewhat silly in Safari 3.0.4, the current Windows beta (empty string); Correct. But maybe that is because it is only a beta. |
|
and that lastModified is a misnomer because in practice it means "last uploaded to the server". Incorrect. The `lastModified' property shows the modification time of the resource, essentially the value of the `Last-Modified' HTTP header. The upload time to the server does not enter into it, although the modification timestamp of a file is usually also set/updated when it is created or overwritten in the filesystem as it would happen during an upload. |
|
The only way to get a date really useful to the normal reader, who will care only about whether there are significant content changes, is to type it in to the HTML when a significant change is made; [...] Fortunately, you are wrong here as well, and programming languages that are used server-side make this a lot easier. For example, I use essentially ?php $modi = @filemtime(__FILE__); echo gmdate('Y-m-d\TH:i:s+00:00', $modi); ? |
#110
| |||||
| |||||
|
|
[...] Thomas 'PointedEars' Lahn [...] posted: Dr J R Stockton wrote: [...] Randy Webb [...] posted: document.write("<p>This page last updated:" + document.lastModified) + "<\/p>"); One should add that the result will look somewhat silly in Safari 3.0.4, the current Windows beta (empty string); Correct. But maybe that is because it is only a beta. The reason is like Mr Worthing's early location. |
|
The fact remains that the string is empty in Sf 3.0.4. |
|
and that lastModified is a misnomer because in practice it means "last uploaded to the server". Incorrect. The `lastModified' property shows the modification time of the resource, essentially the value of the `Last-Modified' HTTP header. The upload time to the server does not enter into it, although the modification timestamp of a file is usually also set/updated when it is created or overwritten in the filesystem as it would happen during an upload. You are once more revealing your background as an unintelligent product of a technical college; one who can regurgitate material but cannot think effectively. In many respects, you and Randy are equals. |
|
The only way to get a date really useful to the normal reader, who will care only about whether there are significant content changes, is to type it in to the HTML when a significant change is made; [...] Fortunately, you are wrong here as well, and programming languages that are used server-side make this a lot easier. For example, I use essentially ?php $modi = @filemtime(__FILE__); echo gmdate('Y-m-d\TH:i:s+00:00', $modi); ? The datestamp of a file is not necessarily the date of the last modification to its contents; and that is not necessarily the last modification that the page's reader will need to know about. |
|
To consider the datestamp of any file to be *necessarily* important to the average user of the file is naive. |
![]() |
| Thread Tools | |
| Display Modes | |
| |