X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/cbcf52064b893d0078a339963b994edf6b0fb328..5867c415eee1500f02ccd244c802c9c10a1dfbc2:/doc/todo/mbox.mdwn?ds=sidebyside diff --git a/doc/todo/mbox.mdwn b/doc/todo/mbox.mdwn index df7437a65..8394ce628 100644 --- a/doc/todo/mbox.mdwn +++ b/doc/todo/mbox.mdwn @@ -2,10 +2,12 @@ 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 +>> 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) +>> plugin is roughly feature complete at this point. It can read mbox, maildir, and +>> MH folders, does threading, and deals with MIME. Well, blindly decodes and copies +>> to ikiwiki all of +>> the MIME parts. Some sanity checking is clearly needed. It looks like attachement.pm has some code +>> that may be helpful. 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]]