[Back] [Japanese Page]
In the package, there are xcalendar.cgi and xcalendar-j.cgi. The xcalendar-j.cgi shows a calendar in Japanese, and xcalendar.cgi shows in English. They are the same program by symbolic link, and xcalendar.cgi changes the language depending upon its own name.
xcalendar.cgi without arguments shows a calendar of the current month, and also shows a content of your notebook on this day if it exists. The link on '>' and '<' are to browse the next and previous month, respectively. The day printed with a link has a content on the day. If you follow this link of the day, you can browse its content.
But, If you want to browse your notebook of XCalendar, you have to execute the following procedure. In the directory ``~/public_html/private/'' in where this script is installed,
% cd ~/public_html/privateIf you can not permit that your personal notebook is readable for another person, you also should write .htaccess file of this directory appropriately. If you consider this permission by .htaccess of your web server an incomplete prescription, you should not execute above mentioned procedure and you'd better to abandon reading a notebook of XCalendar via HTTP.
% ls
xcalendar-j.cgi@ xcalendar.cgi*
% ln -s ~/Calendar .
% chmod go+rx ~/Calendar
[5/12/2000] Since version 0.999, xcalendar.cgi supports such mobile access technologies as following types:
sub is_hdml { if ($ENV{"HTTP_USER_AGENT"} =~ /^UP.Browser/i) { : !0; } else { 0; } }
You can print a calendar with your own holiday data on various types of papers. About holiday data, see also xcalendar(1) and my patch for personal holiday data for XCalendar. I use the output of xcalendar.pl for calendar in my pocket notebook. In Japan, bible-size, mini-size and pocket-size papers are popularly used for pocketbooks.
For usage, please see following examples of calendars of the year 2000. For more details, please read `-help' of xcalendar.pl.
Year 2000, Letter size, Color
% xcalendar.pl -paper=letter -color 2000 | lpYear 2000, Legal size, Landscape, Monochrome
% xcalendar.pl -paper=legal -landscape -mono 2000 | lpYear 2000, Pocket size [76x126(mm)], Color
% xcalendar.pl -paper=pocket -color 2000 | lpYear 2000, Saddle-type fold of Bible size [95x170(mm)], Color, lines along which to cut off
% xcalendar.pl -paper=bible2 -fold=saddle -cutline -color 2000 | lpYear 2000, Saddle-type fold of Mini size [80x126(mm)], Monochrome, lines along which to cut off and to fold
% xcalendar.pl -paper=mini2 -fold=saddle -cutline -foldline -mono 2000 | lp
1999 Calendar for our office