From a27f4a47ba0435233ed272e2541feab4e0868b32 Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 23 Oct 2007 00:02:53 +0000 Subject: * Add a calendar plugin, contributed by Manoj Srivastava. * Reformat calendar plugin to ikiwiki conventions. * The calendar plugin made *every* page depend on every other page, which seemed a wee tiny little bit overkill. Fixed the dependency calculations (I hope.) * Removed manual ctime statting code, and just have the calendar plugin use %pagectime. --- .../calendar_--_archive_browsing_via_a_calendar_frontend.mdwn | 4 +++- doc/todo/plugin_data_storage.mdwn | 8 ++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'doc/todo') diff --git a/doc/todo/calendar_--_archive_browsing_via_a_calendar_frontend.mdwn b/doc/todo/calendar_--_archive_browsing_via_a_calendar_frontend.mdwn index 6fd9fb1cf..caff54780 100644 --- a/doc/todo/calendar_--_archive_browsing_via_a_calendar_frontend.mdwn +++ b/doc/todo/calendar_--_archive_browsing_via_a_calendar_frontend.mdwn @@ -119,4 +119,6 @@ And that's all I've heard so far. Hoping I didn't miss another patch? >> I think I have solved the ""Need to look at all pages that match the spec"" issue; but the nightly rebuild to handle the current day changing still remain. I use cron. It is now, however, richly documented :) ---ManojSrivastava \ No newline at end of file +--ManojSrivastava + +> Finally reviewed and applied this. [[done]]! --[[Joey]] diff --git a/doc/todo/plugin_data_storage.mdwn b/doc/todo/plugin_data_storage.mdwn index 44888327e..7078a6ed3 100644 --- a/doc/todo/plugin_data_storage.mdwn +++ b/doc/todo/plugin_data_storage.mdwn @@ -58,3 +58,11 @@ If I do this, I might as well also: * Change the link= link= stuff to just links=link+link etc. * Change the delimiter from space to comma; commas are rare in index files, so less ugly escaped delimiters to deal with. + +--- + +The [[plugins/calendar]] plugin could use plugin data storage to record +which pages have a calendar for the current time. Then ensure they are +rebuilt at least once a day. Currently, it needs a cron job to rebuild +the *whole* wiki every day; with this enhancement, the cron job would only +rebuild the few pages that really need it. -- cgit v1.2.3