Alan Burlison wrote:
> 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.
> 

Looking at just the case of odp (for now)

The database says

  application/vnd.oasis.opendocument.presentation

and the link you sent (which is actually the info I used to set it up in 
the first place) says:

  application/vnd.oasis.opendocument.presentation

so it should work, yes?

btw - the second item

  application/x-vnd.oasis.opendocument.presentation

was an artifact of my testing and should no longer be assigned to any of 
the odp files.

Derek

> 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
> 


-- 
Derek Cicero
Program Manager
Solaris Kernel Group, Software Division

_______________________________________________
website-discuss mailing list
[email protected]

Reply via email to