Bug 45795 - Add mimetype for *.fb2.zip files.
Summary: Add mimetype for *.fb2.zip files.
Status: RESOLVED FIXED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium enhancement
Assignee: Shared Mime Info group
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-08 09:35 UTC by Сковорода Никита
Modified: 2013-12-11 13:32 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
patch (51.15 KB, patch)
2013-12-11 13:08 UTC, David Tardon
Details | Splinter Review

Description Сковорода Никита 2012-02-08 09:35:06 UTC
*.fb2 is an e-book format: http://en.wikipedia.org/wiki/FictionBook
*.fb2.zip extension is widely used by online libraries and e-book readers (directly), because *.fb2 is plain xml, and the compressed version is much smaller.

*.fb2 has application/x-fictionbook+xml mimetype.

Some readers declare support for application/x-zip-compressed-fb2 mimetype, but it does not exist in shared-mime-info:
http://git.openinkpot.org/fbreader.git/tree/fbreader/desktop/desktop
http://crengine.git.sourceforge.net/git/gitweb.cgi?p=crengine/crengine;a=blob;f=cr3gui/data/desktop/cr3.desktop

No standart mimetype for *.fb2.zip files blocks support for opening such files in KDE/Okular (because no backend/generator could be associated with *.fb2.zip files).
Comment 1 Bastien Nocera 2013-02-12 16:54:08 UTC
See:
http://cgit.freedesktop.org/xdg/shared-mime-info/tree/HACKING
about adding new mime-types.
Comment 2 David Tardon 2013-12-11 13:08:45 UTC
Created attachment 90606 [details] [review]
patch
Comment 3 Bastien Nocera 2013-12-11 13:32:55 UTC
commit fe0ce0f210bdd39bcba1d6301e535ab29fc94b91
Author: David Tardon <dtardon@redhat.com>
Date:   Wed Dec 11 14:07:39 2013 +0100

    add mimetype for compressed FictionBook2
    
    https://bugs.freedesktop.org/show_bug.cgi?id=45795


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.