Jean Forget > Date-Convert-French_Rev-0.05 > prt_cal

Download:
Date-Convert-French_Rev-0.05.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

prt_cal -- print a French Revolutionary calendar

SYNOPSIS ^

  prt_cal [--lang=I<language>] [--kitten=I<file>] year

DESCRIPTION ^

This program prints a calendar, using the French Revolutionary calendar. It is not limited to the historical period when this calendar was in use, you can ask for any year after its beginning. For example, you can print the calendar for the year 211, which corresponds to 2002-2003 in the Gregorian calendar. The output is in HTML, and contains brief indications for which Gregorian date corresponds to each French Revolutionary date.

OPTIONS ^

language

Some values are language dependant: Gregorian weekday initials, Gregorian month abbreviations and a few titles. You can select which language you will use. Known languages are:

en

English (default)

fr

French

kitten

In France, traditionnally, the postal service sells calendars for the next year during November / December. These calendars usually have the picture of one or more kittens in a basket, or a mountainous landscape. So, you can do the same with this program, by specifying a JPEG or GIF URL, which contains the photo of kittens or a picture of mountains. Don't even think of using anything else, especially pictures involving scantily clad ladies.

You can try

  http://images.google.com/images?hl=en&lr=&ie=ISO-8859-1&output=search&q=kitten+basket
  http://images.google.com/images?hl=en&lr=&ie=ISO-8859-1&output=search&q=mountains

but do not even think about

  http://images.google.com/images?q=Delacroix+libert%C3%A9+guidant+peuple&hl=en&lr=&ie=UTF-8&output=search

PARAMETERS ^

There is a single parameter, the year, according to the French Revolutionary calendar. This parameter is numeric (Roman number not permitted).

KNOWN BUGS ^

If given several years, the program prints all the requested calendars on standard output as a single stream. There are HTML delimiters for each, but they are concatenated.

AUTHOR ^

Jean Forget <JFORGET@cpan.org>

syntax highlighting: