a cgi library to keep your website updated while you sleep
Hi!
This is a sample of how events works!
We're testing each script on this page.
event-next:
[an error occurred while processing this directive]
event-today:
[an error occurred while processing this directive]
event-list:
[an error occurred while processing this directive]
event-list-future:
[an error occurred while processing this directive]
event-list-past:
[an error occurred while processing this directive]
event-test.cgi:
[an error occurred while processing this directive]
Here are the contents of the events.txt:
# Sample events.txt file [config] # Configure timezone # 2 means GMT+2 # -3 mean GMT-3 # No entry means use local time timezone=2 [templates] # default template. Used to display the next event default:[title]
[desc]
# list template. Used to display a list of events list:# notfound template. Used if no next event was found notfound: I'm sorry, nothing special is ahead! [events] # Use the German date format... 01.01.98: title=January 1st: New Year desc=Hooray, this is the first day of the year! # Or the American date format 07/01/98: title=July 1st: 1998/2 desc=Gosh, half of the year's already gone! # And mix them as you like, just don't forget the trailing ":" 06.12.98: title=Dezember 6th: Santa Claus' day (in Germany) desc=Watch your chimney this night... # This is a special one... 01/17/99: title=January 17th: My 21th birthday! desc=Send congratulations to crenz@web42.com [title] [desc]
That's it! I hope everything worked fine!
Last updated: 20.07.98
http://www.web42.com/events/scripts/