summaryrefslogtreecommitdiff
path: root/doc/forum
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-07-31 15:55:31 -0400
committerJoey Hess <joey@kitenet.net>2010-07-31 15:55:31 -0400
commitb766ff004489467fb5a076f90f05bc2ac5dc8acf (patch)
tree5a23303593c042b10775dce1286228cbc3007c79 /doc/forum
parentfee00fdb7a4ebb52e90f739cca33def70497620e (diff)
parent543bc7af8be315e44ccca575b788e566bc122db2 (diff)
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Diffstat (limited to 'doc/forum')
-rw-r--r--doc/forum/report_pagination.mdwn11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/forum/report_pagination.mdwn b/doc/forum/report_pagination.mdwn
new file mode 100644
index 000000000..d609fd502
--- /dev/null
+++ b/doc/forum/report_pagination.mdwn
@@ -0,0 +1,11 @@
+I am thinking of adding pagination to the [[plugins/contrib/report]] plugin, but I'm not sure which is the best approach to take. (By "pagination" I mean breaking up a report into multiple pages with N entries per page.)
+
+Approaches:
+
+1. generate additional HTML files on the fly which are placed in the sub-directory for the page the report is on. These are not "pages", they are not under revision control, they aren't in the %pagesources hash etc. But using the `will_render` mechanism assures that they will be removed when they are no longer needed.
+
+2. create new pages which each have a report directive which shows a subset of the full result; add them to revision control, treat them as full pages. Problems with this are: (a) trying to figure out when to create these new pages and when not to, (b) whether or not these pages can be deleted automatically.
+
+3. some other approach I haven't thought of.
+
+I'm afraid that whatever approach I take, it will end up being a kludge.