The magic can be: mimetypeapplication/vnd.oasis.opendocument.text Or:
application/vnd.oasis.opendocument.text What always apears at the first line of the archive. The OASIS spec always uses the 'store' method to pack a file called `mimetype'. `mimetype' must have the correct MIME type. This applies to Calc, Draw and Base documents too. -- Marco de Freitas, NBR para a Internet já! Porque meu navegador não é penico. http://www.softwarelivre.org/news/2472 http://www.w3.org/2003/03/Translations/byLanguage?language=pt-br http://www.petitiononline.com/we6k7496/petition.html http://www.dicas-l.unicamp.br/dicas-l/browsers.php Michael Piefel escreveu: > retitle 383409 ODT files not recognized (reported as ZIP instead) > severity 383409 minor > thanks > > Am Donnerstag, den 17.08.2006, 01:01 -0300 schrieb Marco: >> archive.odt: application/x-zip >> The correct type is: application/vnd.oasis.opendocument.text > > This report is not useful without a patch or better magic that is able > to detect this kind of file. This kind of problem will pop up more often > in the future. > > Note that file’s output is not incorrect at all, as the file truly is a > ZIP file. However, I agree that it would be great if ODT could be > detected directly. > > Bye, > Mike >
magic.odt
Description: application/vnd.oasis.opendocument.text

