]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/plugins/contrib/postal.mdwn
add contrib plugin page for postal plugin
[git.ikiwiki.info.git] / doc / plugins / contrib / postal.mdwn
1 [[!template id=plugin name=postal author="[[DavidBremner]]"]]
2 [[!tag type/useful]]
4 The `postal` plugin allows users to send mail to
5 a special address to comment on a page. It uses the [[mailbox]]
6 plugin to display their comments in the wiki.
8 This plugin is not in ikiwiki yet, but can be downloaded
9 from <http://pivot.cs.unb.ca/git/ikipostal.git>
11 Details:
13   * Adds a mailto: url to each page matching some pagespec
14     (currently every page gets a comment footer)
16   * This mailto url goes to an address identifying the page  (something like
17     user-iki-blog~I\_hate\_markdown@host.fqdn.tld).
18     [more details](http://www.cs.unb.ca/~bremner/blog/posts/encoding)         
19    
20   * on the mail receiving end, these messages are either deleted, or ran through
21     a filter to be turned into blog posts.  As a first step, I have
22 [written](http://pivot.cs.unb.ca/git/?p=ikipostal.git;a=blob_plain;f=filters/postal-filer.pl;hb=010357a08e9)
23 a filter that decodes the address and writes the message into an appropriate 
24 mailbox. I would be interested in any ideas people have about security.
26   * the same plugin can check for comments on a particular page next time the wiki 
27     is generated, and add a link. (more or less done)
28     > If the filter just checks in the posts into revision control, the
29     > post-commit hook would handle updating the wiki to include those
30     > posts as they come in. --[[Joey]]
31   * work in progress can be 
33    - [cloned](http://pivot.cs.unb.ca/git/ikipostal.git), or 
34    - [browsed](http://pivot.cs.unb.ca/git/?p=ikipostal.git;a=summary)
35   
36 The current version of this plugin is now running on my home page. See for example
37 [a recent post in my blog](http://www.cs.unb.ca/~bremner/blog/posts/can-i-haz-a-distributed-rss/).  
38 Unfortunately although the [[mailbox|todo/mbox]] renderer supports threading, I haven't had 
39 a chance to implement comments on comments yet. --[[DavidBremner]]