WebCal allows you to create and maintain an interactive events
calendar or scheduling system on your Web site.  The script can create
calendars for any desired month from 1601 to 2899 A.D.; events to be
displayed are stored in an easily-maintained data file.  The data file
can include singular, weekly, monthly and annual events, and those
events can be linked to outside URLs for additional information.
Calendars can be viewed in several different table grid formats or
as simple text listings.

The files that you need are as follows:

webcal.pl:  The script which allows users to view your calendars.

webcal.add.pl:  The script which allows you to add new events to your
calendar database.

webcal.delete.pl:  The script which allows you to delete entries from
your calendar database.  (The two admin functions are contained in
separate scripts so that you may, if you like, easily allow users to
add events to your calendar without also allowing them access to the
delete functions.)

webcal.config.pl:  The file containing the configuration variables used
by all of the above scripts.

data.astro.txt, data.holiday.txt and data.jewish.txt:  Example calendar
databases, listing astronomical events (equinoxes, solstices, etc.),
major US holidays and celebrations, and major Jewish holidays and
celebrations, for the years 1995 through 2005.


Setting up WebCal is quite easy.  Make sure that the first line of each
of the scripts points correctly to the location of Perl on your system,
that they are all set world-executable (“chmod a+x <scriptname>”), and
that the “require” line near the top of each one points correctly to
your configuration file.  (You may want to put the admin scripts in a
password-protected directory.)  Make sure, as well, that your data file
is set world-writable (“chmod a+w <filename”).

The variables in the configuration file are as follows:

$cgiurl:  The URL of the main calendar display script.
$addcgiurl:  The URL of the “add” script.
$deletecgiurl:  The URL of the “delete” script.