mhonarc-users

Re: ?? MIMEFILTER for OpenOffice.org 1.0 ??

2002-08-22 12:15:58
Thanks to all!!

http://framework.openoffice.org/documentation/mimetypes/mimetypes.html
contains the MIME headers that OpenOffice.org is using.

I was able to get mhexternal.pl to handle attachments that used these
headers by adding these entries to my MHonArc run control file:

<MIMEFilters>
application/vnd.stardivision.writer; m2h_external::filter; mhexternal.pl
application/vnd.stardivision.writer-global; m2h_external::filter; mhexternal.pl
application/vnd.stardivision.calc; m2h_external::filter; mhexternal.pl
application/vnd.stardivision.draw; m2h_external::filter; mhexternal.pl
application/vnd.stardivision.impress; m2h_external::filter; mhexternal.pl
application/vnd.stardivision.impress-packed; m2h_external::filter; mhexternal.pl
application/vnd.stardivision.math; m2h_external::filter; mhexternal.pl
application/vnd.stardivision.chart; m2h_external::filter; mhexternal.pl
application/vnd.stardivision.mail; m2h_external::filter; mhexternal.pl
application/vnd.sun.xml.writer; m2h_external::filter; mhexternal.pl
application/vnd.sun.xml.writer.template; m2h_external::filter; mhexternal.pl
application/vnd.sun.xml.calc; m2h_external::filter; mhexternal.pl
application/vnd.sun.xml.calc.template; m2h_external::filter; mhexternal.pl
application/vnd.sun.xml.draw; m2h_external::filter; mhexternal.pl
application/vnd.sun.xml.draw.template; m2h_external::filter; mhexternal.pl
application/vnd.sun.xml.impress; m2h_external::filter; mhexternal.pl
application/vnd.sun.xml.impress.template; m2h_external::filter; mhexternal.pl
application/vnd.sun.xml.writer.global; m2h_external::filter; mhexternal.pl
application/vnd.sun.xml.math; m2h_external::filter; mhexternal.pl
</MIMEFilters>
<MIMEArgs>
application/vnd.stardivision.writer;  type="StarWriter document" forceattach 
ext=sdw
application/vnd.stardivision.writer-global;  type="StarWriter global document" 
forceattach ext=sgl
application/vnd.stardivision.calc;  type="StarCalc spreadsheet" forceattach 
ext=sdc
application/vnd.stardivision.draw;  type="StarDraw document" forceattach ext=sda
application/vnd.stardivision.impress;  type="StarImpress presentation" 
forceattach ext=sdd
application/vnd.stardivision.impress-packed;  type="StarImpress packed file" 
forceattach ext=sdp
application/vnd.stardivision.math;  type="StarMath document" forceattach ext=smf
application/vnd.stardivision.chart;  type="StarChart document" forceattach 
ext=sds
application/vnd.stardivision.mail;  type="StarMail mail file" forceattach 
ext=smd
application/vnd.sun.xml.writer;  type="OpenOffice Writer document" forceattach 
ext=sxw
application/vnd.sun.xml.writer.template;  type="OpenOffice Write template" 
forceattach ext=stw
application/vnd.sun.xml.calc;  type="OpenOffice Calc spreadsheet" forceattach 
ext=sxc
application/vnd.sun.xml.calc.template;  type="OpenOffice Calc template" 
forceattach ext=stc
application/vnd.sun.xml.draw;  type="OpenOffice Draw document" forceattach 
ext=sxd
application/vnd.sun.xml.draw.template;  type="OpenOffice Draw Template" 
forceattach ext=std
application/vnd.sun.xml.impress;  type="OpenOffice Impress presentation" 
forceattach ext=sxi
application/vnd.sun.xml.impress.template;  type="OpenOffice Impress template" 
forceattach ext=sti
application/vnd.sun.xml.writer.global;  type="OpenOffice Writer global 
document" 
forceattach ext=sxg
application/vnd.sun.xml.math;  type="OpenOffice Math documents" forceattach 
ext=sxm
</MIMEArgs>


X-Envelope-From: earl(_at_)earlhood(_dot_)com
X-Envelope-To: <mhonarc-users(_at_)mhonarc(_dot_)org>
X-Authentication-Warning: gator.earlhood.com: ehood owned process doing -bs
To: mhonarc-users(_at_)mhonarc(_dot_)org
Subject: Re: ?? MIMEFILTER for OpenOffice.org 1.0 ??
From: Earl Hood <earl(_at_)earlhood(_dot_)com>
Date: Thu, 22 Aug 2002 10:45:55 -0500
X-Spam-Status: No, hits=-2.5 required=5.0 
tests=IN_REP_TO,X_AUTH_WARNING,SUBJ_ENDS_IN_Q_MARK, SUBJ_HAS_Q_MARK,AWL 
version=2.31
X-Spam-Level: 

On August 21, 2002 at 22:02, "John R. Burns - Knowledge Broker - SE Programs 
Office" wrote:

I'm going to experiment with

<MIMEFilters>
application/vnd.sun.xml.writer; m2h_external::filter type="OpenOffice" forcea
tta
ch ext=sxw; mhexternal.pl
</MIMEFilters>

This will not work.  You need to try:

<MIMEFilters>
application/vnd.sun.xml.writer; m2h_external::filter; mhexternal.pl
</MIMEFilters>

<MIMEArgs>
application/vnd.sun.xml.writer; type="OpenOffice" forceattach ext=sxw
</MIMEArgs>

Arguments to filters are registered via the MIMEArgs resource.

--ewh

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-USERS


---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-USERS

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