summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2019-10-23 14:19:20 +0200
committerBastien Nocera <hadess@hadess.net>2019-10-23 14:27:42 +0200
commit4bae2a489c52f8314a21a949223e846151bcccb9 (patch)
tree30f89468c8feb4570af0a3bc3fcf0f3a2e87ce13
parent5c9e37f85de684f7fac707531e2950e68061a64d (diff)
downloadshared-mime-info-4bae2a489c52f8314a21a949223e846151bcccb9.tar.gz
Add Kindle Book Format mime-type
Mime-type from: https://www.iana.org/assignments/media-types/application/vnd.amazon.mobi8-ebook Alias from: https://github.com/kovidgoyal/calibre/commit/ddca079000ffd03611d19c5dfe29341b9c1c6e2e#diff-64773d34b80f6772011eb6c82d9fa5ddR37
-rw-r--r--freedesktop.org.xml.in7
-rw-r--r--tests/elizabeth-barrett-browning_sonnets-from-the-portuguese.azw3bin0 -> 1076265 bytes
-rw-r--r--tests/list2
3 files changed, 9 insertions, 0 deletions
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in
index 2d7dddad..1ac9876e 100644
--- a/freedesktop.org.xml.in
+++ b/freedesktop.org.xml.in
@@ -121,6 +121,13 @@ command to generate the output files.
</magic>
<glob pattern="*.epub"/>
</mime-type>
+ <mime-type type="application/vnd.amazon.mobi8-ebook">
+ <comment>Kindle book document</comment>
+ <sub-class-of type="application/x-mobipocket-ebook"/>
+ <glob pattern="*.azw3"/>
+ <glob pattern="*.kfx"/>
+ <alias type="application/x-mobi8-ebook"/>
+ </mime-type>
<mime-type type="application/illustrator">
<comment>Adobe Illustrator document</comment>
<generic-icon name="image-x-generic"/>
diff --git a/tests/elizabeth-barrett-browning_sonnets-from-the-portuguese.azw3 b/tests/elizabeth-barrett-browning_sonnets-from-the-portuguese.azw3
new file mode 100644
index 00000000..9ba8d9db
--- /dev/null
+++ b/tests/elizabeth-barrett-browning_sonnets-from-the-portuguese.azw3
Binary files differ
diff --git a/tests/list b/tests/list
index 042a7c3d..43a676fb 100644
--- a/tests/list
+++ b/tests/list
@@ -142,6 +142,8 @@ test-template.dot application/msword-template ox
test-template.dot application/msword xox
# Copied from http://www.ebooktechnologies.com/downloads/ocf10-20060911.epub
ocf10-20060911.epub application/epub+zip
+# Copied from https://standardebooks.org/ebooks/elizabeth-barrett-browning/sonnets-from-the-portuguese
+elizabeth-barrett-browning_sonnets-from-the-portuguese.azw3 application/vnd.amazon.mobi8-ebook ox
# Copied from http://libwps.svn.sourceforge.net/viewvc/libwps/trunk/reference/
test.wps application/vnd.ms-works ox
# Copied from https://bugs.freedesktop.org/show_bug.cgi?id=45922