]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/comment_by_mail.mdwn
* RC2 color plugin
[ikiwiki.git] / doc / todo / comment_by_mail.mdwn
1 I would like to allow comments on ikiwiki pages without CGI.
2 I have in mind something like
3
4   * Use a pagetemplate hook  
5     in a plugin (DONE)
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-blog~I\_hate\_markdown@host.fqdn.tld).  (DONE) 
10     [more details](http://www.cs.unb.ca/~bremner/blog/posts/encoding)         
11    
12   * on the mail receiving end, these messages are either deleted, or ran through
13     a filter to be turned into blog posts.  As a first step, I have
14 [written](http://pivot.cs.unb.ca/git/?p=ikipostal.git;a=blob_plain;f=filters/postal-filer.pl;hb=010357a08e9)
15 a filter that decodes the address and writes the message into an appropriate 
16 mailbox. I would be interested in any ideas people have about security.
17
18   * the same plugin can check for comments on a particular page next time the wiki 
19     is generated, and add a link. (more or less done)
20     > If the filter just checks in the posts into revision control, the
21     > post-commit hook would handle updating the wiki to include those
22     > posts as they come in. --[[Joey]]
23   * work in progress can be 
24
25    - [cloned](http://pivot.cs.unb.ca/git/ikiperl.git), or 
26    - [browsed](http://pivot.cs.unb.ca/git/?p=ikipostal.git;a=summary)
27   
28
29 Any comments? Write them here or send them to [[DavidBremner]]
30
31 > I don't want to derail this with too much blue-skying, but I was thinking
32 > earlier that it would be nice if ikiwiki could do something sensible with
33 > mailbox files, such as turning them into a (threaded?) blog display.
34
35 > One reason I was thinking about that was just that it would be nice to 
36 > be able to use ikiwiki for mailing list archives. But another reason was
37 > that it would be nice to solve the problem described in
38 > [[discussion_page_as_blog]]. For that you really want a threaded system,
39 > and mailbox file formats already have threading.
40
41 > If that were done, it would tie into what you're working on in an
42 > interesting way, since the incoming mail would only need to be committed to
43 > the appropriate mailbox file, with ikiwiki then running to process it.
44 > --[[Joey]]
45 >> It is an interesting idea.  I like that it uses an arbitrary MUA 
46 >> as a "moderation" interface.  After I killed a debian BTS entry with 
47 >> clumsy pseudoheader editing I think any 
48 >> reference info should also be encoded into the address.
49 >>> Although it is in python, just from reading the Debian ITP, it 
50 >>> looks like 
51 >>> [mnemosyne-blog](http://www.red-bean.com/~decklin/mnemosyne/)  
52 >>> might be an interesting backend to use or at least steal ideas 
53 >>> from :-)  --[[DavidBremner]]