Closed Thread Icon

Preserved Topic: You too, can be a winner. if you answer this... Pages that link to <a href="https://ozoneasylum.com/backlink?for=17907" title="Pages that link to Preserved Topic: You too, can be a winner.  if you answer this..." rel="nofollow" >Preserved Topic: You too, can be a winner.  if you answer this...\

 
Author Thread
ratdoodoo
Bipolar (III) Inmate

From: where the snow falls like rain.
Insane since: Dec 2000

posted posted 01-07-2001 17:07

What I want to do is this:

I want my web page to contain the last date that it was modified.

What I want to have to do each time I modify it:

Nothing.


Is there some code that can read the date of modification off of a web document, then print it wherever I want?

If you can help me out, I'd be obliged.

-rat

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 01-07-2001 19:51

If you have SSI, then there's an easier way, but if not, I think this works...

<script language="JavaScript">
document.write(document.lastModified);
</script>

I'm not sure the M should be capitalized in that... give it a shot.

ratdoodoo
Bipolar (III) Inmate

From: where the snow falls like rain.
Insane since: Dec 2000

posted posted 01-07-2001 20:45

If the easier way is easier, then I'd like to use it. My site is on www.geocities.com, and I don't know what determines SSI availability.

How do I know if I can use it?

If it's too complicated to explain to a newbie I'll just pop some blue pills and accept the JS.

-rat

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 01-07-2001 21:06

You can't use SSI on geocities.

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 01-07-2001 22:26

if you wanna do server-side things move to www.f2s.com !
but im not sure if it also supports SSI ?

edit: spälling

[This message has been edited by GRUMBLE (edited 01-07-2001).]

mbridge
Paranoid (IV) Mad Scientist

From:
Insane since: Jun 2000

posted posted 01-07-2001 22:53

f2s supports ssi, but you have to end your files with .shtml

ratdoodoo
Bipolar (III) Inmate

From: where the snow falls like rain.
Insane since: Dec 2000

posted posted 01-07-2001 23:14

Thanks guys.

I think I'll stick with the JS then.



ratdoodoo
Bipolar (III) Inmate

From: where the snow falls like rain.
Insane since: Dec 2000

posted posted 01-07-2001 23:53

By the way, Slime. The 'm' is fine.

-rat

« BackwardsOnwards »

Show Forum Drop Down Menu