Re: What to use for displaying MIME?
Christian Ebert <[email protected]>
| Newsgroups | gmane.network.slrn.user |
|---|---|
| Organization | Black Trash Productions <http://www.blacktrash.org/> |
| Message-ID | <[email protected]> |
* Grant Edwards on Thursday, March 29, 2007 at 18:42:09 +0000: > So I wrote a more capable replacement that handles nested > parts, multipart/signed (doesn't actually verify sig), and will > render html using w3m if it needs to. And it's only 60 lines > of code. > > Python rules. ;) > > If you'd like to try it: > > http://www.visi.com/~grante/unmime.py You can also try out the Python module from <http://www.blacktrash.org/cgi-bin/mercurial/SlrnMime/> (the S-Lang part works only with S-Lang 2 yet; if I find the time, I'll try and make a backwards compatible version, but the Python stuff can be used w/o that restriction) It has more code but handles html via python, base64 text etc., and probably is a bit better in displaying non-ascii charsets ;) thanks to the use of the email module. c -- _B A U S T E L L E N_ lesen! --->> <http://www.blacktrash.org/baustellen.html> ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV