]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/Javascript_calendar.mdwn
(no commit message)
[ikiwiki.git] / doc / todo / Javascript_calendar.mdwn
1 [[!meta title="Javascript equivalent of plugin 'calendar'"]]
2 [[!tag patch]]
3
4 Hello,
5 we ([[GrĂ©sille|http://www.gresille.org]]) have a calendar (built using the [[calendar|plugins/calendar]] plugin) in the sidebar of our website. This caused the whole website to be rebuilded each night, and we did not like it. So I wrote a javascript equivalent of the calendar plugin.
6
7 Here are the differences compared to the [[calendar|plugins/calendar]] plugin.
8
9 * Pros
10   * No need to rebuild the page containing the calendar each time day changes, or
11     a page (indexed by the calendar) is added, changed or deleted. This is
12     particularly useful if you want to have this calendar in the sidebar.
13   * Handles the case where several pages appear the same day: a popup appear to let user choose the day he wants.
14   * Smooth navigation among months.
15 * Neutral
16   * Most of options are defined in Ikiwiki's setup files instead of the options
17     of the directive.
18 * Cons
19   * As a consequence, every calendar of the wiki must index the same set of pages.
20   * Javascript :( .
21
22 You can see this plugin in action on [[our website|http://www.gresille.org]]. To see what happens when several pages happens on the same day, check the 15th of March 2012.
23
24 I do not know how contributions are processed, but if you want to include this plugin in Ikiwiki, I made a copy of Ikiwiki repository, with this new plugin (as well as the documentation for the plugin and the directive).
25
26     git clone http://spalax.homedns.org/git/ikiwiki
27
28 -- Spalax