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