3 ikiwiki-calendar - create calendar archive pages
7 ikiwiki-calendar [-f] your.setup [pagespec] [year]
11 `ikiwiki-calendar` creates pages that use the [[ikiwiki/directive/calendar]]
12 directive, allowing the archives to be browsed one month
13 at a time, with calendar-based navigation.
15 You must specify the setup file for your wiki. The pages will
16 be created inside its `srcdir`, beneath the `archivebase`
17 directory used by the calendar plugin (default "archives").
19 You will probably want to specify a [[ikiwiki/PageSpec]]
20 to control which pages are included on the calendars. The
21 default is all pages. To limit it to only posts in a blog,
22 use something like "posts/* and !*/Discussion".
24 It defaults to creating calendar pages for the current
25 year, as well as the previous year, and the next year.
26 If you specify a year, it will create pages for that year.
28 Existing pages will not be overwritten by this command by default.
29 Use the `-f` switch to force it to overwrite any existing pages.
33 While this command only needs to be run once a year to update
34 the archive pages for each new year, you are recommended to set up
35 a cron job to run it daily, at midnight. Then it will also update
36 the calendars to highlight the current day.
40 0 0 * * * ikiwiki-calendar ~/ikiwiki.setup "posts/* and !*/Discussion"
44 This command uses two [[template|wikitemplates]] to generate
45 the pages, `calendarmonth.tmpl` and `calendaryear.tmpl`.
49 Joey Hess <joey@ikiwiki.info>
51 Warning: this page is automatically made into ikiwiki-calendar's man page, edit with care