Bug 17553

Summary: Addding mimetype for fiction book
Product: shared-mime-info Reporter: Tobias Koenig <tokoe>
Component: freedesktop.org.xmlAssignee: Jonathan Blandford <jrb>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Proposed XML snippet + test entry
Test case

Description Tobias Koenig 2008-09-12 05:43:45 UTC
Hej,

the fiction book format is a quite popular ebook format (infos: http://en.wikipedia.org/wiki/FictionBook ) that is still missing a mimetype entry in the database. The extension is .fb2 and the mime type application/x-fb2.

Ciao,
Tobias
Comment 1 Pino Toscano 2009-01-07 04:08:58 UTC
Created attachment 21743 [details] [review]
Proposed XML snippet + test entry

This is the proposed addition for freedesktop.org.xml.in, and the added entry for the test case.
Comment 2 Pino Toscano 2009-01-07 04:10:51 UTC
Created attachment 21744 [details]
Test case

Free testcase, taken from http://www.fictionbook-lib.org/showbook.php?id=17.
To be saved as Stallman_Richard_-_The_GNU_Manifesto.fb2, so there are no problems with the test suite.
Comment 3 Pino Toscano 2009-01-07 04:13:41 UTC
Tests nicely pass; may I commit, Bastien?
Comment 4 Bastien Nocera 2009-01-08 07:21:41 UTC
Changed the mimetype to application/x-fictionbook+xml instead.

* freedesktop.org.xml.in:
* tests/Stallman_Richard_-_The_GNU_Manifesto.fb2:
* tests/list: Patch from Pino Toscano <pino@kde.org>
to add the FictionBook (fb2) file type (Closes: #17553)

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.