Nigel Metheringham

Email: <nigel AT SPAMFREE pobox DOT com>

IndentTable rework

Modified Calendar Processor

OK, here is a first cut at a Calendar which pushes wiki text out with markup for table formatting. It works passably well as a first attempt (for a python novice). Calendar.py

Input format is as the previous form, except that anything within the input line will be treated as normal wiki input - so links and markup can be added, within the constraint of a single line of input text.

Issues:-

Comments and suggestions gratefully received.

Future Plans/Ideas

Comments

One of the things i like about the MonthCalendar is that each event is a sub-page. I see that you are really talking about the Calendar macro, not the Month Cal, but i'd love to see output like this from the MonthCalendar! JosYule

You could use DateUtil by Gustavo Niemeyer to generalise the date input format.

Sample Input

OPTION:bodyBGColor=#DDDDDD
OPTION:captionBGColor=#CCCCFF
OPTION:firstWeekDay=6
20040707: Calendar 1.0 released
20040701: First of the month
20040731: End of the month
20040730: Link to FrontPage

Sample (Simulated) Output

July 2004

Sunday

Monday

Tuesday

Wednesday

Thursday

Friday

Saturday

 

 

 

 

1

2

3





First of the month



4

5

6

7

8

9

10




Calendar 1.0 released




11

12

13

14

15

16

17








18

19

20

21

22

23

24








25

26

27

28

29

30

31






Link to FrontPage

End of the month



Apache & Mod Python rework

/ApacheWithModPython

Notes to Nigel


CategoryHomepage

MoinMoin: NigelMetheringham (last edited 2007-10-29 19:10:04 by localhost)