Re: What to use for displaying MIME?

Grant Edwards <[email protected]>
Newsgroups gmane.network.slrn.user
Message-ID <[email protected]>
On 2007-03-29, Grant Edwards <[email protected]> wrote:
> On 2007-03-27, Grant Edwards <[email protected]> wrote:
>
>> Has anybody come up with anything usable for displayign MIME
>> formatted postings?
>
>>   demime
>
> demime is working fairly well, except for one problem.  It
> discards signed messages.

It also discards other things as well as not handling nested
parts.  I thought about trying to fix it, it but it's almost
3000 lines of Perl, and Perl makes me bleed from the ears.

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

-- 
Grant Edwards                   grante             Yow!  Hey, LOOK!! A pair of
                                  at               SIZE 9 CAPRI PANTS!! They
                               visi.com            probably belong to SAMMY
                                                   DAVIS, JR.!!


-------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.