aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2012-02-21 13:10:25 -0400
committerJoey Hess <joey@kitenet.net>2012-02-21 13:10:25 -0400
commit498883cc1e82dcdbeb02f6f2776461668c312957 (patch)
treea8d64f693751fff8c0613bd17f55674c74035db9 /doc
parentb1968dbb24bbf9da41fce0cdaa64aa4495412c7c (diff)
downloadikiwiki-498883cc1e82dcdbeb02f6f2776461668c312957.tar
ikiwiki-498883cc1e82dcdbeb02f6f2776461668c312957.tar.gz
response
Diffstat (limited to 'doc')
-rw-r--r--doc/ikiwiki-calendar/discussion.mdwn13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/ikiwiki-calendar/discussion.mdwn b/doc/ikiwiki-calendar/discussion.mdwn
index fc80470fc..b64321008 100644
--- a/doc/ikiwiki-calendar/discussion.mdwn
+++ b/doc/ikiwiki-calendar/discussion.mdwn
@@ -21,3 +21,16 @@ Having done this, the only purpose of ikiwiki-calendar would be to re-generate t
Did I miss something? If I am right, I offer to write the necessary patch, copied and adapted from the tag plugin, to generate the pages `archive_base/year/month.mdwn` on the fly.
-- Spalax
+
+> Good spotting, `ikiwiki-calendar` predates the `add_autofile` API used to
+> autocreate tag pages and was bolted in as an easy way to create calendar
+> pages.
+>
+> It would be possible to do that inside the caneldar plugin now. Although
+> some command would still need to be run on a daily (or weekly, or
+> monthly, or yearly..) basis to have it wake up and make the new calendar
+> pages and update the displayed current day from calendar directives.
+>
+> That last is, arguably, the real point of running ikiwiki-calendar in
+> a cron job. Of course all it really does is run `ikiwiki -setup foo
+> -refresh`. --[[Joey]]