You (or, if you desire, your visitors) can add events to the database
simply by calling the script. You’ll be presented with an
input form; just input the date(s) on which the event will (or did)
occur, a brief description of the event, and, optionally, a URL address
to which that description should link. If you wish the event to show up
on a certain date *every* year, simply define the year as “x”. This is
handy, for example, for inputting holidays which fall on the same date
each year. (If you input a year as only one or two digits, the script
will assume that it falls between 1950 and 2049. For example, 98 will
be automatically converted to 1998, and 1 will be automatically
converted to 2001.)

You can delete events from the database by calling the
script. You’ll be presented with a chronological list of *every* event
in the database. Simply checkmark the event(s) you wish to delete, and
click on the “delete” button.

To view calendars, just call the main script. When you first
visit, you’ll see a tabular (grid) calendar of the current month, unless
of course another view has been defined as the default. From that screen,
you can select any month you desire, and/or, if permitted, change the
display style.


The perpetual calendar routine I wrote for WebCal provides accurate
day/date correspondences for dates from 1601 to 2899 A.D. It is based
on the Gregorian calendar, so be aware that early correspondences may
not always be historically accurate. The Gregorian calendar was adopted
by the Italian states, Portugal and Spain in 1582, and by the Catholic
German states in 1583. However, it was not adopted by the Protestant
German states until 1699, by England and its colonies until 1752, by
Sweden until 1753, by Japan until 1873, by China until 1912, by the
Soviet Union until 1918, and by Greece until 1923.

This documentation assumes that you have at least a general familiarity
with setting up Perl scripts. If you need more specific assistance,
check with your system administrators, consult the WebScripts FAQs
(frequently-asked questions) file <>,
or ask on the WebScripts Forum <>.