X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/cbcf52064b893d0078a339963b994edf6b0fb328..c22f316ae153af4dba1a8a09ee743807d636bace:/doc/todo/mbox.mdwn?ds=sidebyside diff --git a/doc/todo/mbox.mdwn b/doc/todo/mbox.mdwn index df7437a65..a6af0c3c5 100644 --- a/doc/todo/mbox.mdwn +++ b/doc/todo/mbox.mdwn @@ -2,10 +2,17 @@ I'd like to be able to drop an unmodified RFC2822 email message into ikiwiki, an > We're discussing doing just that (well, whole mailboxes, really) over in > [[comment_by_mail]] --[[Joey]] ->> If you like to read code, you can have a gander at the ->> [mailbox](http://pivot.cs.unb.ca/git/?p=ikimailbox.git;a=summary) ->> plugin. At the moment, it reads all of the messages in a maildir and passes them through ->> a template of your choice. Kinda acts like `cat` at the moment because none of the ->> css is defined yet. Next missions are threading (Email::Thread?) and filtering of headers. ->> also, do something to preserve the bodies of the mail messages. Maybe with Text::Quoted. Or just < pre> :-) ->> To see the (unsurprising) syntax, look at [a trivial example markdown file](http://pivot.cs.unb.ca/git/?p=ikimailbox.git;a=blob;f=test/in/index.mdwn;hb=HEAD) +>> The +>> [[plugins/contrib/mailbox]] +>> plugin is roughly feature complete at this point. It can read mbox, maildir, and +>> MH folders, does threading, and deals with MIME (now with +>> pagespec based sanity checking). No doubt lots of things could be +>> be improved, and it hasn't been tested a great deal. Formatting of the body could be attempted +>> as well. -- [[DavidBremner]] +>>> One hitch I noticed was that it is not currently possible to treat a maildir +>>> or an MH directory as a page (i.e. just call it foo.mh and have it transformed +>>> to page foo). I'm not sure if this is possible and worthwhile to fix. +>> It is certainly workable +>>> to use a \[[!mailbox ]] directive. -- [[DavidBremner]] + +[[done]]