POV-Ray : Newsgroups : povray.general : Request to web authors : Re: Request to web authors Server Time
8 Aug 2024 16:18:49 EDT (-0400)
  Re: Request to web authors  
From: Jerry
Date: 19 Jan 2001 11:30:24
Message: <jerry-82A673.08302419012001@news.povray.org>
In article <3A6846D4.15429101@gmx.de>, Christoph Hormann 
<chr### [at] gmxde> wrote:
>I have a 'last updated [date]' on my page, but i don't manage to change
>this every time i add something.

I would never remember to add this; I use the webserver to do it for me.
If you are using Apache, you can make your page be an shtml file and use

<!--#echo var="DATE_MODIFIED" -->

Here is a more complicated example that I use for displaying the last
modified time and the size of files that I'm linking to:

<!--#config timefmt="%b %e, %Y" -->
<!--#config sizefmt="abbrev" -->

<ul>
<li><a href="Rules/">The Rules</a> (Last uploaded <!--#flastmod file="Rules" -->)</li>

<li><a href="The%20Game.pdf">Adobe PDF version of "Gods & Monsters"</a>
(Last uploaded <!--#flastmod file="The Game.pdf" -->; <!--#fsize file="The Game.pdf"
-->b)</li>

<li><a href="The%20Game.rtf.gz">Rich Text Format version (gzipped)</a>
(Last uploaded <!--#flastmod file="The Game.rtf.gz" -->; <!--#fsize file="The
Game.rtf.gz" -->b)</li>

<li><a href="The%20Game.html">One-file HTML version</a>
(Last uploaded <!--#flastmod file="The Game.html" -->; <!--#fsize file="The Game.html"
-->b)</li>

</ul>

I try to automate stuff like this whenever possible :*)

(Ob.POV: the logo and the images in the game were created in POV.)

Jerry
-- 
http://www.hoboes.com/jerry/
"Give a man a fish and you feed him for a day. Teach him to fish, and you've
depleted the lake."--It Isn't Murder If They're Yankees
(http://www.hoboes.com/jerry/Murder/)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.