]> sipb.mit.edu Git - ikiwiki.git/commitdiff
(no commit message)
authorspalax <spalax@web>
Sun, 4 Mar 2012 00:25:38 +0000 (20:25 -0400)
committeradmin <admin@branchable.com>
Sun, 4 Mar 2012 00:25:38 +0000 (20:25 -0400)
doc/todo/Javascript_calendar.mdwn [new file with mode: 0644]

diff --git a/doc/todo/Javascript_calendar.mdwn b/doc/todo/Javascript_calendar.mdwn
new file mode 100644 (file)
index 0000000..067331a
--- /dev/null
@@ -0,0 +1,27 @@
+[[! meta title="Javascript equivalent of plugin 'calendar'"]]
+[[!tag patch]]
+
+Hello,
+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.
+
+Here are the differences compared to the [[calendar|plugins/calendar]] plugin.
+
+* Pros
+  * No need to rebuild the page containing the calendar each time day changes, or
+    a page (indexed by the calendar) is added, changed or deleted. This is
+    particularly useful if you want to have this calendar in the sidebar.
+  * Smooth navigation among months.
+* Neutral
+  * Most of options are defined in Ikiwiki's setup files instead of the options
+    of the directive.
+* Cons
+  * As a consequence, every calendar of the wiki must index the same set of pages.
+  * Javascript :( .
+
+You can see this plugin in action on [[our website|http://www.gresille.org]].
+
+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).
+
+    git clone http://spalax.homedns.org/git/ikiwiki
+
+-- Spalax