cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <bdelacre...@codeconsult.ch>
Subject Re: FYI: SlopGenerator added (as the unstable "slop" block)
Date Thu, 07 Aug 2003 14:41:50 GMT
Le Jeudi, 7 aoû 2003, à 16:22 Europe/Zurich, Upayavira a écrit :

> Can your SlopGenerator handle multiple mail messages per file? ...

Not as is, you'd need to recognize the "From" line that begins each 
message to separate them, but it should be fairly easy to implement.

If you want to implement this, I'd suggest creating a SlopRfc822Parser 
that implements SlopParser, and instantiate this instead of 
SimpleSlopParser based on a sitemap parameter ("mode=rfc822" or 
something). Actually this would be more an "mbox format" mode than just 
rfc822.

-Bertrand

Mime
View raw message