Clayton wrote:
Nino Novak wrote:
On Tuesday 11 August 2009 14:17, Clayton wrote:

This is what I added:
...
application/vnd.oasis.opendocument.text
Don't you have to add the file extension too?
From the Wiki I still get the
Content-Type: text/plain header when trying to download e.g. the ODT from
File:DevelopersGuide_OOo3.1.0_04Extensions.odt

BTW, other document types then .text I did not find in the wiki.

OK, try again... I changed the MIME types to look like this:

application/vnd.oasis.opendocument.chart
application/vnd.oasis.opendocument.chart-template
application/vnd.oasis.opendocument.database     odb
application/vnd.oasis.opendocument.formula      odf
application/vnd.oasis.opendocument.formula-template
application/vnd.oasis.opendocument.graphics     odg
application/vnd.oasis.opendocument.graphics-template
application/vnd.oasis.opendocument.image
application/vnd.oasis.opendocument.image-template
application/vnd.oasis.opendocument.presentation odp
application/vnd.oasis.opendocument.presentation-template
application/vnd.oasis.opendocument.spreadsheet  ods
application/vnd.oasis.opendocument.spreadsheet-template
application/vnd.oasis.opendocument.text         odt
application/vnd.oasis.opendocument.text-master
application/vnd.oasis.opendocument.text-template
application/vnd.oasis.opendocument.text-web

I can add more MIME types/extensions if someone asks for them (I just
need to know what they are).  Some of these open doc MIME types do not
(yet) have extensions associated with them.

I've tested here a little, and it seems to be working OK with a few
browsers I've tested.

Suggest adding:
text-master odm
text-template ott
spreadsheet-template ots
presentation-template otp

An OOo Drawing Template is otg, which is probably graphics-template on your list. We might need any or all of these.
--
/tj/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@website.openoffice.org
For additional commands, e-mail: dev-h...@website.openoffice.org

Reply via email to