Michael Monaghan wrote:
> Yes the mime.types file should have something like:
>
> type=application/vnd.sun.xml.impress exts=sxi,odp
The MIME types for attachments comes from the database, not the Apache
mime.types file (don't ask...). I've checked all the .odp attachments
and they are a mix of:
application/x-vnd.oasis.opendocument.presentation
application/vnd.oasis.opendocument.presentation
there are no attachments with the type=application/vnd.sun.xml.impress
MIME type.
The lookup table used for determining a file's MIME type from its
extension contains the following StarOffice/OpenOffice types:
+------------+---------------------------------------------------+----------------------------------------------------------+
| extensions | encoding |
description |
+------------+---------------------------------------------------+----------------------------------------------------------+
| ode | application/x-vnd.oasis.opendocument.presentation |
OpenOffice/StarOffice OpenDocument (Ver 2) Presentation |
| odp | application/vnd.oasis.opendocument.presentation |
OpenDocument Presentation |
| ods | application/vnd.oasis.opendocument.spreadsheet |
OpenOffice/StarOffice OpenDocument Spreadsheet |
| odw,odt | application/vnd.oasis.opendocument.text |
OpenOffice Writer File |
| std | application/vnd.sun.xml.draw.template | File
|
| sti | application/vnd.sun.xml.impress.template | Preso
Template |
| stw | application/vnd.sun.xml.writer.template |
Document Template |
| sxc | application/vnd.sun.xml.calc |
Spreadsheet |
| sxd | application/vnd.sun.xml.draw | File
|
| sxg | application/vnd.sun.xml.writer.global | File
|
| sxi | application/vnd.sun.xml.impress | Preso
|
| sxm | application/vnd.sun.xml.math | File
|
| sxw | application/vnd.sun.xml.writer |
Document |
+------------+---------------------------------------------------+----------------------------------------------------------+
Which looks both incomplete and incorrect. I believe the definitive
source of MIME types used by OpenOffice is
http://framework.openoffice.org/documentation/mimetypes/mimetypes.html
--
Alan Burlison
--
_______________________________________________
website-discuss mailing list
[email protected]