Bug 12989

Summary: MIME type for MS Works document
Product: shared-mime-info Reporter: Petr Mladek <pmladek>
Component: freedesktop.org.xmlAssignee: Jonathan Blandford <jrb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: patch for freedesktop.org.xml.in
Microsoft Works Word Processor test document

Description Petr Mladek 2007-10-29 07:44:55 UTC
OpenOffice.org is going to include import filter for MS Works documents. The Word documents are already partly supported by the Go-oo build, see http://go-oo.org/

Could you please add the MIME type definition to the system?

My proposal is:

  <mime-type type="application/vnd.ms-works">
    <comment>Microsoft Works document</comment>
    <glob pattern="*.wcm"/>
    <glob pattern="*.wdb"/>
    <glob pattern="*.wks"/>
    <glob pattern="*.wps"/>
    <glob pattern="*.wp"/>
  </mime-type>

You might see the following pages for more details:
http://www.w3schools.com/media/media_mimeref.asp
http://www.emu.edu.tr/english/facilitiesservices/computercenter/bookslib/Microsoft%20Works%204.5%206-in-1/apa/apa.htm

I do not like that there is used the same MIME for various types of documents (word, spreadsheet, database) but...
Comment 1 Bastien Nocera 2008-04-10 02:14:53 UTC
Isn't this word perfect files?
    <glob pattern="*.wp"/>

The rest looks alright. Could you please provide a test file, and give a patch against shared-mime-info?
Comment 2 Pino Toscano 2008-04-21 07:01:54 UTC
Created attachment 16074 [details] [review]
patch for freedesktop.org.xml.in

Patch without the *.wp glob (ambiguous).

Now, only a testcase is missing..
Comment 3 Petr Mladek 2008-04-21 07:41:36 UTC
Created attachment 16075 [details]
Microsoft Works Word Processor test document

More test documents can be found in the libwps project svn, see http://libwps.svn.sourceforge.net/viewvc/libwps/trunk/reference/
Comment 4 Bastien Nocera 2008-04-21 07:53:59 UTC
* freedesktop.org.xml.in: Add mime-type for MS Works
documents, patch from Pino Toscano <pino@kde.org>
(Closes: #12989)
* tests/list:
* tests/test.wps: Add test file for MS Works

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.