summaryrefslogtreecommitdiff
path: root/doc/todo/dynamic_rootpage.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-10-29 13:37:45 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-10-29 13:37:45 -0400
commit3182cc6710ae85505aba9c670f434aad06d70e1c (patch)
treea063d5645c124735790bd603d62ea35e1c2fa4ee /doc/todo/dynamic_rootpage.mdwn
parent309974dfa1dd16add0e042e2218e86c3d32f5a3e (diff)
parentf4f099e88e287e12f99c92950af5f8143dc4a8b8 (diff)
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Diffstat (limited to 'doc/todo/dynamic_rootpage.mdwn')
-rw-r--r--doc/todo/dynamic_rootpage.mdwn7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/todo/dynamic_rootpage.mdwn b/doc/todo/dynamic_rootpage.mdwn
index fa0e23254..5cf80b0a8 100644
--- a/doc/todo/dynamic_rootpage.mdwn
+++ b/doc/todo/dynamic_rootpage.mdwn
@@ -23,3 +23,10 @@ What's your opinion, Joey? I hope it's also useful for another ikiwiki lovers :)
>>> Seems like a job for good ol' string interpolation. rootpage="post/$current_year/$current_month/$current_day"
>>> Ikiwiki could provide some vars, and it would be nice to write plugins to also provide vars. Sort of like templates.
>>> Does that feel OK? --[[sabr]]
+
+> I want the exact same thing. My compromise was to create a `datedblog` module which overrides `inline`'s `sessioncgi` hook
+> with something that sets the new page name to `%Y-%m-%d.$page` and sets up a meta directive at the beginning of
+> the content, with the title you wanted. Now if you use the `datedblog` module, you get dated blog entries. But I'd
+> like to have traditional `inline` functionality too. This would work great if there were a way to change the `do`
+> parameter in the `blogpost` template's form; if I could change it to `datedblog` instead of `blog` then I could hook
+> my datedblog module in nicely, without having to override anything. What would be the right way to do that? --[[neale]]