Re: help with uuencoded attachments

1996-11-05 11:20:16
I have a large archive of NNTP (MH) messages which I have exported to
HTML using MHonArc.  The NNTP archive is an INND archive running on a
Linux host.  My problem is this - most of my messages contain
attachments, and the majority are separated by a simple line like the

Begin 644 caper.doc


Begin 755 briefing.ppt

The NNTP clients (newswatcher and Agent) have not problem decoding these
attachments, by MHonArc doesnt recognize them as attachments at all.  

Mhonarc is MIME based and the attachments are not properly
encoded according to MIME.  What you can do is hook in your own
text/plain filter to look for uuencoded data within the body and
decode the data.  You can utilize the base46 library to handle
the decoding.

Also, some of these are posted in rather small messages, so the message
has many parts - the subject of the message will be:

{some subject text} - document.ext (0/5)


{some subject text} - document.ext (5/5)

I can think of no simple way to handle many parts across messages.
Mhonarc is not well suited for it.  One possibility is to create your
own text/plain filter that can cache parts.  Once the last part is
read, it can decode the parts together.  The problem is what to do
with the messages themselves.  Mhonarc does not have the ability for
a filter to suppress the listing of a message.  Ie.  A listing will
still be shown for each message containing a part.  What is desired
is to suppress all messages except the last which will contain a link
to the attachment.

Also, what does one do if not all parts exists.


<Prev in Thread] Current Thread [Next in Thread>