diff options
author | bremner <bremner@web> | 2009-08-08 16:48:00 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2009-08-08 16:48:00 -0400 |
commit | 255835660b91e601b250bffe5a00751767b43f87 (patch) | |
tree | 862cc5c6abd639410b632b3af4b45e686f9b8e06 /doc/plugins/contrib | |
parent | 52ee05feb7f136d0211732f7a7f93960d3938555 (diff) |
question (for joeyh?) about IkiWiki::refresh()
Diffstat (limited to 'doc/plugins/contrib')
-rw-r--r-- | doc/plugins/contrib/postal/discussion.mdwn | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/plugins/contrib/postal/discussion.mdwn b/doc/plugins/contrib/postal/discussion.mdwn new file mode 100644 index 000000000..90113eb41 --- /dev/null +++ b/doc/plugins/contrib/postal/discussion.mdwn @@ -0,0 +1,15 @@ +It seems like the filter 'postal-accept.pl' I wrote doesn't refresh thoroughly enough. When a comment is added it calls + + IkiWiki::add_depends($page,$comments_page); + +And then after adding the actual comment, it ends with + + IkiWiki::refresh(); + IkiWiki::saveindex(); + +Sure enough, the page being commented on is refreshed, but not any inline pages (e.g. tags pages, blog top level) that contain it. +Is there a way to recursively refresh? Or should it work that way by default. I guess it is some part of the api that I don't understand, +since I think not many people grub about in the internals of ikiwiki this way. +It would be nice to figure this out, doing a full rebuild every time I get a blog comment is not that fun. + +[[DavidBremner]] |