diff options
-rw-r--r-- | data/freedesktop.org.xml.in | 9 | ||||
-rw-r--r-- | tests/mime-detection/list | 2 | ||||
-rw-r--r-- | tests/mime-detection/test.zim | bin | 0 -> 122521 bytes |
3 files changed, 11 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index 49ac2769..984ad200 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -7759,4 +7759,13 @@ command to generate the output files. <sub-class-of type="text/plain"/> <glob pattern="*.org"/> </mime-type> + <mime-type type="application/x-openzim"> + <comment>OpenZIM file</comment> + <acronym>ZIM</acronym> + <expanded-acronym>Zeno IMproved</expanded-acronym> + <glob pattern="*.zim"/> + <magic priority="50"> + <match type="string" value="\x5a\x49\x4d\x04" offset="0"/> + </magic> + </mime-type> </mime-info> diff --git a/tests/mime-detection/list b/tests/mime-detection/list index 17257fa0..d9cc56dc 100644 --- a/tests/mime-detection/list +++ b/tests/mime-detection/list @@ -867,3 +867,5 @@ test.avifs image/avif # Org-mode file test.org text/org ox +# OpenZIM file +test.zim application/x-openzim
\ No newline at end of file diff --git a/tests/mime-detection/test.zim b/tests/mime-detection/test.zim Binary files differnew file mode 100644 index 00000000..b113499a --- /dev/null +++ b/tests/mime-detection/test.zim |