#!SCHEDULE ###################################################################### # Schedule generator template file. # For use with schedule.cgi: the image schedule generator! # (c) 2004 Sid Stamm # # Everything starting with a # is ignored by the script, and # if it starts with #! is interpreted as a command. # A useful way to comment out commands is to just remove the !. # The space between the #! and the command name is optional. # All commands are issued in all caps. # # The SCHEDULE command is required as the first line in all schedule # data files, much like a shell script. # # If you have questions, contact the creator: # Sid Stamm # # Change Log: # 2004/08/25 17:27:05: # INITIAL REVISION ###################################################################### #--------------------------------------------------------------------- # Following are option commands. You can leave these out and the # script will use default values. It is highly recommended that you # define your own values, though, as the defaults may change. #--------------------------------------------------------------------- # include this line only if you want the times displayed for each event #! SHOW TIMES # This is the number of hours in the calendar. For example, # to show from 8a-5p, use 9 #! NUM HOURS 11 # Between 0-23, this is the first hour on the calendar. #! START HOUR 10 # The dimensions of the image produced by the script. #! CAL WIDTH 500 #! CAL HEIGHT 500 ###################################################################### #! CATEGORIES # Everything following the categories command is interpreted as # a category. Fields are delimited by pipes: # Example: Name|BGCOLOR # ==> BGCOLOR = rrr,ggg,bbb (where color values are 0-255) Class|155,255,155 C211|155,155,255 Other|255,255,155 ###################################################################### ###################################################################### #! EVENTS # Everything following the events command is interpreted as # a event (calendar item). Fields are delimited by pipes: # Title|Category|Days|StartTime|EndTime # ==> Title is text, spaces and \n are supported # ==> Category is the first half of an entry above # ==> Days is one or more of {MTWRF} (weekends not supported yet) # ==> StartTime is military time between 0 - 2359 # ==> EndTime is military time between 0 - 2359 CSCI B581\nWH 005|Class|MW|1300|1415 CSCI B649\nI 107|Class|MW|1600|1715 CSCI B551\nLH 102|Class|TR|1900|2015 C211 Staff Mtg.|C211|M|1130|1230 C211 Office Hrs\nTBD|C211|TR|1300|1400 CSCI C211 Lab 1380\nin TBD|C211|R|1645|1840 CSCI C211 Lab 1385\nin TBD|C211|F|1010|1205 SURG Meeting|Other|R|1200|1255 ######################################################################