Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi I run several email lists and

Status
Not open for further replies.

dougsworth

Technical User
Apr 5, 2002
4
0
0
GB
Hi

I run several email lists and am responsible for it's related archives.

Each list has an index page to access these archives which is writeen in html. This provides a link to automatically generated archives. ie Clicking on January 2003 on the index page links to all messages posted to the group in January 2003.

All links are of the format
Jan: (sample only)

Feb: (sample only)

etc..

Question:
Is it possible for the index page to automatically update? For example on Feb 28th I'll have to update all the index pages to include a link to the messages that will appear in March. I'd like the page to add in the link for March - - automatically

Thanks
 
I'm sure that should be very easy.
You could probably so it with SSI something like:

<!--#config timefmt=&quot;%y%m&quot; -->
(which formats the date to yymm so Jan is 0301)

then you're link would be something like

var=&quot;DATE_LOCAL&quot;-->/index.html

You would either need to set your server to parse files with whatever extension you are using or else redirect your page to this page which has to be parsed for SSI.

I'm sure the exact same can be done in many other languages such as perl or php.


É ::
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top