What is it ?
Calendar is a simple script to display a calendar on your Web page. You
can use this Script as SSI (Server Side Include) or Not...
System Requirements:
- Perl 4.0 or newer; you can get it at http://www.perl.com/
- A Unix web server, you must have access to add / execute CGI scripts.
- Use cal, present on may Unix system.
Download current version
Current version is v1.01, created 05/30/99, last modified 07/15/99.
Download source code / scripts and documentations :
Tar/Gzip archive : Calendar.tar.gz (0 Ko)
DOS Zip format : Calendar.zip (0 Ko)
What this archive contains ?
This archive comes with 4 differents files:
1) COPYING: Copyright informations (GPL).
2) README: This file.
3) LISEZMOI: French doc...
4) calendar.cgi: The Perl script.
Installation and Configuration:
It's a Perl script, so installation is pretty easy. You don't need to
compile anything.
Copy calendar.cgi in your /cgi-bin/ directory.
Make it executable, unix only (chmod a+x calendar.cgi)
Edit calendar.cgi, you will have to do some configuration:
Change #/usr/bin/perl, if it's necessary...
Change "Necessary Variables Section"
$CalCMD = "/usr/bin/cal"; # PATH of cal
If you want use this calendar as SSI (Server Side Include) make $SSI = 1;
$SSI = 1; # 0 NO SSI (print <HTML><BODY>...</HTML>)
# 1 SSI (print only Calandar)
$Border = 1; # Size of table Border
$Days = "Su Mo Tu We Th Fr Sa"; # En: Days.
#$Days = "Di Lu Ma Me Je Ve Sa"; # Fr: French days.
If you're English don't change It's...
How to run it ?
CGI:
calentar.cgi : print calendar of current month...
calendar.cgi?MM-YYYY : print calendar of the MM-YYYY (01-2000)
SSI:
Add this code in your web page:
<!--#include virtual="/cgi-bin/calendar.cgi"-->
or
<!--#include virtual="/cgi-bin/calendar.cgi?MM-YYYY"-->
Version history:
Version 1.01 07/15/99 - Update:
- Add French Comments / LISEZMOI.
- Add $Days.
Version 1.0 05/30/99 - Archive Created.
Copyright:
This software is copyright (C) 1999 Frederic TYNDIUK. It is distributed
under the terms of the GNU General Public License (GPL). Because it is licensed
free of charge, there is NO WARRANTY, it is provided AS IS. The author can not
be held liable for any damage that might arise from the use of this software.
Use it at your own risk.
See the file COPYING for more details (or http://www.gnu.org/).
Updates ?
Latest version and New Scripts can be found at:
http://www.ftls.org/en/
Contact:
Please feel free to contact me with any comments, suggestions, bug fixes
criticism, or just a happiness messages.
If you run into any problems while trying to configure these scripts
first read this file carefully, if you don't find any solution, send me a Mail.
E-Mail: tyndiuk@ftls.org
Web: http://www.ftls.org/
Frederic TYNDIUK