Summary: | Please add OOXML mime types | ||
---|---|---|---|
Product: | shared-mime-info | Reporter: | Götz Waschk <goetz.waschk> |
Component: | freedesktop.org.xml | Assignee: | Jonathan Blandford <jrb> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | enhancement | ||
Priority: | medium | CC: | fhimpe, mbarnes, nalimilan, pachoramos1 |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
add some of the OOXML mime types
Add generic icons for all OpenXML types updated patch |
Description
Götz Waschk
2008-01-03 02:21:22 UTC
Created attachment 13477 [details] [review] add some of the OOXML mime types Could you please some documentation about the mimetype names, and some details of extension/content? Thanks. I'm sorry, I don't have it. Read my simple patch, I have found the information with Google. Microsoft has some sample documents that are recognized with this patch, but I don't find them anymore :-( The Wikipedia page has some information about the file content: http://en.wikipedia.org/wiki/Office_Open_XML#File_format_and_structure I added .docx and to freedesktop.org.xml by copying the existing mime type for odt and changing it to .docx. Here's a site http://technet2.microsoft.com/Office/ja-JP/library/f88d06fb-c9a4-413c-a1d3- 40c97e340c5a1041.mspx?mfr=true with the Office 2007 document type definitions. (In reply to comment #5) > Here's a site > > http://technet2.microsoft.com/Office/ja-JP/library/f88d06fb-c9a4-413c-a1d3- > 40c97e340c5a1041.mspx?mfr=true > > with the Office 2007 document type definitions. That link doesn't seem to work. Works just fine here when putting removing the newline in the middle of the URL ;) While the posted patch contains the most important mime types, there are more of them. The list which can be found at http://www.webmasterworld.com/apache/3539138.htm seems more complete. Created attachment 19741 [details] [review] Add generic icons for all OpenXML types Attached is a simple patch that adds generic icons for all OpenXML types. This should fix missing icons on Linux desktops. I noticed several new 'esoteric' Microsoft mimetypes liste here: http://www.webmasterworld.com/apache/3539138.htm have not been added to freedesktop.org.xml. Wouldn't it be worth to do so? And BTW, calling these files "Word 2007 Document" is quite terrible for Microsoft :-p. While I'm no supporter of so-called OpenXML formats, wouldn't it be clearer for user to add to this description "(OOXML 1.0)" or something like that? As a sidenote, I noticed that Mozilla Firefox does not know how to open Word 2007 documents (on Ubuntu 8.10). Do you have an idea of where it gets its information from? Created attachment 19757 [details] [review] updated patch This merges the previous two patches. No news on that bug? The patch is here, only need to commit! We can't wait for 6 month before free desktops support this format: it's becoming standard for some administrations, so though it's horrible we really need proper icons. Thanks in advance... An Evolution user received a ".docx" attachment and wondered why Evolution couldn't open it directly. I promised Bastien I'd find out the MIME type: application/vnd.openxmlformats-officedocument.wordprocessingml.document Which is consistent with the information referenced here. Is there any particular reason we need to separate "macros-enabled" document types? Otherwise I'll merge the macros-disabled/macros-enabled ones together. Bastien: I don't know if there's a good reason for it, but this is what Microsoft says to do: http://technet.microsoft.com/ja-jp/library/cc179224.aspx http://blogs.msdn.com/vsofficedeveloper/pages/Office-2007-Open-XML-MIME-Types.aspx At least since these MIME types exist, we have to handle them separately I guess. (In reply to comment #15) > Bastien: I don't know if there's a good reason for it, but this is what > Microsoft says to do: > http://technet.microsoft.com/ja-jp/library/cc179224.aspx > http://blogs.msdn.com/vsofficedeveloper/pages/Office-2007-Open-XML-MIME-Types.aspx > > At least since these MIME types exist, we have to handle them separately I > guess. Reading http://technet.microsoft.com/en-us/library/cc179191.aspx (linked from http://en.wikipedia.org/wiki/Microsoft_Office_2007_file_extensions), I believe Microsoft thinks it will help with security. " Stores macro code for use with other Word documents. Does not always contain macro code, but is configured to support macro code storage. Word documents created from a macro-enabled template do not inherit the VBAProject part of the template. By default, documents are saved as .docx files even when they are created from a Office Word 2007 XML macro-enabled template. " No purpose. I've added the macros-enabled version of the mime-types as aliases of the normal ones, and added the globs too. * freedesktop.org.xml.in: Patch from Götz Waschk and Milan Bouchet-Valat to add Office 2007/OpenXML documents mime-types (Closes: #13904) * tests/list: * tests/sample.docx: * tests/sample.pptx: * tests/sample.xlsx: Add test files for the above |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.