Bug 20185 - Pocket Word and AportisDoc document types
Summary: Pocket Word and AportisDoc document types
Status: RESOLVED FIXED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-18 02:28 UTC by Caolán McNamara
Modified: 2009-02-21 05:57 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
patch for this (1.28 KB, patch)
2009-02-18 02:28 UTC, Caolán McNamara
Details | Splinter Review
AportisDoc .pdb (exported from OOo) (122 bytes, application/x-aportisdoc)
2009-02-18 02:48 UTC, Caolán McNamara
Details
Pocket Word .psw (Exported from OOo) (504 bytes, application/x-pocket-word)
2009-02-18 02:48 UTC, Caolán McNamara
Details
a bit of digging into the pocketword format indicates it always starts with {\pwi (1.37 KB, patch)
2009-02-19 03:47 UTC, Caolán McNamara
Details | Splinter Review

Description Caolán McNamara 2009-02-18 02:28:31 UTC
Created attachment 23075 [details] [review]
patch for this

Following patch adds a Pocket Word types, and a subtype of x-palm-database for application/x-aportisdoc for "AportisDoc"
Comment 1 Bastien Nocera 2009-02-18 02:40:23 UTC
Do you have test files available?
Comment 2 Caolán McNamara 2009-02-18 02:48:04 UTC
Created attachment 23076 [details]
AportisDoc .pdb (exported from OOo)
Comment 3 Caolán McNamara 2009-02-18 02:48:29 UTC
Created attachment 23077 [details]
Pocket Word .psw (Exported from OOo)
Comment 4 Pino Toscano 2009-02-18 02:56:35 UTC
Do you have references to the specifications of these file types?
Comment 5 Caolán McNamara 2009-02-18 03:11:57 UTC
There was no official documentation for AportisDoc afaik, but http://wiki.mobileread.com/wiki/PDB is pretty good for documenting the header format for .pdb and the offsets of the type info for detecting aportisdocs.

Pocketword on the other hand I know nothing about the specific format of
Comment 6 Caolán McNamara 2009-02-19 03:47:29 UTC
Created attachment 23114 [details] [review]
a bit of digging into the pocketword format indicates it always starts with {\pwi
Comment 7 Bastien Nocera 2009-02-21 05:57:33 UTC
Add to fix the PocketWord magic to work.

* freedesktop.org.xml.in:
* tests/aportis.pdb:
* tests/list:
* tests/pocket-word.psw: Patch from Caolan McNamara to
to add the Pocket Word and AportisDoc document types
(Closes: #20185)


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.