On 990722, at 21:26:59, Brian Salter-Duke wrote:
> On Thu, Jul 22, 1999 at 06:52:55AM -0400, David Thorburn-Gundlach wrote:
> > ...and then Alex Lane said...
> > %    What can I do to automatically convert encoded attachments 
> > % into files? In particular, many people send me MS Word files, and
> > 
> > As I understand the mailcap file, you specify the MIME type, and then
> > the program to "view" it, and then any options (like copiousoutput,
> > for instance).
> > 
> > What you want to do with your "viewer" is save the attachment as a
> > file.  So either make your viewer be a one-liner embedded in the
> > mailcap line, like
> > 
> >     application/msword; cat '%s' > /some/temp/file;
> I do not see where this gets you beyond saving directly from the
> attachment window. Am I being thick?

This may help: word -> html:

    http://www.gnu.org/~caolan/docs/MSWordView.html

-- 
David Ellement

Reply via email to