diff options
author | Giovanni Alfredo Garciliano Díaz <giobeatle10@gmail.com> | 2021-09-13 17:25:05 -0500 |
---|---|---|
committer | David Faure <faure@kde.org> | 2021-10-10 08:06:30 +0000 |
commit | 0a8e0c3bad7c146f9e15682a2339eace3c62690e (patch) | |
tree | 300daddbba2fa0c897f53d705e9d7dc5269095fc | |
parent | 5798f5cef884a9d201ee3c73061f0a82fde69bee (diff) |
Adding ZIM file
-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 49ac276..984ad20 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 17257fa..d9cc56d 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 0000000..b113499 --- /dev/null +++ b/tests/mime-detection/test.zim |