If I understand what you want to do, it should be fairly easy to do. You could write a javscript with a table of filenames, such as
journal.july2007.html
journal.august2007.html
journal.september2007.html
etc.
Based on the date on the client's computer, the script would display the appropriate link. There are two problems with this approach. First of all, the client has to have javascript enabled. Secondly, if the date on the client computer is wrong, the wrong link will be displayed. This DOES happen. Of course you could write a server-side script in Perl or PHP to accomplish this, but that is probably more than you want to tackle.
A far simpler approach is: name your current journal something like currentjournal.html and always link to it. If you don't need the earlier journal, your upload will just overwrite it. If you DO need to keep earlier ones on the web site, your upload process will involve renaming the prior journal, with the appropriate date on it, then uploading the new currentjournal.html
I hope this helps.
Craig Herberg
http://info-safety.com
Discussion on:
Message 2 of 2

































