1 I would like to allow comments on ikiwiki pages without CGI.
2 I have in mind something like
4 * Use a pagetemplate hook
6 * add a mailto: url to each page matching some pagespec
7 (currently every page gets a comment footer)
8 * this mailto url goes to an address identifying the page (something like
9 user-iki-FE653b@host.fqdn.tld). (DONE)
10 > I wonder if it would be more or less natural to put an encoded form
11 > of the page name in the email address? I'm thinking about something
12 > like `wikiname+index@host` or `wikiname+todo+comment_by_mail@host`.
13 > The basic transformation would be to call `titlepage($page)` (in the
14 > C locale), followed by replacing "/" with "+" (since "/" is not
15 > valid in mails). --[[Joey]]
16 * on the mail receiving end, these messages are either deleted, or ran through
17 a filter to be turned into blog posts.
19 - I'm thinking about how the filter should work. Within a
20 mail client, or as a batch tool to scan a mailbox? How to interact with version control, if at all?
22 * the same plugin can check for comments on a particular page next time the wiki
23 is generated, and add a link. (more or less done)
24 > If the filter just checks in the posts into revision control, the
25 > post-commit hook would haldle updating the wiki to include those
26 > posts as they come in. --[[Joey]]
27 * work in progress can be
29 - [cloned](http://pivot.cs.unb.ca/git/ikiperl.git), or
30 - [browsed](http://pivot.cs.unb.ca/git/?p=ikipostal.git;a=summary)
33 Any comments? Write them here or send them to [[DavidBremner]]