Imported Upstream version 1.0
[platform/upstream/shared-mime-info.git] / freedesktop.org.xml.in
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE mime-info [
3   <!ELEMENT mime-info (mime-type)+>
4   <!ATTLIST mime-info xmlns CDATA #FIXED "http://www.freedesktop.org/standards/shared-mime-info">
5
6   <!ELEMENT mime-type (comment+, (acronym,expanded-acronym)? , (generic-icon? | glob | magic | treemagic | root-XML | alias | sub-class-of)*)>
7   <!ATTLIST mime-type type CDATA #REQUIRED>
8
9   <!-- a comment describing a document with the respective MIME type. Example: "WMV video" -->
10   <!ELEMENT comment (#PCDATA)>
11   <!ATTLIST comment xml:lang CDATA #IMPLIED>
12
13   <!-- a comment describing the respective unexpanded MIME type acronym. Example: "WMV" -->
14   <!ELEMENT acronym (#PCDATA)>
15   <!ATTLIST acronym xml:lang CDATA #IMPLIED>
16
17   <!-- a comment describing the respective expanded MIME type acronym. Example: "Windows Media Video" -->
18   <!ELEMENT expanded-acronym (#PCDATA)>
19   <!ATTLIST expanded-acronym xml:lang CDATA #IMPLIED>
20
21   <!-- a generic icon name as per the Icon Naming Specification, only required if computing
22   it from the mime-type would not work, See "generic-icon" in the Shared Mime Specification -->
23   <!ELEMENT generic-icon EMPTY>
24   <!ATTLIST generic-icon name (application-x-executable|audio-x-generic|font-x-generic|image-x-generic|package-x-generic|text-html|text-x-generic|text-x-generic-template|text-x-script|video-x-generic|x-office-address-book|x-office-calendar|x-office-document|x-office-presentation|x-office-spreadsheet) #IMPLIED>
25
26   <!ELEMENT glob EMPTY>
27   <!ATTLIST glob pattern CDATA #REQUIRED>
28   <!ATTLIST glob weight CDATA #IMPLIED>
29   <!ATTLIST glob case-sensitive CDATA #IMPLIED>
30
31   <!ELEMENT magic (match)+>
32   <!ATTLIST magic priority CDATA #IMPLIED>
33
34   <!ELEMENT match (match)*>
35   <!ATTLIST match offset CDATA #REQUIRED>
36   <!ATTLIST match type (string|big16|big32|little16|little32|host16|host32|byte) #REQUIRED>
37   <!ATTLIST match value CDATA #REQUIRED>
38   <!ATTLIST match mask CDATA #IMPLIED>
39
40   <!ELEMENT treemagic (treematch)+>
41   <!ATTLIST treemagic priority CDATA #IMPLIED>
42
43   <!ELEMENT treematch (treematch)*>
44   <!ATTLIST treematch path CDATA #REQUIRED>
45   <!ATTLIST treematch type (file|directory|link) #IMPLIED>
46   <!ATTLIST treematch match-case (true|false) #IMPLIED>
47   <!ATTLIST treematch executable (true|false) #IMPLIED>
48   <!ATTLIST treematch non-empty (true|false) #IMPLIED>
49   <!ATTLIST treematch mimetype CDATA #IMPLIED>
50
51   <!ELEMENT root-XML EMPTY>
52   <!ATTLIST root-XML namespaceURI CDATA #REQUIRED>
53   <!ATTLIST root-XML localName CDATA #REQUIRED>
54
55   <!ELEMENT alias EMPTY>
56   <!ATTLIST alias type CDATA #REQUIRED>
57
58   <!ELEMENT sub-class-of EMPTY>
59   <!ATTLIST sub-class-of type CDATA #REQUIRED>
60 ]>
61
62 <!--
63 The freedesktop.org shared MIME database (this file) was created by merging
64 several existing MIME databases (all released under the GPL).
65
66 It comes with ABSOLUTELY NO WARRANTY, to the extent permitted by law. You may
67 redistribute copies of update-mime-database under the terms of the GNU General
68 Public License. For more information about these matters, see the file named
69 COPYING.
70
71 The latest version is available from:
72
73         http://www.freedesktop.org/wiki/Software_2fshared_2dmime_2dinfo
74
75 To extend this database, users and applications should create additional
76 XML files in the 'packages' directory and run the update-mime-database
77 command to generate the output files.
78 -->
79
80 <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
81   <mime-type type="application/andrew-inset">
82     <_comment>ATK inset</_comment>
83     <acronym>ATK</acronym>
84     <expanded-acronym>Andrew Toolkit</expanded-acronym>
85     <generic-icon name="x-office-document"/>
86     <glob pattern="*.ez"/>
87   </mime-type>
88   <mime-type type="application/epub+zip">
89     <_comment>electronic book document</_comment>
90     <sub-class-of type="application/zip"/>
91     <generic-icon name="x-office-document"/>
92     <magic priority="50">
93       <match type="string" value="PK\003\004" offset="0">
94         <match type="string" value="mimetype" offset="30">
95           <match type="string" value="application/epub+zip" offset="38"/>
96         </match>
97       </match>
98     </magic>
99     <glob pattern="*.epub"/>
100   </mime-type>
101   <mime-type type="application/illustrator">
102     <_comment>Adobe Illustrator document</_comment>
103     <generic-icon name="image-x-generic"/>
104     <glob pattern="*.ai"/>
105   </mime-type>
106   <mime-type type="application/mac-binhex40">
107     <_comment>Macintosh BinHex-encoded file</_comment>
108     <generic-icon name="package-x-generic"/>
109     <magic priority="50">
110       <match type="string" value="must be converted with BinHex" offset="11"/>
111     </magic>
112   </mime-type>
113   <mime-type type="application/mathematica">
114     <_comment>Mathematica Notebook</_comment>
115     <sub-class-of type="text/plain"/>
116     <generic-icon name="x-office-document"/>
117     <glob pattern="*.nb" />
118     <magic priority="50">
119       <match value="(************** Content-type: application/mathematica"
120              type="string" offset="0" />
121       <match value="This notebook can be used on any computer system with Mathematica"
122              type="string" offset="100:256" />
123       <match value="This is a Mathematica Notebook file.  It contains ASCII text"
124              type="string" offset="10:256" />
125     </magic>
126     <alias type="application/x-mathematica"/>
127   </mime-type>
128   <mime-type type="application/mathml+xml">
129     <_comment>MathML document</_comment>
130     <acronym>MathML</acronym>
131     <expanded-acronym>Mathematical Markup Language</expanded-acronym>
132     <alias type="text/mathml"/>
133     <sub-class-of type="application/xml"/>
134     <glob pattern="*.mml"/>
135     <root-XML namespaceURI="http://www.w3.org/1998/Math/MathML" localName="math"/>
136   </mime-type>
137   <mime-type type="application/mbox">
138     <_comment>mailbox file</_comment>
139     <generic-icon name="text-x-generic"/>
140     <sub-class-of type="text/plain"/>
141     <magic priority="20">
142       <match type="string" value="From " offset="0"/>
143     </magic>
144     <glob pattern="*.mbox"/>
145   </mime-type>
146   <mime-type type="application/metalink+xml">
147     <_comment>Metalink file</_comment>
148     <sub-class-of type="application/xml"/>
149     <magic priority="50">
150       <match type="string" value="&lt;metalink version=&quot;3.0&quot;" offset="0:256"/>
151     </magic>
152     <glob pattern="*.metalink"/>
153     <root-XML namespaceURI="http://www.metalinker.org/" localName="metalink"/>
154   </mime-type>
155   <mime-type type="application/metalink4+xml">
156     <_comment>Metalink file</_comment>
157     <sub-class-of type="application/xml"/>
158     <magic priority="50">
159       <match type="string" value="&lt;metalink xmlns=&quot;urn" offset="0:256"/>
160     </magic>
161     <glob pattern="*.meta4"/>
162     <root-XML namespaceURI="urn:ietf:params:xml:ns:metalink" localName="metalink"/>
163   </mime-type>
164   <mime-type type="application/octet-stream">
165     <_comment>unknown</_comment>
166     <glob pattern="*.bin"/>
167   </mime-type>
168   <mime-type type="application/oda">
169     <_comment>ODA document</_comment>
170     <acronym>ODA</acronym>
171     <expanded-acronym>Office Document Architecture</expanded-acronym>
172     <generic-icon name="x-office-document"/>
173     <glob pattern="*.oda"/>
174   </mime-type>
175   <mime-type type="application/x-wwf">
176     <_comment>WWF document</_comment>
177     <generic-icon name="x-office-document"/>
178     <glob pattern="*.wwf"/>
179     <sub-class-of type="application/pdf"/>
180     <alias type="application/wwf"/>
181   </mime-type>
182   <mime-type type="application/pdf">
183     <_comment>PDF document</_comment>
184     <acronym>PDF</acronym>
185     <expanded-acronym>Portable Document Format</expanded-acronym>
186     <generic-icon name="x-office-document"/>
187     <magic priority="50">
188       <match type="string" value="%PDF-" offset="0:1024"/>
189     </magic>
190     <glob pattern="*.pdf"/>
191     <alias type="application/x-pdf"/>
192     <alias type="image/pdf"/>
193     <alias type="application/acrobat"/>
194   </mime-type>
195   <mime-type type="application/xspf+xml">
196     <_comment>XSPF playlist</_comment>
197     <acronym>XSPF</acronym>
198     <expanded-acronym>XML Shareable Playlist Format</expanded-acronym>
199     <sub-class-of type="application/xml"/>
200     <generic-icon name="audio-x-generic"/>
201     <magic priority="50">
202       <match type="string" value="&lt;playlist version=&quot;1" offset="0:64"/>
203       <match type="string" value="&lt;playlist version='1" offset="0:64"/>
204     </magic>
205     <glob pattern="*.xspf"/>
206     <root-XML namespaceURI="http://xspf.org/ns/0/" localName="playlist"/>
207     <alias type="application/x-xspf+xml"/>
208   </mime-type>
209   <mime-type type="application/x-windows-themepack">
210     <_comment>Microsoft Windows theme pack</_comment>
211     <sub-class-of type="application/vnd.ms-cab-compressed"/>
212     <generic-icon name="package-x-generic"/>
213     <glob pattern="*.themepack"/>
214   </mime-type>
215   <mime-type type="audio/x-gsm">
216     <_comment>GSM 06.10 audio</_comment>
217     <acronym>GSM</acronym>
218     <expanded-acronym>Global System for Mobile communications</expanded-acronym>
219     <glob pattern="*.gsm"/>
220   </mime-type>
221   <mime-type type="audio/x-iriver-pla">
222     <_comment>iRiver Playlist</_comment>
223     <magic priority="50">
224       <match type="string" value="iriver UMS PLA" offset="4"/>
225     </magic>
226     <glob pattern="*.pla"/>
227   </mime-type>
228   <mime-type type="application/pgp-encrypted">
229     <_comment>PGP/MIME-encrypted message header</_comment>
230     <generic-icon name="text-x-generic"/>
231     <magic priority="50">
232       <match type="string" value="-----BEGIN PGP MESSAGE-----" offset="0"/>
233     </magic>
234     <glob pattern="*.pgp"/>
235     <glob pattern="*.gpg"/>
236     <glob pattern="*.asc"/>
237     <alias type="application/pgp"/>
238   </mime-type>
239   <mime-type type="application/pgp-keys">
240     <_comment>PGP keys</_comment>
241     <acronym>PGP</acronym>
242     <expanded-acronym>Pretty Good Privacy</expanded-acronym>
243     <sub-class-of type="text/plain"/>
244     <generic-icon name="text-x-generic"/>
245     <magic priority="50">
246       <match type="string" value="-----BEGIN PGP PUBLIC KEY BLOCK-----" offset="0"/>
247       <match type="string" value="-----BEGIN PGP PRIVATE KEY BLOCK-----" offset="0"/>
248       <match type="big16" value="0x9501" offset="0"/>
249       <match type="big16" value="0x9500" offset="0"/>
250       <match type="big16" value="0x9900" offset="0"/>
251       <match type="big16" value="0x9901" offset="0"/>
252     </magic>
253     <glob pattern="*.skr"/>
254     <glob pattern="*.pkr"/>
255     <glob pattern="*.asc"/>
256   </mime-type>
257   <mime-type type="application/pgp-signature">
258     <_comment>detached OpenPGP signature</_comment>
259     <sub-class-of type="text/plain"/>
260     <generic-icon name="text-x-generic"/>
261     <magic priority="50">
262       <match type="string" value="-----BEGIN PGP SIGNED MESSAGE-----" offset="0"/>
263       <match type="string" value="-----BEGIN PGP SIGNATURE-----" offset="0"/>
264     </magic>
265   </mime-type>
266   <mime-type type="application/pkcs7-mime">
267     <_comment>S/MIME file</_comment>
268     <acronym>S/MIME</acronym>
269     <expanded-acronym>Secure/Multipurpose Internet Mail Extensions</expanded-acronym>
270     <generic-icon name="text-x-generic"/>
271   </mime-type>
272   <mime-type type="application/pkcs7-signature">
273     <_comment>detached S/MIME signature</_comment>
274     <acronym>S/MIME</acronym>
275     <expanded-acronym>Secure/Multipurpose Internet Mail Extensions</expanded-acronym>
276     <sub-class-of type="text/plain"/>
277     <generic-icon name="text-x-generic"/>
278     <glob pattern="*.p7s"/>
279   </mime-type>
280   <mime-type type="application/pkcs8">
281     <_comment>PKCS#8 private key</_comment>
282     <acronym>PKCS</acronym>
283     <expanded-acronym>Public-Key Cryptography Standards</expanded-acronym>
284     <glob pattern="*.p8"/>
285   </mime-type>
286   <mime-type type="application/pkcs10">
287     <_comment>PKCS#10 certification request</_comment>
288     <acronym>PKCS</acronym>
289     <expanded-acronym>Public-Key Cryptography Standards</expanded-acronym>
290     <generic-icon name="text-x-generic"/>
291     <glob pattern="*.p10"/>
292   </mime-type>
293   <mime-type type="application/pkix-cert">
294     <_comment>X.509 certificate</_comment>
295     <glob pattern="*.cer"/>
296   </mime-type>
297   <mime-type type="application/pkix-crl">
298     <_comment>Certificate revocation list</_comment>
299     <glob pattern="*.crl"/>
300   </mime-type>
301   <mime-type type="application/pkix-pkipath">
302     <_comment>PkiPath certification path</_comment>
303     <glob pattern="*.pkipath"/>
304   </mime-type>
305   <mime-type type="application/postscript">
306     <_comment>PS document</_comment>
307     <acronym>PS</acronym>
308     <expanded-acronym>PostScript</expanded-acronym>
309     <sub-class-of type="text/plain"/>
310     <generic-icon name="x-office-document"/>
311     <magic priority="50">
312       <match type="string" value="\004%!" offset="0"/>
313       <match type="string" value="%!" offset="0"/>
314     </magic>
315     <glob pattern="*.ps"/>
316   </mime-type>
317   <mime-type type="application/prs.plucker">
318     <_comment>Plucker document</_comment>
319     <generic-icon name="x-office-document"/>
320     <magic priority="80">
321       <match type="string" value="DataPlkr" offset="60"/>
322     </magic>
323   </mime-type>
324   <mime-type type="application/relax-ng-compact-syntax">
325     <_comment>RELAX NG XML schema</_comment>
326     <acronym>RELAX NG</acronym>
327     <expanded-acronym>REgular LAnguage for XML Next Generation</expanded-acronym>
328     <sub-class-of type="text/plain"/>
329     <generic-icon name="text-x-generic"/>
330     <glob pattern="*.rnc"/>
331     <alias type="application/x-rnc"/>
332   </mime-type>
333   <mime-type type="application/rtf">
334     <_comment>RTF document</_comment>
335     <acronym>RTF</acronym>
336     <expanded-acronym>Rich Text Format</expanded-acronym>
337     <sub-class-of type="text/plain"/>
338     <generic-icon name="x-office-document"/>
339     <magic priority="50">
340       <match type="string" value="{\\rtf" offset="0"/>
341     </magic>
342     <glob pattern="*.rtf"/>
343     <alias type="text/rtf"/>
344   </mime-type>
345   <mime-type type="application/sieve">
346     <_comment>Sieve mail filter script</_comment>
347     <sub-class-of type="application/xml"/>
348     <generic-icon name="text-x-script"/>
349     <glob pattern="*.siv"/>
350   </mime-type>
351   <mime-type type="application/smil">
352     <_comment>SMIL document</_comment>
353     <acronym>SMIL</acronym>
354     <expanded-acronym>Synchronized Multimedia Integration Language</expanded-acronym>
355     <sub-class-of type="application/xml"/>
356     <alias type="application/smil+xml"/>
357     <generic-icon name="video-x-generic"/>
358     <glob pattern="*.smil"/>
359     <glob pattern="*.smi"/>
360     <glob pattern="*.sml"/>
361     <glob pattern="*.kino"/>
362     <magic priority="55">
363       <match type="string" value="&lt;smil" offset="0:256"/>
364     </magic>
365     <root-XML namespaceURI="http://www.w3.org/2001/SMIL20/Language" localName="smil"/>
366     <root-XML namespaceURI="http://www.w3.org/2005/SMIL21/Language" localName="smil"/>
367     <root-XML namespaceURI="http://www.w3.org/ns/SMIL" localName="smil"/>
368   </mime-type>
369   <mime-type type="application/vnd.ms-wpl">
370     <_comment>WPL playlist</_comment>
371     <acronym>WPL</acronym>
372     <expanded-acronym>Windows Media Player Playlist</expanded-acronym>
373     <generic-icon name="video-x-generic"/>
374     <glob pattern="*.wpl"/>
375     <magic priority="60">
376       <match type="string" value="&lt;?wpl" offset="0:256"/>
377     </magic>
378   </mime-type>
379   <mime-type type="application/x-sqlite2">
380     <_comment>SQLite2 database</_comment>
381     <magic>
382       <match type="string" value="** This file contains an SQLite" offset="0"/>
383     </magic>
384   </mime-type>
385   <mime-type type="application/x-sqlite3">
386     <_comment>SQLite3 database</_comment>
387     <magic>
388       <match type="string" value="SQLite format 3" offset="0"/>
389     </magic>
390   </mime-type>
391   <mime-type type="application/x-gedcom">
392     <_comment>GEDCOM family history</_comment>
393     <acronym>GEDCOM</acronym>
394     <expanded-acronym>GEnealogical Data COMmunication</expanded-acronym>
395     <generic-icon name="x-office-document"/>
396     <magic priority="50">
397       <match type="string" value="0 HEAD" offset="0"/>
398     </magic>
399     <glob pattern="*.ged"/>
400     <glob pattern="*.gedcom"/>
401     <alias type="text/gedcom"/>
402   </mime-type>
403   <mime-type type="video/x-flv">
404     <_comment>Flash video</_comment>
405     <generic-icon name="video-x-generic"/>
406     <magic priority="50">
407       <match type="string" value="FLV" offset="0"/>
408     </magic>
409     <glob pattern="*.flv"/>
410     <alias type="application/x-flash-video"/>
411     <alias type="flv-application/octet-stream"/>
412     <alias type="video/flv"/>
413   </mime-type>
414   <mime-type type="video/x-javafx">
415     <_comment>JavaFX video</_comment>
416     <generic-icon name="video-x-generic"/>
417     <magic priority="40">
418       <match type="string" value="FLV" offset="0"/>
419     </magic>
420     <glob pattern="*.fxm"/>
421     <sub-class-of type="video/x-flv"/>
422   </mime-type>
423   <mime-type type="application/x-go-sgf">
424     <!-- translators: a record is in this context a description of a board game
425          that has been played, and that can be played back again:
426          http://www.red-bean.com/sgf/ -->
427     <_comment>SGF record</_comment>
428     <acronym>SGF</acronym>
429     <expanded-acronym>Smart Game Format</expanded-acronym>
430     <generic-icon name="text-x-generic"/>
431     <glob pattern="*.sgf"/>
432     <sub-class-of type="text/plain"/>
433     <magic priority="50">
434       <match type="string" value="(;FF[3]" offset="0"/>
435       <match type="string" value="(;FF[4]" offset="0"/>
436     </magic>
437   </mime-type>
438   <mime-type type="application/x-xliff">
439     <_comment>XLIFF translation file</_comment>
440     <acronym>XLIFF</acronym>
441     <expanded-acronym>XML Localization Interchange File Format</expanded-acronym>
442     <sub-class-of type="application/xml"/>
443     <generic-icon name="text-x-generic"/>
444     <glob pattern="*.xlf"/>
445     <glob pattern="*.xliff"/>
446     <magic priority="80">
447       <match type="string" value="&lt;xliff" offset="0:256"/>
448     </magic>
449     <root-XML namespaceURI='urn:oasis:names:tc:xliff:document:1.1' localName='xliff'/>
450   </mime-type>
451   <mime-type type="application/x-yaml">
452     <_comment>YAML document</_comment>
453     <acronym>YAML</acronym>
454     <expanded-acronym>YAML Ain't Markup Language</expanded-acronym>
455     <sub-class-of type="text/plain"/>
456     <generic-icon name="text-x-generic"/>
457     <magic>
458       <match type="string" value="%YAML" offset="0"/>
459     </magic>
460     <glob pattern="*.yaml"/>
461     <glob pattern="*.yml"/>
462     <alias type="text/yaml"/>
463     <alias type="text/x-yaml"/>
464   </mime-type>
465   <mime-type type="application/vnd.corel-draw">
466     <_comment>Corel Draw drawing</_comment>
467     <generic-icon name="image-x-generic"/>
468     <magic priority="80">
469       <match type="string" value="CDRXvrsn" mask="0xffffff00ffffffff" offset="8"/>
470     </magic>
471     <glob pattern="*.cdr"/>
472     <alias type="application/cdr"/>
473     <alias type="application/coreldraw"/>
474     <alias type="application/x-cdr"/>
475     <alias type="application/x-coreldraw"/>
476     <alias type="image/cdr"/>
477     <alias type="image/x-cdr"/>
478     <alias type="zz-application/zz-winassoc-cdr"/>
479   </mime-type>
480   <mime-type type="application/vnd.hp-hpgl">
481     <_comment>HPGL file</_comment>
482     <acronym>HPGL</acronym>
483     <expanded-acronym>HP Graphics Language</expanded-acronym>
484     <generic-icon name="image-x-generic"/>
485     <glob pattern="*.hpgl"/>
486   </mime-type>
487   <mime-type type="application/vnd.hp-pcl">
488     <_comment>PCL file</_comment>
489     <acronym>PCL</acronym>
490     <expanded-acronym>HP Printer Control Language</expanded-acronym>
491     <generic-icon name="image-x-generic"/>
492     <glob pattern="*.pcl"/>
493   </mime-type>
494   <mime-type type="application/vnd.lotus-1-2-3">
495     <_comment>Lotus 1-2-3 spreadsheet</_comment>
496     <generic-icon name="x-office-spreadsheet"/>
497     <magic priority="50">
498       <match type="string" value="\x00\x00\x02\x00\x06\x04\x06\x00\x08\x00\x00\x00\x00\x00" offset="0"/>
499     </magic>
500     <glob pattern="*.123"/>
501     <glob pattern="*.wk1"/>
502     <glob pattern="*.wk3"/>
503     <glob pattern="*.wk4"/>
504     <glob pattern="*.wks"/>
505     <alias type="application/x-lotus123"/>
506     <alias type="application/x-123"/>
507     <alias type="application/lotus123"/>
508     <alias type="application/wk1"/>
509   </mime-type>
510   <mime-type type="application/vnd.ms-access">
511     <_comment>JET database</_comment>
512     <acronym>JET</acronym>
513     <expanded-acronym>Joint Engine Technology</expanded-acronym>
514     <generic-icon name="x-office-document"/>
515     <magic priority="50">
516       <match offset="0" type="string" value="\x00\x01\x00\x00Standard Jet DB" />
517     </magic>
518     <glob pattern="*.mdb" />
519     <alias type="application/x-msaccess"/>
520     <alias type="application/msaccess"/>
521     <alias type="application/vnd.msaccess"/>
522     <alias type="application/x-msaccess"/>
523     <alias type="application/mdb"/>
524     <alias type="application/x-mdb"/>
525   </mime-type>
526   <mime-type type="application/vnd.ms-cab-compressed">
527     <_comment>Microsoft Cabinet archive</_comment>
528     <generic-icon name="package-x-generic"/>
529     <magic priority="50">
530       <match offset="0" type="string" value="MSCF\0\0\0\0" />
531     </magic>
532     <glob pattern="*.cab"/>
533   </mime-type>
534   <mime-type type="application/vnd.ms-excel">
535     <_comment>Excel spreadsheet</_comment>
536     <generic-icon name="x-office-spreadsheet"/>
537     <magic priority="50">
538       <match type="string" value="Microsoft Excel 5.0 Worksheet" offset="2080"/>
539     </magic>
540     <glob pattern="*.xls"/>
541     <glob pattern="*.xlc"/>
542     <glob pattern="*.xll"/>
543     <glob pattern="*.xlm"/>
544     <glob pattern="*.xlw"/>
545     <glob pattern="*.xla"/>
546     <glob pattern="*.xlt"/>
547     <glob pattern="*.xld"/>
548     <alias type="application/msexcel"/>
549     <alias type="application/x-msexcel"/>
550   </mime-type>
551   <mime-type type="application/vnd.ms-excel.addin.macroEnabled.12">
552     <_comment>Excel add-in</_comment>
553     <generic-icon name="x-office-spreadsheet"/>
554     <glob pattern="*.xlam"/>
555     <sub-class-of type="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"/>
556   </mime-type>
557   <mime-type type="application/vnd.ms-excel.sheet.binary.macroEnabled.12">
558     <_comment>Excel 2007 binary spreadsheet</_comment>
559     <generic-icon name="x-office-spreadsheet"/>
560     <glob pattern="*.xlsb"/>
561     <sub-class-of type="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"/>
562   </mime-type>
563   <mime-type type="application/vnd.ms-excel.sheet.macroEnabled.12">
564     <_comment>Excel macro-enabled spreadsheet</_comment>
565     <generic-icon name="x-office-spreadsheet"/>
566     <glob pattern="*.xlsm"/>
567     <sub-class-of type="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"/>
568   </mime-type>
569   <mime-type type="application/vnd.ms-excel.template.macroEnabled.12">
570     <_comment>Excel macro-enabled spreadsheet template</_comment>
571     <generic-icon name="x-office-spreadsheet"/>
572     <glob pattern="*.xltm"/>
573     <sub-class-of type="application/vnd.openxmlformats-officedocument.spreadsheetml.template"/>
574   </mime-type>
575   <mime-type type="application/vnd.ms-powerpoint">
576     <_comment>PowerPoint presentation</_comment>
577     <generic-icon name="x-office-presentation"/>
578     <glob pattern="*.ppz"/>
579     <glob pattern="*.ppt"/>
580     <glob pattern="*.pps"/>
581     <glob pattern="*.pot"/>
582     <alias type="application/powerpoint"/>
583     <alias type="application/mspowerpoint"/>
584     <alias type="application/x-mspowerpoint"/>
585   </mime-type>
586   <mime-type type="application/vnd.ms-powerpoint.addin.macroEnabled.12">
587     <_comment>PowerPoint add-in</_comment>
588     <generic-icon name="x-office-presentation"/>
589     <glob pattern="*.ppam"/>
590   </mime-type>
591   <mime-type type="application/vnd.ms-powerpoint.presentation.macroEnabled.12">
592     <_comment>PowerPoint macro-enabled presentation</_comment>
593     <generic-icon name="x-office-presentation"/>
594     <glob pattern="*.pptm"/>
595     <sub-class-of type="application/vnd.openxmlformats-officedocument.presentationml.presentation"/>
596   </mime-type>
597   <mime-type type="application/vnd.ms-powerpoint.slide.macroEnabled.12">
598     <_comment>PowerPoint macro-enabled slide</_comment>
599     <generic-icon name="x-office-presentation"/>
600     <glob pattern="*.sldm"/>
601     <sub-class-of type="application/vnd.openxmlformats-officedocument.presentationml.slide"/>
602   </mime-type>
603   <mime-type type="application/vnd.ms-powerpoint.slideshow.macroEnabled.12">
604     <_comment>PowerPoint macro-enabled presentation</_comment>
605     <generic-icon name="x-office-presentation"/>
606     <glob pattern="*.ppsm"/>
607     <sub-class-of type="application/vnd.openxmlformats-officedocument.presentationml.slideshow"/>
608   </mime-type>
609   <mime-type type="application/vnd.ms-powerpoint.template.macroEnabled.12">
610     <_comment>PowerPoint macro-enabled presentation template</_comment>
611     <generic-icon name="x-office-presentation"/>
612     <glob pattern="*.potm"/>
613     <sub-class-of type="application/vnd.openxmlformats-officedocument.presentationml.template"/>
614   </mime-type>
615   <mime-type type="application/vnd.ms-word.document.macroEnabled.12">
616     <_comment>Word macro-enabled document</_comment>
617     <generic-icon name="x-office-document"/>
618     <glob pattern="*.docm"/>
619     <sub-class-of type="application/vnd.openxmlformats-officedocument.wordprocessingml.document"/>
620   </mime-type>
621   <mime-type type="application/vnd.ms-word.template.macroEnabled.12">
622     <_comment>Word macro-enabled document template</_comment>
623     <generic-icon name="x-office-document"/>
624     <glob pattern="*.dotm"/>
625     <sub-class-of type="application/vnd.openxmlformats-officedocument.wordprocessingml.template"/>
626   </mime-type>
627   <mime-type type="application/oxps">
628     <_comment>XPS document</_comment>
629     <acronym>XPS</acronym>
630     <expanded-acronym>Open XML Paper Specification</expanded-acronym>
631     <sub-class-of type="application/zip"/>
632     <generic-icon name="x-office-document"/>
633     <glob pattern="*.oxps"/>
634     <glob pattern="*.xps"/>
635     <alias type="application/vnd.ms-xpsdocument"/>
636   </mime-type>
637   <mime-type type="application/vnd.ms-works">
638     <_comment>Microsoft Works document</_comment>
639     <sub-class-of type="application/x-ole-storage"/>
640     <generic-icon name="x-office-document"/>
641     <glob pattern="*.wcm"/>
642     <glob pattern="*.wdb"/>
643     <glob pattern="*.wks"/>
644     <glob pattern="*.wps"/>
645   </mime-type>
646   <mime-type type="application/vnd.visio">
647     <_comment>Microsoft Visio document</_comment>
648     <sub-class-of type="application/x-ole-storage"/>
649     <generic-icon name="x-office-document"/>
650     <glob pattern="*.vsd"/>
651     <glob pattern="*.vst"/>
652     <glob pattern="*.vsw"/>
653     <glob pattern="*.vss"/>
654   </mime-type>
655   <mime-type type="application/msword">
656     <_comment>Word document</_comment>
657     <sub-class-of type="application/x-ole-storage"/>
658     <generic-icon name="x-office-document"/>
659     <magic priority="60">
660       <match type="string" value="\x31\xbe\x00\x00" offset="0"/>
661       <match type="string" value="PO^Q`" offset="0"/>
662       <match type="string" value="\376\067\0\043" offset="0"/>
663       <match type="string" value="\333\245-\0\0\0" offset="0"/>
664       <match type="string" value="MSWordDoc" offset="2112"/>
665       <match type="string" value="MSWordDoc" offset="2108"/>
666       <match type="string" value="Microsoft Word document data" offset="2112"/>
667       <match type="string" value="bjbj" offset="546"/>
668       <match type="string" value="jbjb" offset="546"/>
669     </magic>
670     <glob pattern="*.doc"/>
671     <alias type="application/vnd.ms-word"/>
672     <alias type="application/x-msword"/>
673   </mime-type>
674   <mime-type type="application/msword-template">
675     <_comment>Word template</_comment>
676     <sub-class-of type="application/msword"/>
677     <generic-icon name="x-office-document"/>
678     <glob pattern="*.dot"/>
679   </mime-type>
680   <mime-type type="application/gnunet-directory">
681     <_comment>GNUnet search file</_comment>
682     <magic priority="50">
683       <match type="string" value="\211GND\r\n\032\n" offset="0"/>
684     </magic>
685     <glob pattern="*.gnd"/>
686   </mime-type>
687   <mime-type type="application/vnd.ms-tnef">
688     <_comment>TNEF message</_comment>
689     <acronym>TNEF</acronym>
690     <expanded-acronym>Transport Neutral Encapsulation Format</expanded-acronym>
691     <magic priority="50">
692       <match type="little32" value="0x223e9f78" offset="0"/>
693     </magic>
694     <glob pattern="*.tnef"/>
695     <glob pattern="*.tnf"/>
696     <glob pattern="winmail.dat"/>
697     <alias type="application/ms-tnef"/>
698   </mime-type>
699   <mime-type type="application/vnd.stardivision.calc">
700     <_comment>StarCalc spreadsheet</_comment>
701     <generic-icon name="x-office-spreadsheet"/>
702     <glob pattern="*.sdc"/>
703   </mime-type>
704   <mime-type type="application/vnd.stardivision.chart">
705     <_comment>StarChart chart</_comment>
706     <generic-icon name="x-office-spreadsheet"/>
707     <glob pattern="*.sds"/>
708   </mime-type>
709   <mime-type type="application/vnd.stardivision.draw">
710     <_comment>StarDraw drawing</_comment>
711     <generic-icon name="image-x-generic"/>
712     <glob pattern="*.sda"/>
713   </mime-type>
714   <mime-type type="application/vnd.stardivision.impress">
715     <_comment>StarImpress presentation</_comment>
716     <generic-icon name="x-office-presentation"/>
717     <glob pattern="*.sdd"/>
718     <glob pattern="*.sdp"/>
719   </mime-type>
720   <mime-type type="application/vnd.stardivision.mail">
721     <_comment>StarMail email</_comment>
722     <glob pattern="*.smd"/>
723   </mime-type>
724   <mime-type type="application/vnd.stardivision.math">
725     <_comment>StarMath formula</_comment>
726     <generic-icon name="x-office-document"/>
727     <glob pattern="*.smf"/>
728   </mime-type>
729   <mime-type type="application/vnd.stardivision.writer">
730     <_comment>StarWriter document</_comment>
731     <generic-icon name="x-office-document"/>
732     <glob pattern="*.sdw"/>
733     <glob pattern="*.vor"/>
734     <glob pattern="*.sgl"/>
735     <magic priority="90">
736       <match type="string" value="StarWriter" offset="2089" />
737     </magic>
738   </mime-type>
739   <mime-type type="application/vnd.sun.xml.calc">
740     <_comment>OpenOffice Calc spreadsheet</_comment>
741     <sub-class-of type="application/zip"/>
742     <generic-icon name="x-office-spreadsheet"/>
743     <magic>
744       <match type="string" value="PK\003\004" offset="0">
745         <match type="string" value="mimetype" offset="30">
746           <match type="string" offset="38" value="application/vnd.sun.xml.calc"/>
747         </match>
748       </match>
749     </magic>
750     <glob pattern="*.sxc"/>
751   </mime-type>
752   <mime-type type="application/vnd.sun.xml.calc.template">
753     <_comment>OpenOffice Calc template</_comment>
754     <sub-class-of type="application/zip"/>
755     <generic-icon name="x-office-spreadsheet"/>
756     <magic>
757       <match type="string" value="PK\003\004" offset="0">
758         <match type="string" value="mimetype" offset="30">
759           <match type="string" offset="38" value="application/vnd.sun.xml.calc"/>
760         </match>
761       </match>
762     </magic>
763     <glob pattern="*.stc"/>
764   </mime-type>
765   <mime-type type="application/vnd.sun.xml.draw">
766     <_comment>OpenOffice Draw drawing</_comment>
767     <sub-class-of type="application/zip"/>
768     <generic-icon name="image-x-generic"/>
769     <magic>
770       <match type="string" value="PK\003\004" offset="0">
771         <match type="string" value="mimetype" offset="30">
772           <match type="string" offset="38" value="application/vnd.sun.xml.draw"/>
773         </match>
774       </match>
775     </magic>
776     <glob pattern="*.sxd"/>
777   </mime-type>
778   <mime-type type="application/vnd.sun.xml.draw.template">
779     <_comment>OpenOffice Draw template</_comment>
780     <sub-class-of type="application/zip"/>
781     <generic-icon name="image-x-generic"/>
782     <magic>
783       <match type="string" value="PK\003\004" offset="0">
784         <match type="string" value="mimetype" offset="30">
785           <match type="string" offset="38" value="application/vnd.sun.xml.draw"/>
786         </match>
787       </match>
788     </magic>
789     <glob pattern="*.std"/>
790   </mime-type>
791   <mime-type type="application/vnd.sun.xml.impress">
792     <_comment>OpenOffice Impress presentation</_comment>
793     <sub-class-of type="application/zip"/>
794     <generic-icon name="x-office-presentation"/>
795     <magic>
796       <match type="string" value="PK\003\004" offset="0">
797         <match type="string" value="mimetype" offset="30">
798           <match type="string" offset="38" value="application/vnd.sun.xml.impress"/>
799         </match>
800       </match>
801     </magic>
802     <glob pattern="*.sxi"/>
803   </mime-type>
804   <mime-type type="application/vnd.sun.xml.impress.template">
805     <_comment>OpenOffice Impress template</_comment>
806     <sub-class-of type="application/zip"/>
807     <generic-icon name="x-office-presentation"/>
808     <magic>
809       <match type="string" value="PK\003\004" offset="0">
810         <match type="string" value="mimetype" offset="30">
811           <match type="string" offset="38" value="application/vnd.sun.xml.impress"/>
812         </match>
813       </match>
814     </magic>
815     <glob pattern="*.sti"/>
816   </mime-type>
817   <mime-type type="application/vnd.sun.xml.math">
818     <_comment>OpenOffice Math formula</_comment>
819     <sub-class-of type="application/zip"/>
820     <generic-icon name="x-office-document"/>
821     <magic>
822       <match type="string" value="PK\003\004" offset="0">
823         <match type="string" value="mimetype" offset="30">
824           <match type="string" offset="38" value="application/vnd.sun.xml.math"/>
825         </match>
826       </match>
827     </magic>
828     <glob pattern="*.sxm"/>
829   </mime-type>
830   <mime-type type="application/vnd.sun.xml.writer">
831     <_comment>OpenOffice Writer document</_comment>
832     <sub-class-of type="application/zip"/>
833     <generic-icon name="x-office-document"/>
834     <magic>
835       <match type="string" value="PK\003\004" offset="0">
836         <match type="string" value="mimetype" offset="30">
837           <match type="string" offset="38" value="application/vnd.sun.xml.writer"/>
838         </match>
839       </match>
840     </magic>
841     <glob pattern="*.sxw"/>
842   </mime-type>
843   <mime-type type="application/vnd.sun.xml.writer.global">
844     <_comment>OpenOffice Writer global document</_comment>
845     <sub-class-of type="application/zip"/>
846     <generic-icon name="x-office-document"/>
847     <magic>
848       <match type="string" value="PK\003\004" offset="0">
849         <match type="string" value="mimetype" offset="30">
850           <match type="string" offset="38" value="application/vnd.sun.xml.writer"/>
851         </match>
852       </match>
853     </magic>
854     <glob pattern="*.sxg"/>
855   </mime-type>
856   <mime-type type="application/vnd.sun.xml.writer.template">
857     <_comment>OpenOffice Writer template</_comment>
858     <sub-class-of type="application/zip"/>
859     <generic-icon name="x-office-document"/>
860     <magic>
861       <match type="string" value="PK\003\004" offset="0">
862         <match type="string" value="mimetype" offset="30">
863           <match type="string" offset="38" value="application/vnd.sun.xml.writer"/>
864         </match>
865       </match>
866     </magic>
867     <glob pattern="*.stw"/>
868   </mime-type>
869   <mime-type type="application/vnd.oasis.opendocument.text">
870     <_comment>ODT document</_comment>
871     <acronym>ODT</acronym>
872     <expanded-acronym>OpenDocument Text</expanded-acronym>
873     <sub-class-of type="application/zip"/>
874     <generic-icon name="x-office-document"/>
875     <magic priority="50">
876       <match type="string" value="PK\003\004" offset="0">
877         <match type="string" value="mimetype" offset="30">
878           <match type="string" value="application/vnd.oasis.opendocument.text" offset="38"/>
879         </match>
880       </match>
881     </magic>
882     <glob pattern="*.odt"/>
883   </mime-type>
884   <mime-type type="application/vnd.oasis.opendocument.text-flat-xml">
885     <_comment>ODT document (Flat XML)</_comment>
886     <acronym>FODT</acronym>
887     <expanded-acronym>OpenDocument Text (Flat XML)</expanded-acronym>
888     <sub-class-of type="application/xml"/>
889     <generic-icon name="x-office-document"/>
890     <glob pattern="*.fodt"/>
891   </mime-type>
892   <mime-type type="application/vnd.oasis.opendocument.text-template">
893     <_comment>ODT template</_comment>
894     <acronym>ODT</acronym>
895     <expanded-acronym>OpenDocument Text</expanded-acronym>
896     <sub-class-of type="application/zip"/>
897     <generic-icon name="x-office-document"/>
898     <magic priority="50">
899       <match type="string" value="PK\003\004" offset="0">
900         <match type="string" value="mimetype" offset="30">
901           <match type="string" value="application/vnd.oasis.opendocument.text-template" offset="38"/>
902         </match>
903       </match>
904     </magic>
905     <glob pattern="*.ott"/>
906   </mime-type>
907   <mime-type type="application/vnd.oasis.opendocument.text-web">
908     <_comment>OTH template</_comment>
909     <acronym>OTH</acronym>
910     <expanded-acronym>OpenDocument HTML</expanded-acronym>
911     <sub-class-of type="application/zip"/>
912     <generic-icon name="text-html"/>
913     <magic priority="50">
914       <match type="string" value="PK\003\004" offset="0">
915         <match type="string" value="mimetype" offset="30">
916           <match type="string" value="application/vnd.oasis.opendocument.text-web" offset="38"/>
917         </match>
918       </match>
919     </magic>
920     <glob pattern="*.oth"/>
921   </mime-type>
922   <mime-type type="application/vnd.oasis.opendocument.text-master">
923     <_comment>ODM document</_comment>
924     <acronym>ODM</acronym>
925     <expanded-acronym>OpenDocument Master</expanded-acronym>
926     <sub-class-of type="application/zip"/>
927     <generic-icon name="x-office-document"/>
928     <magic priority="50">
929       <match type="string" value="PK\003\004" offset="0">
930         <match type="string" value="mimetype" offset="30">
931           <match type="string" value="application/vnd.oasis.opendocument.text-master" offset="38"/>
932         </match>
933       </match>
934     </magic>
935     <glob pattern="*.odm"/>
936   </mime-type>
937   <mime-type type="application/vnd.oasis.opendocument.graphics">
938     <_comment>ODG drawing</_comment>
939     <acronym>ODG</acronym>
940     <expanded-acronym>OpenDocument Drawing</expanded-acronym>
941     <sub-class-of type="application/zip"/>
942     <generic-icon name="image-x-generic"/>
943     <magic priority="50">
944       <match type="string" value="PK\003\004" offset="0">
945         <match type="string" value="mimetype" offset="30">
946           <match type="string" value="application/vnd.oasis.opendocument.graphics" offset="38"/>
947         </match>
948       </match>
949     </magic>
950     <glob pattern="*.odg"/>
951   </mime-type>
952   <mime-type type="application/vnd.oasis.opendocument.graphics-flat-xml">
953     <_comment>ODG drawing (Flat XML)</_comment>
954     <acronym>FODG</acronym>
955     <expanded-acronym>OpenDocument Drawing (Flat XML)</expanded-acronym>
956     <sub-class-of type="application/xml"/>
957     <generic-icon name="image-x-generic"/>
958     <glob pattern="*.fodg"/>
959   </mime-type>
960   <mime-type type="application/vnd.oasis.opendocument.graphics-template">
961     <_comment>ODG template</_comment>
962     <acronym>ODG</acronym>
963     <expanded-acronym>OpenDocument Drawing</expanded-acronym>
964     <sub-class-of type="application/zip"/>
965     <generic-icon name="image-x-generic"/>
966     <magic priority="50">
967       <match type="string" value="PK\003\004" offset="0">
968         <match type="string" value="mimetype" offset="30">
969           <match type="string" value="application/vnd.oasis.opendocument.graphics-template" offset="38"/>
970         </match>
971       </match>
972     </magic>
973     <glob pattern="*.otg"/>
974   </mime-type>
975   <mime-type type="application/vnd.oasis.opendocument.presentation">
976     <_comment>ODP presentation</_comment>
977     <acronym>ODP</acronym>
978     <expanded-acronym>OpenDocument Presentation</expanded-acronym>
979     <sub-class-of type="application/zip"/>
980     <generic-icon name="x-office-presentation"/>
981     <magic priority="50">
982       <match type="string" value="PK\003\004" offset="0">
983         <match type="string" value="mimetype" offset="30">
984           <match type="string" value="application/vnd.oasis.opendocument.presentation" offset="38"/>
985         </match>
986       </match>
987     </magic>
988     <glob pattern="*.odp"/>
989   </mime-type>
990   <mime-type type="application/vnd.oasis.opendocument.presentation-flat-xml">
991     <_comment>ODP presentation (Flat XML)</_comment>
992     <acronym>FODP</acronym>
993     <expanded-acronym>OpenDocument Presentation (Flat XML)</expanded-acronym>
994     <sub-class-of type="application/xml"/>
995     <generic-icon name="x-office-presentation"/>
996     <glob pattern="*.fodp"/>
997   </mime-type>
998   <mime-type type="application/vnd.oasis.opendocument.presentation-template">
999     <_comment>ODP template</_comment>
1000     <acronym>ODP</acronym>
1001     <expanded-acronym>OpenDocument Presentation</expanded-acronym>
1002     <sub-class-of type="application/zip"/>
1003     <generic-icon name="x-office-presentation"/>
1004     <magic priority="50">
1005       <match type="string" value="PK\003\004" offset="0">
1006         <match type="string" value="mimetype" offset="30">
1007           <match type="string" value="application/vnd.oasis.opendocument.presentation-template" offset="38"/>
1008         </match>
1009       </match>
1010     </magic>
1011     <glob pattern="*.otp"/>
1012   </mime-type>
1013   <mime-type type="application/vnd.oasis.opendocument.spreadsheet">
1014     <_comment>ODS spreadsheet</_comment>
1015     <acronym>ODS</acronym>
1016     <expanded-acronym>OpenDocument Spreadsheet</expanded-acronym>
1017     <sub-class-of type="application/zip"/>
1018     <generic-icon name="x-office-spreadsheet"/>
1019     <magic priority="50">
1020       <match type="string" value="PK\003\004" offset="0">
1021         <match type="string" value="mimetype" offset="30">
1022           <match type="string" value="application/vnd.oasis.opendocument.spreadsheet" offset="38"/>
1023         </match>
1024       </match>
1025     </magic>
1026     <glob pattern="*.ods"/>
1027   </mime-type>
1028   <mime-type type="application/vnd.oasis.opendocument.spreadsheet-flat-xml">
1029     <_comment>ODS spreadsheet (Flat XML)</_comment>
1030     <acronym>FODS</acronym>
1031     <expanded-acronym>OpenDocument Spreadsheet (Flat XML)</expanded-acronym>
1032     <sub-class-of type="application/xml"/>
1033     <generic-icon name="x-office-spreadsheet"/>
1034     <glob pattern="*.fods"/>
1035   </mime-type>
1036   <mime-type type="application/vnd.oasis.opendocument.spreadsheet-template">
1037     <_comment>ODS template</_comment>
1038     <acronym>ODS</acronym>
1039     <expanded-acronym>OpenDocument Spreadsheet</expanded-acronym>
1040     <sub-class-of type="application/zip"/>
1041     <generic-icon name="x-office-spreadsheet"/>
1042     <magic priority="50">
1043       <match type="string" value="PK\003\004" offset="0">
1044         <match type="string" value="mimetype" offset="30">
1045           <match type="string" value="application/vnd.oasis.opendocument.spreadsheet-template" offset="38"/>
1046         </match>
1047       </match>
1048     </magic>
1049     <glob pattern="*.ots"/>
1050   </mime-type>
1051   <mime-type type="application/vnd.oasis.opendocument.chart">
1052     <_comment>ODC chart</_comment>
1053     <acronym>ODC</acronym>
1054     <expanded-acronym>OpenDocument Chart</expanded-acronym>
1055     <sub-class-of type="application/zip"/>
1056     <generic-icon name="x-office-spreadsheet"/>
1057     <magic priority="50">
1058       <match type="string" value="PK\003\004" offset="0">
1059         <match type="string" value="mimetype" offset="30">
1060           <match type="string" value="application/vnd.oasis.opendocument.chart" offset="38"/>
1061         </match>
1062       </match>
1063     </magic>
1064     <glob pattern="*.odc"/>
1065   </mime-type>
1066   <mime-type type="application/vnd.oasis.opendocument.chart-template">
1067     <_comment>ODC template</_comment>
1068     <acronym>ODC</acronym>
1069     <expanded-acronym>OpenDocument Chart</expanded-acronym>
1070     <sub-class-of type="application/zip"/>
1071     <generic-icon name="x-office-spreadsheet"/>
1072     <magic priority="50">
1073       <match type="string" value="PK\003\004" offset="0">
1074         <match type="string" value="mimetype" offset="30">
1075           <match type="string" value="application/vnd.oasis.opendocument.chart-template" offset="38"/>
1076         </match>
1077       </match>
1078     </magic>
1079     <glob pattern="*.otc"/>
1080   </mime-type>
1081   <mime-type type="application/vnd.oasis.opendocument.formula">
1082     <_comment>ODF formula</_comment>
1083     <acronym>ODF</acronym>
1084     <expanded-acronym>OpenDocument Formula</expanded-acronym>
1085     <sub-class-of type="application/zip"/>
1086     <generic-icon name="x-office-document"/>
1087     <magic priority="50">
1088       <match type="string" value="PK\003\004" offset="0">
1089         <match type="string" value="mimetype" offset="30">
1090           <match type="string" value="application/vnd.oasis.opendocument.formula" offset="38"/>
1091         </match>
1092       </match>
1093     </magic>
1094     <glob pattern="*.odf"/>
1095   </mime-type>
1096   <mime-type type="application/vnd.oasis.opendocument.formula-template">
1097     <_comment>ODF template</_comment>
1098     <acronym>ODF</acronym>
1099     <expanded-acronym>OpenDocument Formula</expanded-acronym>
1100     <sub-class-of type="application/zip"/>
1101     <generic-icon name="x-office-document"/>
1102     <magic priority="50">
1103       <match type="string" value="PK\003\004" offset="0">
1104         <match type="string" value="mimetype" offset="30">
1105           <match type="string" value="application/vnd.oasis.opendocument.formula-template" offset="38"/>
1106         </match>
1107       </match>
1108     </magic>
1109     <glob pattern="*.otf"/>
1110   </mime-type>
1111   <mime-type type="application/vnd.oasis.opendocument.database">
1112     <_comment>ODB database</_comment>
1113     <acronym>ODB</acronym>
1114     <expanded-acronym>OpenDocument Database</expanded-acronym>
1115     <sub-class-of type="application/zip"/>
1116     <generic-icon name="x-office-document"/>
1117     <glob pattern="*.odb"/>
1118   </mime-type>
1119   <mime-type type="application/vnd.oasis.opendocument.image">
1120     <_comment>ODI image</_comment>
1121     <acronym>ODI</acronym>
1122     <expanded-acronym>OpenDocument Image</expanded-acronym>
1123     <sub-class-of type="application/zip"/>
1124     <generic-icon name="image-x-generic"/>
1125     <magic priority="50">
1126       <match type="string" value="PK\003\004" offset="0">
1127         <match type="string" value="mimetype" offset="30">
1128           <match type="string" value="application/vnd.oasis.opendocument.image" offset="38"/>
1129         </match>
1130       </match>
1131     </magic>
1132     <glob pattern="*.odi"/>
1133   </mime-type>
1134   <mime-type type="application/vnd.openofficeorg.extension">
1135     <_comment>OpenOffice.org extension</_comment>
1136     <sub-class-of type="application/zip"/>
1137     <generic-icon name="x-office-document"/>
1138     <glob pattern="*.oxt" />
1139   </mime-type>
1140   <mime-type type="application/vnd.android.package-archive">
1141     <_comment>Android package</_comment>
1142     <sub-class-of type="application/x-java-archive"/>
1143     <glob pattern="*.apk"/>
1144   </mime-type>
1145   <mime-type type="application/vnd.symbian.install">
1146     <_comment>SIS package</_comment>
1147     <acronym>SIS</acronym>
1148     <expanded-acronym>Symbian Installation File</expanded-acronym>
1149     <generic-icon name="package-x-generic"/>
1150     <magic priority="50">
1151       <match type="little32" value="0x10000419" offset="8"/>
1152     </magic>
1153     <glob pattern="*.sis"/>
1154   </mime-type>
1155   <mime-type type="x-epoc/x-sisx-app">
1156     <_comment>SISX package</_comment>
1157     <acronym>SIS</acronym>
1158     <expanded-acronym>Symbian Installation File</expanded-acronym>
1159     <generic-icon name="package-x-generic"/>
1160     <magic priority="50">
1161       <match type="little32" value="0x10201a7a" offset="0"/>
1162     </magic>
1163     <glob pattern="*.sisx"/>
1164   </mime-type>
1165   <mime-type type="application/vnd.tcpdump.pcap">
1166     <_comment>Network Packet Capture</_comment>
1167     <magic priority="50">
1168       <match type="host32" value="0xa1b2c3d4" offset="0"/>
1169       <match type="host32" value="0xd4c3b2a1" offset="0"/>
1170     </magic>
1171     <glob pattern="*.pcap"/>
1172     <glob pattern="*.cap"/>
1173     <glob pattern="*.dmp"/>
1174     <alias type="application/x-pcap"/>
1175     <alias type="application/pcap"/>
1176   </mime-type>
1177   <mime-type type="application/vnd.wordperfect">
1178     <_comment>WordPerfect document</_comment>
1179     <alias type="application/x-wordperfect"/>
1180     <alias type="application/wordperfect"/>
1181     <generic-icon name="x-office-document"/>
1182     <magic priority="50">
1183       <match type="string" value="WPC" offset="1"/>
1184       <!-- <match type="big32" value="0xff575053c405" offset="0"/> -->
1185     </magic>
1186     <glob pattern="*.wp"/>
1187     <glob pattern="*.wp4"/>
1188     <glob pattern="*.wp5"/>
1189     <glob pattern="*.wp6"/>
1190     <glob pattern="*.wpd"/>
1191     <glob pattern="*.wpp"/>
1192   </mime-type>
1193   <mime-type type="application/x-spss-por">
1194     <_comment>SPSS Portable Data File</_comment>
1195     <magic priority="50">
1196       <match type="string" offset="40" value="ASCII SPSS PORT FILE"/>
1197     </magic>
1198     <glob pattern="*.por"/>
1199   </mime-type>
1200   <mime-type type="application/x-spss-sav">
1201     <_comment>SPSS Data File</_comment>
1202     <alias type="application/x-spss-savefile"/>
1203     <magic priority="50">
1204       <match type="string" offset="0" value="$FL2"/>
1205     </magic>
1206     <glob pattern="*.sav"/>
1207   </mime-type>
1208   <mime-type type="application/x-xbel">
1209     <_comment>XBEL bookmarks</_comment>
1210     <acronym>XBEL</acronym>
1211     <expanded-acronym>XML Bookmark Exchange Language</expanded-acronym>
1212     <sub-class-of type="application/xml"/>
1213     <generic-icon name="text-html"/>
1214     <magic priority="50">
1215       <match type="string" value="&lt;!DOCTYPE\ xbel" offset="0:256"/>
1216     </magic>
1217     <glob pattern="*.xbel"/>
1218   </mime-type>
1219   <mime-type type="application/x-7z-compressed">
1220     <_comment>7-zip archive</_comment>
1221     <generic-icon name="package-x-generic"/>
1222     <magic priority="50">
1223       <match type="string" value="7z\274\257\047\034" offset="0"/>
1224     </magic>
1225     <glob pattern="*.7z"/>
1226   </mime-type>
1227   <mime-type type="application/x-abiword">
1228     <_comment>AbiWord document</_comment>
1229     <sub-class-of type="application/xml"/>
1230     <generic-icon name="x-office-document"/>
1231     <magic priority="50">
1232       <match type="string" value="&lt;abiword" offset="0:256"/>
1233       <match type="string" value="&lt;!DOCTYPE abiword" offset="0:256"/>
1234     </magic>
1235     <glob pattern="*.abw"/>
1236     <glob pattern="*.abw.CRASHED"/>
1237     <glob pattern="*.abw.gz"/>
1238     <glob pattern="*.zabw"/>
1239     <root-XML namespaceURI="http://www.abisource.com/awml.dtd" localName="abiword"/>
1240   </mime-type>
1241   <mime-type type="application/x-cue">
1242     <_comment>CD image cuesheet</_comment>
1243     <sub-class-of type="text/plain"/>
1244     <generic-icon name="text-x-generic"/>
1245     <glob pattern="*.cue"/>
1246   </mime-type>
1247   <mime-type type="application/x-amipro">
1248     <_comment>Lotus AmiPro document</_comment>
1249     <generic-icon name="x-office-document"/>
1250     <glob pattern="*.sam"/>
1251   </mime-type>
1252   <mime-type type="application/x-aportisdoc">
1253     <_comment>AportisDoc document</_comment>
1254     <sub-class-of type="application/x-palm-database"/>
1255     <generic-icon name="x-office-document"/>
1256     <magic priority="50">
1257       <match type="string" value="TEXtREAd" offset="60"/>
1258       <match type="string" value="TEXtTlDc" offset="60"/>
1259     </magic>
1260     <glob pattern="*.pdb"/>
1261     <glob pattern="*.pdc"/>
1262   </mime-type>
1263   <mime-type type="application/x-applix-spreadsheet">
1264     <_comment>Applix Spreadsheets spreadsheet</_comment>
1265     <generic-icon name="x-office-spreadsheet"/>
1266     <magic priority="50">
1267       <match type="string" value="*BEGIN SPREADSHEETS" offset="0"/>
1268       <match type="string" value="*BEGIN" offset="0">
1269         <match type="string" value="SPREADSHEETS" offset="7"/>
1270       </match>
1271     </magic>
1272     <glob pattern="*.as"/>
1273   </mime-type>
1274   <mime-type type="application/x-applix-word">
1275     <_comment>Applix Words document</_comment>
1276     <generic-icon name="x-office-document"/>
1277     <magic priority="50">
1278       <match type="string" value="*BEGIN" offset="0">
1279         <match type="string" value="WORDS" offset="7"/>
1280       </match>
1281     </magic>
1282     <glob pattern="*.aw"/>
1283   </mime-type>
1284   <mime-type type="application/x-arc">
1285     <_comment>ARC archive</_comment>
1286     <generic-icon name="package-x-generic"/>
1287     <magic priority="50">
1288       <match type="little32" mask="0x8080ffff" value="0x0000081a" offset="0"/>
1289       <match type="little32" mask="0x8080ffff" value="0x0000091a" offset="0"/>
1290       <match type="little32" mask="0x8080ffff" value="0x0000021a" offset="0"/>
1291       <match type="little32" mask="0x8080ffff" value="0x0000031a" offset="0"/>
1292       <match type="little32" mask="0x8080ffff" value="0x0000041a" offset="0"/>
1293       <match type="little32" mask="0x8080ffff" value="0x0000061a" offset="0"/>
1294     </magic>
1295   </mime-type>
1296   <mime-type type="application/x-archive">
1297     <_comment>AR archive</_comment>
1298     <generic-icon name="package-x-generic"/>
1299     <magic priority="45">
1300       <match type="string" value="&lt;ar&gt;" offset="0"/>
1301       <match type="string" value="!&lt;arch&gt;" offset="0"/>
1302     </magic>
1303     <glob pattern="*.a"/>
1304   </mime-type>
1305   <mime-type type="application/x-arj">
1306     <_comment>ARJ archive</_comment>
1307     <acronym>ARJ</acronym>
1308     <expanded-acronym>Archived by Robert Jung</expanded-acronym>
1309     <generic-icon name="package-x-generic"/>
1310     <magic priority="50">
1311       <match type="little16" value="0xea60" offset="0"/>
1312     </magic>
1313     <glob pattern="*.arj"/>
1314   </mime-type>
1315   <mime-type type="application/x-asp">
1316     <_comment>ASP page</_comment>
1317     <acronym>ASP</acronym>
1318     <expanded-acronym>Active Server Page</expanded-acronym>
1319     <sub-class-of type="text/plain"/>
1320     <generic-icon name="text-x-script"/>
1321     <glob pattern="*.asp"/>
1322   </mime-type>
1323   <mime-type type="application/x-awk">
1324     <_comment>AWK script</_comment>
1325     <sub-class-of type="application/x-executable"/>
1326     <sub-class-of type="text/plain"/>
1327     <generic-icon name="text-x-script"/>
1328     <magic priority="50">
1329       <match type="string" value="#!/bin/gawk" offset="0"/>
1330       <match type="string" value="#! /bin/gawk" offset="0"/>
1331       <match type="string" value="#!/usr/bin/gawk" offset="0"/>
1332       <match type="string" value="#! /usr/bin/gawk" offset="0"/>
1333       <match type="string" value="#!/usr/local/bin/gawk" offset="0"/>
1334       <match type="string" value="#! /usr/local/bin/gawk" offset="0"/>
1335       <match type="string" value="#!/bin/awk" offset="0"/>
1336       <match type="string" value="#! /bin/awk" offset="0"/>
1337       <match type="string" value="#!/usr/bin/awk" offset="0"/>
1338       <match type="string" value="#! /usr/bin/awk" offset="0"/>
1339     </magic>
1340     <glob pattern="*.awk"/>
1341   </mime-type>
1342   <mime-type type="application/x-bcpio">
1343     <_comment>BCPIO document</_comment>
1344     <acronym>BCPIO</acronym>
1345     <expanded-acronym>Binary CPIO</expanded-acronym>
1346     <generic-icon name="package-x-generic"/>
1347     <glob pattern="*.bcpio"/>
1348   </mime-type>
1349   <mime-type type="application/x-bittorrent">
1350     <_comment>BitTorrent seed file</_comment>
1351     <magic priority="50">
1352       <match type="string" value="d8:announce" offset="0"/>
1353     </magic>
1354     <glob pattern="*.torrent"/>
1355   </mime-type>
1356   <mime-type type="application/x-blender">
1357     <_comment>Blender scene</_comment>
1358     <generic-icon name="image-x-generic"/>
1359     <glob pattern="*.blender"/>
1360     <glob pattern="*.blend"/>
1361     <glob pattern="*.BLEND"/>
1362     <magic priority="50">
1363       <match type="string" value="BLENDER" offset="0"/>
1364     </magic>
1365   </mime-type>
1366   <mime-type type="application/x-bzdvi">
1367     <_comment>TeX DVI document (bzip-compressed)</_comment>
1368     <generic-icon name="x-office-document"/>
1369     <glob pattern="*.dvi.bz2"/>
1370   </mime-type>
1371   <mime-type type="application/x-bzip">
1372     <_comment>Bzip archive</_comment>
1373     <generic-icon name="package-x-generic"/>
1374     <magic priority="50">
1375       <match type="string" value="BZh" offset="0"/>
1376     </magic>
1377     <glob pattern="*.bz"/>
1378     <glob pattern="*.bz2"/>
1379     <alias type="application/x-bzip2"/>
1380   </mime-type>
1381   <mime-type type="application/x-bzip-compressed-tar">
1382     <_comment>Tar archive (bzip-compressed)</_comment>
1383     <generic-icon name="package-x-generic"/>
1384     <sub-class-of type="application/x-bzip"/>
1385     <glob pattern="*.tar.bz"/>
1386     <glob pattern="*.tar.bz2"/>
1387     <glob pattern="*.tbz"/>
1388     <glob pattern="*.tbz2"/>
1389   </mime-type>
1390   <mime-type type="application/x-bzpdf">
1391     <_comment>PDF document (bzip-compressed)</_comment>
1392     <generic-icon name="x-office-document"/>
1393     <glob pattern="*.pdf.bz2"/>
1394   </mime-type>
1395   <mime-type type="application/x-bzpostscript">
1396     <_comment>PostScript document (bzip-compressed)</_comment>
1397     <generic-icon name="x-office-document"/>
1398     <glob pattern="*.ps.bz2"/>
1399   </mime-type>
1400   <mime-type type="application/x-cbr">
1401     <_comment>comic book archive</_comment>
1402     <sub-class-of type="application/x-rar"/>
1403     <generic-icon name="x-office-document"/>
1404     <glob pattern="*.cbr"/>
1405   </mime-type>
1406   <mime-type type="application/x-cb7">
1407     <_comment>comic book archive</_comment>
1408     <sub-class-of type="application/x-7z-compressed"/>
1409     <generic-icon name="x-office-document"/>
1410     <glob pattern="*.cb7"/>
1411   </mime-type>
1412   <mime-type type="application/x-cbt">
1413     <_comment>comic book archive</_comment>
1414     <sub-class-of type="application/x-tar"/>
1415     <generic-icon name="x-office-document"/>
1416     <glob pattern="*.cbt"/>
1417   </mime-type>
1418   <mime-type type="application/x-cbz">
1419     <_comment>comic book archive</_comment>
1420     <sub-class-of type="application/zip"/>
1421     <generic-icon name="x-office-document"/>
1422     <glob pattern="*.cbz"/>
1423   </mime-type>
1424   <mime-type type="application/x-lrzip">
1425     <_comment>Lrzip archive</_comment>
1426     <generic-icon name="package-x-generic"/>
1427     <magic priority="50">
1428       <match type="string" value="LRZI" offset="0"/>
1429     </magic>
1430     <glob pattern="*.lrz"/>
1431   </mime-type>
1432   <mime-type type="application/x-lrzip-compressed-tar">
1433     <_comment>Tar archive (lrzip-compressed)</_comment>
1434     <generic-icon name="package-x-generic"/>
1435     <sub-class-of type="application/x-lrzip"/>
1436     <glob pattern="*.tar.lrz"/>
1437     <glob pattern="*.tlrz"/>
1438   </mime-type>
1439   <mime-type type="application/x-apple-diskimage">
1440     <_comment>Apple disk image</_comment>
1441     <glob pattern="*.dmg"/>
1442   </mime-type>
1443   <mime-type type="application/x-cd-image">
1444     <_comment>raw CD image</_comment>
1445     <alias type="application/x-iso9660-image"/>
1446     <glob pattern="*.iso"/>
1447     <glob pattern="*.iso9660"/>
1448   </mime-type>
1449   <mime-type type="application/x-cdrdao-toc">
1450     <_comment>CD Table Of Contents</_comment>
1451     <sub-class-of type="text/plain"/>
1452     <generic-icon name="text-x-generic"/>
1453     <magic priority="50">
1454       <match type="string" value="CD_ROM\n" offset="0"/>
1455       <match type="string" value="CD_DA\n" offset="0"/>
1456       <match type="string" value="CD_ROM_XA\n" offset="0"/>
1457       <match type="string" value="CD_TEXT " offset="0"/>
1458       <match type="string" value="CATALOG &quot;" offset="0">
1459         <match type="string" value="&quot;" offset="22"/>
1460       </match>
1461     </magic>
1462     <glob pattern="*.toc"/>
1463   </mime-type>
1464   <mime-type type="application/x-chess-pgn">
1465     <_comment>PGN chess game notation</_comment>
1466     <generic-icon name="text-x-generic"/>
1467     <glob pattern="*.pgn"/>
1468     <sub-class-of type="text/plain"/>
1469     <magic priority="50">
1470       <match type="string" value="[Event " offset="0"/>
1471     </magic>
1472   </mime-type>
1473   <mime-type type="application/vnd.ms-htmlhelp">
1474     <_comment>CHM document</_comment>
1475     <acronym>CHM</acronym>
1476     <expanded-acronym>Compiled Help Modules</expanded-acronym>
1477     <generic-icon name="x-office-document"/>
1478     <glob pattern="*.chm"/>
1479     <alias type="application/x-chm"/>
1480   </mime-type>
1481   <mime-type type="application/x-class-file">
1482     <_comment>Java byte code</_comment>
1483   </mime-type>
1484   <mime-type type="application/x-compress">
1485     <_comment>UNIX-compressed file</_comment>
1486     <generic-icon name="package-x-generic"/>
1487     <magic priority="50">
1488       <match type="string" value="\037\235" offset="0"/>
1489     </magic>
1490     <glob pattern="*.Z"/>
1491   </mime-type>
1492   <mime-type type="application/x-compressed-tar">
1493     <_comment>Tar archive (gzip-compressed)</_comment>
1494     <generic-icon name="package-x-generic"/>
1495     <glob pattern="*.tar.gz"/>
1496     <glob pattern="*.tgz"/>
1497     <glob pattern="*.taz"/>
1498   </mime-type>
1499   <mime-type type="application/x-core">
1500     <_comment>program crash data</_comment>
1501     <magic priority="50">
1502       <match type="string" mask="0xffffffff000000000000000000000000ff" value="\177ELF            \004" offset="0"/>
1503       <match type="string" value="\177ELF" offset="0">
1504         <match type="byte" value="1" offset="5">
1505           <match type="little16" value="4" offset="16"/>
1506         </match>
1507       </match>
1508       <match type="string" value="\177ELF" offset="0">
1509         <match type="byte" value="2" offset="5">
1510           <match type="big16" value="4" offset="16"/>
1511         </match>
1512       </match>
1513       <match type="string" value="Core\001" offset="0"/>
1514       <match type="string" value="Core\002" offset="0"/>
1515     </magic>
1516     <glob pattern="core" case-sensitive="true"/>
1517   </mime-type>
1518   <mime-type type="application/x-cpio">
1519     <_comment>CPIO archive</_comment>
1520     <generic-icon name="package-x-generic"/>
1521     <magic priority="50">
1522       <match type="host16" value="070707" offset="0"/>
1523       <match type="string" value="070701" offset="0"/>
1524       <match type="string" value="070702" offset="0"/>
1525       <match type="host16" value="0143561" offset="0"/>
1526     </magic>
1527     <glob pattern="*.cpio"/>
1528   </mime-type>
1529   <mime-type type="application/x-cpio-compressed">
1530     <_comment>CPIO archive (gzip-compressed)</_comment>
1531     <generic-icon name="package-x-generic"/>
1532     <glob pattern="*.cpio.gz"/>
1533   </mime-type>
1534   <mime-type type="application/x-csh">
1535     <_comment>C shell script</_comment>
1536     <sub-class-of type="application/x-shellscript"/>
1537     <sub-class-of type="text/plain"/>
1538     <generic-icon name="text-x-script"/>
1539     <magic>
1540       <match type="string" value="/bin/tcsh" offset="1:16"/>
1541       <match type="string" value="/bin/csh" offset="1:16"/>
1542       <match type="string" value="#!/usr/bin/env csh" offset="0"/>
1543       <match type="string" value="#!/usr/bin/env tcsh" offset="0"/>
1544     </magic>
1545     <glob pattern="*.csh"/>
1546   </mime-type>
1547   <mime-type type="application/x-dbf">
1548     <_comment>Xbase document</_comment>
1549     <generic-icon name="x-office-document"/>
1550     <glob pattern="*.dbf"/>
1551     <alias type="application/x-dbase"/>
1552     <alias type="application/dbf"/>
1553     <alias type="application/dbase"/>
1554   </mime-type>
1555   <mime-type type="application/ecmascript">
1556     <_comment>ECMAScript program</_comment>
1557     <alias type="text/ecmascript"/>
1558     <sub-class-of type="text/plain"/>
1559     <generic-icon name="text-x-script"/>
1560     <glob pattern="*.es"/>
1561   </mime-type>
1562   <mime-type type="application/x-dc-rom">
1563     <_comment>Dreamcast ROM</_comment>
1564     <generic-icon name="application-x-executable"/>
1565     <glob pattern="*.dc"/>
1566   </mime-type>
1567   <mime-type type="application/x-nintendo-ds-rom">
1568     <_comment>Nintendo DS ROM</_comment>
1569     <generic-icon name="application-x-executable"/>
1570     <glob pattern="*.nds"/>
1571   </mime-type>
1572   <mime-type type="application/x-deb">
1573     <_comment>Debian package</_comment>
1574     <alias type="application/x-debian-package"/>
1575     <generic-icon name="package-x-generic"/>
1576     <magic priority="50">
1577       <match type="string" value="!&lt;arch&gt;" offset="0">
1578         <match type="string" value="debian" offset="8"/>
1579       </match>
1580     </magic>
1581     <glob pattern="*.deb"/>
1582   </mime-type>
1583   <mime-type type="application/x-designer">
1584     <_comment>Qt Designer file</_comment>
1585     <generic-icon name="x-office-document"/>
1586     <sub-class-of type="application/xml"/>
1587     <magic>
1588       <match type="string" value="&lt;ui " offset="0:256"/>
1589       <match type="string" value="&lt;UI " offset="0:256"/>
1590     </magic>
1591     <glob pattern="*.ui"/>
1592   </mime-type>
1593   <mime-type type="text/x-qml">
1594     <_comment>Qt Markup Language file</_comment>
1595     <magic priority="80">
1596       <match type="string" value="import Qt " offset="0:256"/>
1597     </magic>
1598     <glob pattern="*.qml"/>
1599   </mime-type>
1600   <mime-type type="application/x-desktop">
1601     <_comment>desktop configuration file</_comment>
1602     <sub-class-of type="text/plain"/>
1603     <generic-icon name="text-x-generic"/>
1604     <magic priority="50">
1605       <match type="string" value="[Desktop Entry]" offset="0:32"/>
1606       <match type="string" value="[Desktop Action" offset="0"/>
1607       <match type="string" value="[KDE Desktop Entry]" offset="0"/>
1608       <match type="string" value="# Config File" offset="0"/>
1609       <match type="string" value="# KDE Config File" offset="0"/>
1610     </magic>
1611     <glob pattern="*.desktop"/>
1612     <glob pattern="*.kdelnk"/>
1613     <alias type="application/x-gnome-app-info"/>
1614   </mime-type>
1615   <mime-type type="application/x-fictionbook+xml">
1616     <_comment>FictionBook document</_comment>
1617     <sub-class-of type="application/xml"/>
1618     <glob pattern="*.fb2"/>
1619     <magic priority="80">
1620       <match type="string" value="&lt;FictionBook" offset="0:256"/>
1621     </magic>
1622     <alias type="application/x-fictionbook"/>
1623     <root-XML namespaceURI="http://www.gribuser.ru/xml/fictionbook/2.0" localName="FictionBook"/>
1624   </mime-type>
1625   <mime-type type="application/x-dia-diagram">
1626     <_comment>Dia diagram</_comment>
1627     <generic-icon name="image-x-generic"/>
1628     <sub-class-of type="application/xml"/>
1629     <glob pattern="*.dia"/>
1630     <magic priority="50">
1631       <match offset="5:100" type="string" value="&lt;dia:"/>
1632     </magic>
1633     <root-XML namespaceURI="http://www.lysator.liu.se/~alla/dia/" localName="diagram"/>
1634   </mime-type>
1635   <mime-type type="application/x-dia-shape">
1636     <_comment>Dia shape</_comment>
1637     <generic-icon name="image-x-generic"/>
1638     <sub-class-of type="application/xml"/>
1639     <glob pattern="*.shape"/>
1640     <magic priority="50">
1641       <match offset="5:100" type="string" value="&lt;shape"/>
1642     </magic>
1643     <root-XML namespaceURI="http://www.daa.com.au/~james/dia-shape-ns" localName="shape"/>
1644   </mime-type>
1645   <mime-type type="application/x-dvi">
1646     <_comment>TeX DVI document</_comment>
1647     <acronym>DVI</acronym>
1648     <expanded-acronym>Device independent file format</expanded-acronym>
1649     <generic-icon name="x-office-document"/>
1650     <magic priority="50">
1651       <match type="little16" value="0x02f7" offset="0"/>
1652     </magic>
1653     <glob pattern="*.dvi"/>
1654   </mime-type>
1655   <mime-type type="application/x-e-theme">
1656     <_comment>Enlightenment theme</_comment>
1657     <glob pattern="*.etheme"/>
1658   </mime-type>
1659   <mime-type type="application/x-egon">
1660     <_comment>Egon Animator animation</_comment>
1661     <generic-icon name="image-x-generic"/>
1662     <glob pattern="*.egon"/>
1663   </mime-type>
1664   <mime-type type="application/x-executable">
1665     <_comment>executable</_comment>
1666     <generic-icon name="application-x-executable"/>
1667     <magic priority="40">
1668       <match type="string" value="\177ELF" offset="0">
1669         <match type="byte" value="1" offset="5">
1670           <match type="little16" value="2" offset="16"/>
1671         </match>
1672       </match>
1673       <match type="string" value="\177ELF" offset="0">
1674         <match type="byte" value="2" offset="5">
1675           <match type="big16" value="2" offset="16"/>
1676         </match>
1677       </match>
1678       <match type="string" value="MZ" offset="0"/>
1679       <match type="little16" value="0x521c" offset="0"/>
1680       <match type="host16" value="0420" offset="0"/>
1681       <match type="host16" value="0421" offset="0"/>
1682       <match type="little16" value="0603" offset="0"/>
1683     </magic>
1684   </mime-type>
1685   <mime-type type="application/x-fluid">
1686     <_comment>FLTK Fluid file</_comment>
1687     <sub-class-of type="text/plain"/>
1688     <generic-icon name="x-office-document"/>
1689     <magic priority="50">
1690       <match type="string" value="# data file for the Fltk" offset="0"/>
1691     </magic>
1692     <glob pattern="*.fl"/>
1693   </mime-type>
1694   <mime-type type="application/x-font-type1">
1695     <_comment>Postscript type-1 font</_comment>
1696     <sub-class-of type="application/postscript"/>
1697     <generic-icon name="font-x-generic"/>
1698     <magic priority="60">
1699       <match type="string" value="LWFN" offset="0"/>
1700       <match type="string" value="LWFN" offset="65"/>
1701       <match type="string" value="%!PS-AdobeFont-1." offset="0"/>
1702       <match type="string" value="%!PS-AdobeFont-1." offset="6"/>
1703       <match type="string" value="%!FontType1-1." offset="0"/>
1704       <match type="string" value="%!FontType1-1." offset="6"/>
1705     </magic>
1706     <glob pattern="*.pfa"/>
1707     <glob pattern="*.pfb"/>
1708     <glob pattern="*.gsf"/>
1709   </mime-type>
1710   <mime-type type="application/x-font-afm">
1711     <_comment>Adobe font metrics</_comment>
1712     <generic-icon name="font-x-generic"/>
1713     <glob pattern="*.afm"/>
1714   </mime-type>
1715   <mime-type type="application/x-font-bdf">
1716     <_comment>BDF font</_comment>
1717     <generic-icon name="font-x-generic"/>
1718     <magic priority="50">
1719       <match type="string" value="STARTFONT\040" offset="0"/>
1720     </magic>
1721     <glob pattern="*.bdf"/>
1722   </mime-type>
1723   <mime-type type="application/x-font-dos">
1724     <_comment>DOS font</_comment>
1725     <generic-icon name="font-x-generic"/>
1726     <magic priority="50">
1727       <match type="string" value="\xff\x46\x4f\x4e" offset="0"/>
1728       <match type="string" value="\x00\x45\x47\x41" offset="7"/>
1729       <match type="string" value="\x00\x56\x49\x44" offset="7"/>
1730     </magic>
1731   </mime-type>
1732   <mime-type type="application/x-font-framemaker">
1733     <_comment>Adobe FrameMaker font</_comment>
1734     <generic-icon name="font-x-generic"/>
1735     <magic priority="50">
1736       <match type="string" value="&lt;MakerScreenFont" offset="0"/>
1737     </magic>
1738   </mime-type>
1739   <mime-type type="application/x-font-libgrx">
1740     <_comment>LIBGRX font</_comment>
1741     <generic-icon name="font-x-generic"/>
1742     <magic priority="50">
1743       <match type="string" value="\x14\x02\x59\x19" offset="0"/>
1744     </magic>
1745   </mime-type>
1746   <mime-type type="application/x-font-linux-psf">
1747     <_comment>Linux PSF console font</_comment>
1748     <generic-icon name="font-x-generic"/>
1749     <magic priority="50">
1750       <match type="string" value="\x36\x04" offset="0"/>
1751     </magic>
1752     <glob pattern="*.psf"/>
1753   </mime-type>
1754   <mime-type type="application/x-gz-font-linux-psf">
1755     <_comment>Linux PSF console font (gzip-compressed)</_comment>
1756     <sub-class-of type="application/x-gzip"/>
1757     <generic-icon name="font-x-generic"/>
1758     <glob pattern="*.psf.gz"/>
1759   </mime-type>
1760   <mime-type type="application/x-font-pcf">
1761     <_comment>PCF font</_comment>
1762     <generic-icon name="font-x-generic"/>
1763     <magic priority="50">
1764       <match type="string" value="\001fcp" offset="0"/>
1765     </magic>
1766     <glob pattern="*.pcf"/>
1767     <glob pattern="*.pcf.Z"/>
1768     <glob pattern="*.pcf.gz"/>
1769   </mime-type>
1770   <mime-type type="application/x-font-otf">
1771     <_comment>OpenType font</_comment>
1772     <generic-icon name="font-x-generic"/>
1773     <magic priority="50">
1774       <match type="string" value="OTTO" offset="0"/>
1775     </magic>
1776     <glob pattern="*.otf"/>
1777   </mime-type>
1778   <mime-type type="application/x-font-speedo">
1779     <_comment>Speedo font</_comment>
1780     <generic-icon name="font-x-generic"/>
1781     <magic priority="50">
1782       <match type="string" value="D1.0\015" offset="0"/>
1783     </magic>
1784     <glob pattern="*.spd"/>
1785   </mime-type>
1786   <mime-type type="application/x-font-sunos-news">
1787     <_comment>SunOS News font</_comment>
1788     <generic-icon name="font-x-generic"/>
1789     <magic priority="50">
1790       <match type="string" value="StartFont" offset="0"/>
1791       <match type="string" value="\x13\x7A\x29" offset="0"/>
1792       <match type="string" value="\x13\x7A\x2B" offset="8"/>
1793     </magic>
1794   </mime-type>
1795   <mime-type type="application/x-font-tex">
1796     <_comment>TeX font</_comment>
1797     <generic-icon name="font-x-generic"/>
1798     <magic priority="50">
1799       <match type="string" value="\367\203" offset="0"/>
1800       <match type="string" value="\367\131" offset="0"/>
1801       <match type="string" value="\367\312" offset="0"/>
1802     </magic>
1803   </mime-type>
1804   <mime-type type="application/x-font-tex-tfm">
1805     <_comment>TeX font metrics</_comment>
1806     <generic-icon name="font-x-generic"/>
1807     <magic priority="50">
1808       <match type="string" value="\000\021" offset="2"/>
1809       <match type="string" value="\000\022" offset="2"/>
1810     </magic>
1811   </mime-type>
1812   <mime-type type="application/x-font-ttf">
1813     <_comment>TrueType font</_comment>
1814     <generic-icon name="font-x-generic"/>
1815     <magic priority="50">
1816       <match type="string" value="FFIL" offset="0"/>
1817       <match type="string" value="FFIL" offset="65"/>
1818       <match type="string" value="\000\001\000\000\000" offset="0"/>
1819     </magic>
1820     <glob pattern="*.ttf"/>
1821     <glob pattern="*.ttc"/>
1822   </mime-type>
1823   <mime-type type="application/x-font-ttx">
1824     <_comment>TrueType XML font</_comment>
1825     <sub-class-of type="text/xml"/>
1826     <generic-icon name="font-x-generic"/>
1827     <magic priority="50">
1828       <match type="string" value="&lt;ttFont sfntVersion=&quot;\\x00\\x01\\x00\\x00&quot; ttLibVersion=&quot;" offset="0:256"/>
1829     </magic>
1830     <glob pattern="*.ttx"/>
1831   </mime-type>
1832   <mime-type type="application/x-font-vfont">
1833     <_comment>V font</_comment>
1834     <generic-icon name="font-x-generic"/>
1835     <magic priority="50">
1836       <match type="string" value="FONT" offset="0"/>
1837     </magic>
1838   </mime-type>
1839   <mime-type type="application/x-frame">
1840     <_comment>Adobe FrameMaker document</_comment>
1841     <generic-icon name="x-office-document"/>
1842     <magic priority="50">
1843       <match type="string" value="&lt;MakerFile" offset="0"/>
1844       <match type="string" value="&lt;MIFFile" offset="0"/>
1845       <match type="string" value="&lt;MakerDictionary" offset="0"/>
1846       <match type="string" value="&lt;MakerScreenFon" offset="0"/>
1847       <match type="string" value="&lt;MML" offset="0"/>
1848       <match type="string" value="&lt;Book" offset="0"/>
1849       <match type="string" value="&lt;Maker" offset="0"/>
1850     </magic>
1851   </mime-type>
1852   <mime-type type="application/x-gameboy-rom">
1853     <_comment>Game Boy ROM</_comment>
1854     <generic-icon name="application-x-executable"/>
1855     <glob pattern="*.gb"/>
1856   </mime-type>
1857   <mime-type type="application/x-gba-rom">
1858     <_comment>Game Boy Advance ROM</_comment>
1859     <generic-icon name="application-x-executable"/>
1860     <glob pattern="*.gba"/>
1861   </mime-type>
1862   <mime-type type="application/x-gdbm">
1863     <_comment>GDBM database</_comment>
1864     <acronym>GDBM</acronym>
1865     <expanded-acronym>GNU Database Manager</expanded-acronym>
1866     <magic priority="50">
1867       <match type="big32" value="0x13579ace" offset="0"/>
1868       <match type="little32" value="0x13579ace" offset="0"/>
1869       <match type="string" value="GDBM" offset="0"/>
1870     </magic>
1871   </mime-type>
1872   <mime-type type="application/x-genesis-rom">
1873     <!-- Translate this to Megadrive if the console was known as such in your locale
1874          Should be Megadrive in all but en_US: http://en.wikipedia.org/wiki/Megadrive#History -->
1875     <_comment>Genesis ROM</_comment>
1876     <generic-icon name="application-x-executable"/>
1877     <magic priority="50">
1878       <match type="string" value="SEGA" offset="256"/>
1879       <match type="string" value="EAGN" offset="640"/>
1880       <match type="string" value="EAMG" offset="640"/>
1881     </magic>
1882     <glob pattern="*.gen"/>
1883   </mime-type>
1884   <mime-type type="application/x-gettext-translation">
1885     <_comment>translated messages (machine-readable)</_comment>
1886     <glob pattern="*.gmo"/>
1887     <glob pattern="*.mo"/>
1888   </mime-type>
1889   <mime-type type="application/x-glade">
1890     <_comment>Glade project</_comment>
1891     <sub-class-of type="application/xml"/>
1892     <generic-icon name="x-office-document"/>
1893     <glob pattern="*.glade"/>
1894     <magic priority="50">
1895       <match type="string" value="&lt;glade-interface" offset="0:256"/>
1896     </magic>
1897   </mime-type>
1898   <mime-type type="application/x-gmc-link">
1899     <_comment>GMC link</_comment>
1900     <generic-icon name="text-x-generic"/>
1901     <magic priority="50">
1902       <match type="string" value="URL:" offset="0:32"/>
1903     </magic>
1904   </mime-type>
1905   <mime-type type="application/x-gnucash">
1906     <_comment>GnuCash financial data</_comment>
1907     <generic-icon name="x-office-spreadsheet"/>
1908     <glob pattern="*.gnucash"/>
1909     <glob pattern="*.gnc"/>
1910     <glob pattern="*.xac"/>
1911   </mime-type>
1912   <mime-type type="application/x-gnumeric">
1913     <_comment>Gnumeric spreadsheet</_comment>
1914     <generic-icon name="x-office-spreadsheet"/>
1915     <magic priority="50">
1916       <match type="string" value="gmr:Workbook" offset="0:64"/>
1917       <match type="string" value="gnm:Workbook" offset="0:64"/>
1918     </magic>
1919     <glob pattern="*.gnumeric"/>
1920   </mime-type>
1921   <mime-type type="application/x-gnuplot">
1922     <_comment>Gnuplot document</_comment>
1923     <sub-class-of type="text/plain"/>
1924     <generic-icon name="x-office-document"/>
1925     <glob pattern="*.gp"/>
1926     <glob pattern="*.gplt"/>
1927     <glob pattern="*.gnuplot"/>
1928   </mime-type>
1929   <mime-type type="application/x-graphite">
1930     <_comment>Graphite scientific graph</_comment>
1931     <generic-icon name="x-office-document"/>
1932     <glob pattern="*.gra"/>
1933   </mime-type>
1934   <mime-type type="application/x-gtktalog">
1935     <_comment>GTKtalog catalog</_comment>
1936     <generic-icon name="x-office-document"/>
1937     <magic priority="50">
1938       <match type="string" value="gtktalog " offset="4"/>
1939     </magic>
1940   </mime-type>
1941   <mime-type type="application/x-gzdvi">
1942     <_comment>TeX DVI document (gzip-compressed)</_comment>
1943     <sub-class-of type="application/x-gzip"/>
1944     <generic-icon name="x-office-document"/>
1945     <glob pattern="*.dvi.gz"/>
1946   </mime-type>
1947   <mime-type type="application/x-gzip">
1948     <_comment>Gzip archive</_comment>
1949     <generic-icon name="package-x-generic"/>
1950     <magic priority="50">
1951       <match type="string" value="\037\213" offset="0"/>
1952     </magic>
1953     <glob pattern="*.gz"/>
1954   </mime-type>
1955   <mime-type type="application/x-gzpdf">
1956     <_comment>PDF document (gzip-compressed)</_comment>
1957     <sub-class-of type="application/x-gzip"/>
1958     <generic-icon name="x-office-document"/>
1959     <glob pattern="*.pdf.gz"/>
1960   </mime-type>
1961   <mime-type type="application/x-gzpostscript">
1962     <_comment>PostScript document (gzip-compressed)</_comment>
1963     <sub-class-of type="application/x-gzip"/>
1964     <generic-icon name="x-office-document"/>
1965     <glob pattern="*.ps.gz"/>
1966   </mime-type>
1967   <mime-type type="application/x-hdf">
1968     <_comment>HDF document</_comment>
1969     <acronym>HDF</acronym>
1970     <expanded-acronym>Hierarchical Data Format</expanded-acronym>
1971     <generic-icon name="x-office-document"/>
1972     <magic priority="50">
1973       <match type="string" offset="0" value="\211HDF\r\n\032\n"/>
1974       <match type="string" offset="0" value="\016\003\023\001"/>
1975     </magic>
1976     <glob pattern="*.hdf"/>
1977     <glob pattern="*.hdf4"/>
1978     <glob pattern="*.h4"/>
1979     <glob pattern="*.hdf5"/>
1980     <glob pattern="*.h5"/>
1981   </mime-type>
1982   <mime-type type="application/x-ipod-firmware">
1983     <_comment>iPod firmware</_comment>
1984     <magic priority="50">
1985       <match type="string" value="S T O P" offset="0"/>
1986     </magic>
1987   </mime-type>
1988   <mime-type type="application/x-java-archive">
1989     <_comment>Java archive</_comment>
1990     <sub-class-of type="application/zip"/>
1991     <generic-icon name="package-x-generic"/>
1992     <alias type="application/x-jar"/>
1993     <alias type="application/java-archive"/>
1994     <glob pattern="*.jar"/>
1995   </mime-type>
1996   <mime-type type="application/x-java">
1997     <_comment>Java class</_comment>
1998     <magic priority="50">
1999       <match type="big32" value="0xcafebabe" offset="0"/>
2000     </magic>
2001     <alias type="application/java"/>
2002     <alias type="application/java-byte-code"/>
2003     <alias type="application/java-vm"/>
2004     <alias type="application/x-java-class"/>
2005     <alias type="application/x-java-vm"/>
2006     <glob pattern="*.class"/>
2007   </mime-type>
2008   <mime-type type="application/x-java-jnlp-file">
2009     <_comment>JNLP file</_comment>
2010     <acronym>JNLP</acronym>
2011     <expanded-acronym>Java Network Launching Protocol</expanded-acronym>
2012     <sub-class-of type="application/xml"/>
2013     <generic-icon name="text-x-script"/>
2014     <glob pattern="*.jnlp"/>
2015     <magic priority="50">
2016       <match type="string" value="&lt;jnlp" offset="0:256"/>
2017     </magic>
2018   </mime-type>
2019   <mime-type type="application/x-java-keystore">
2020     <_comment>Java keystore</_comment>
2021     <magic priority="50">
2022       <match type="host32" value="0xfeedfeed" offset="0"/>
2023     </magic>
2024     <glob pattern="*.jks"/>
2025     <glob pattern="*.ks"/>
2026     <glob pattern="cacerts"/>
2027   </mime-type>
2028   <mime-type type="application/x-java-jce-keystore">
2029     <_comment>Java JCE keystore</_comment>
2030     <acronym>JCE</acronym>
2031     <expanded-acronym>Java Cryptography Extension</expanded-acronym>
2032     <magic priority="50">
2033       <match type="host32" value="0xcececece" offset="0"/>
2034     </magic>
2035     <glob pattern="*.jceks"/>
2036   </mime-type>
2037   <mime-type type="application/x-java-pack200">
2038     <_comment>Pack200 Java archive</_comment>
2039     <generic-icon name="package-x-generic"/>
2040     <magic priority="50">
2041       <match type="big32" value="0xcafed00d" offset="0"/>
2042     </magic>
2043     <glob pattern="*.pack"/>
2044   </mime-type>
2045   <mime-type type="application/javascript">
2046     <_comment>JavaScript program</_comment>
2047     <alias type="application/x-javascript"/>
2048     <alias type="text/javascript"/>
2049     <sub-class-of type="text/x-csrc"/>
2050     <generic-icon name="text-x-script"/>
2051     <glob pattern="*.js"/>
2052   </mime-type>
2053   <mime-type type="application/x-jbuilder-project">
2054     <_comment>JBuilder project</_comment>
2055     <generic-icon name="x-office-document"/>
2056     <glob pattern="*.jpr"/>
2057     <glob pattern="*.jpx"/>
2058   </mime-type>
2059   <mime-type type="application/x-karbon">
2060     <_comment>Karbon14 drawing</_comment>
2061     <generic-icon name="image-x-generic"/>
2062     <magic priority="60">
2063       <match type="string" value="\037\213" offset="0">
2064         <match type="string" value="KOffice" offset="10">
2065           <match type="string" value="application/x-karbon\004\006" offset="18"/>
2066         </match>
2067       </match>
2068       <match type="string" value="PK\003\004" offset="0">
2069         <match type="string" value="mimetype" offset="30">
2070           <match type="string" value="application/x-karbon" offset="38"/>
2071         </match>
2072       </match>
2073     </magic>
2074     <glob pattern="*.karbon"/>
2075   </mime-type>
2076   <mime-type type="application/x-kchart">
2077     <_comment>KChart chart</_comment>
2078     <generic-icon name="x-office-spreadsheet"/>
2079     <magic priority="60">
2080       <match type="string" value="\037\213" offset="0">
2081         <match type="string" value="KOffice" offset="10">
2082           <match type="string" value="application/x-kchart\004\006" offset="18"/>
2083         </match>
2084       </match>
2085       <match type="string" value="PK\003\004" offset="0">
2086         <match type="string" value="mimetype" offset="30">
2087           <match type="string" value="application/x-kchart" offset="38"/>
2088         </match>
2089       </match>
2090     </magic>
2091     <glob pattern="*.chrt"/>
2092   </mime-type>
2093   <mime-type type="application/x-kexi-connectiondata">
2094     <_comment>Kexi settings for database server connection</_comment>
2095     <glob pattern="*.kexic"/>
2096   </mime-type>
2097   <mime-type type="application/x-kexiproject-shortcut">
2098     <_comment>shortcut to Kexi project on database server</_comment>
2099     <glob pattern="*.kexis"/>
2100   </mime-type>
2101   <mime-type type="application/x-kexiproject-sqlite2">
2102     <_comment>Kexi database file-based project</_comment>
2103     <sub-class-of type="application/x-sqlite2"/>
2104     <glob pattern="*.kexi"/>
2105   </mime-type>
2106   <mime-type type="application/x-kexiproject-sqlite3">
2107     <_comment>Kexi database file-based project</_comment>
2108     <sub-class-of type="application/x-sqlite3"/>
2109     <glob pattern="*.kexi"/>
2110     <alias type="application/x-vnd.kde.kexi"/>
2111     <alias type="application/x-kexiproject-sqlite"/>
2112   </mime-type>
2113   <mime-type type="application/x-kformula">
2114     <_comment>KFormula formula</_comment>
2115     <generic-icon name="x-office-document"/>
2116     <magic priority="60">
2117       <match type="string" value="\037\213" offset="0">
2118         <match type="string" value="KOffice" offset="10">
2119           <match type="string" value="application/x-kformula\004\006" offset="18"/>
2120         </match>
2121       </match>
2122       <match type="string" value="PK\003\004" offset="0">
2123         <match type="string" value="mimetype" offset="30">
2124           <match type="string" value="application/x-kformula" offset="38"/>
2125         </match>
2126       </match>
2127     </magic>
2128     <glob pattern="*.kfo"/>
2129   </mime-type>
2130   <mime-type type="application/x-killustrator">
2131     <_comment>KIllustrator drawing</_comment>
2132     <generic-icon name="image-x-generic"/>
2133     <magic priority="60">
2134       <match type="string" value="\037\213" offset="0">
2135         <match type="string" value="KOffice" offset="10">
2136           <match type="string" value="application/x-killustrator\004\006" offset="18"/>
2137         </match>
2138       </match>
2139     </magic>
2140     <glob pattern="*.kil"/>
2141   </mime-type>
2142   <mime-type type="application/x-kivio">
2143     <_comment>Kivio flowchart</_comment>
2144     <generic-icon name="x-office-document"/>
2145     <magic priority="60">
2146       <match type="string" value="\037\213" offset="0">
2147         <match type="string" value="KOffice" offset="10">
2148           <match type="string" value="application/x-kivio\004\006" offset="18"/>
2149         </match>
2150       </match>
2151       <match type="string" value="PK\003\004" offset="0">
2152         <match type="string" value="mimetype" offset="30">
2153           <match type="string" value="application/x-kivio" offset="38"/>
2154         </match>
2155       </match>
2156     </magic>
2157     <glob pattern="*.flw"/>
2158   </mime-type>
2159   <mime-type type="application/x-kontour">
2160     <_comment>Kontour drawing</_comment>
2161     <generic-icon name="image-x-generic"/>
2162     <magic priority="60">
2163       <match type="string" value="\037\213" offset="0">
2164         <match type="string" value="KOffice" offset="10">
2165           <match type="string" value="application/x-kontour\004\006" offset="18"/>
2166         </match>
2167       </match>
2168       <match type="string" value="PK\003\004" offset="0">
2169         <match type="string" value="mimetype" offset="30">
2170           <match type="string" value="application/x-kontour" offset="38"/>
2171         </match>
2172       </match>
2173     </magic>
2174     <glob pattern="*.kon"/>
2175   </mime-type>
2176   <mime-type type="application/x-kpovmodeler">
2177     <_comment>KPovModeler scene</_comment>
2178     <generic-icon name="image-x-generic"/>
2179     <glob pattern="*.kpm"/>
2180   </mime-type>
2181   <mime-type type="application/x-kpresenter">
2182     <_comment>KPresenter presentation</_comment>
2183     <generic-icon name="x-office-presentation"/>
2184     <magic priority="60">
2185       <match type="string" value="\037\213" offset="0">
2186         <match type="string" value="KOffice" offset="10">
2187           <match type="string" value="application/x-kpresenter\004\006" offset="18"/>
2188         </match>
2189       </match>
2190       <match type="string" value="PK\003\004" offset="0">
2191         <match type="string" value="mimetype" offset="30">
2192           <match type="string" value="application/x-kpresenter" offset="38"/>
2193         </match>
2194       </match>
2195     </magic>
2196     <glob pattern="*.kpr"/>
2197     <glob pattern="*.kpt"/>
2198   </mime-type>
2199   <mime-type type="application/x-krita">
2200     <_comment>Krita document</_comment>
2201     <generic-icon name="x-office-document"/>
2202     <magic priority="60">
2203       <match type="string" value="\037\213" offset="0">
2204         <match type="string" value="KOffice" offset="10">
2205           <match type="string" value="application/x-krita\004\006" offset="18"/>
2206         </match>
2207       </match>
2208       <match type="string" value="PK\003\004" offset="0">
2209         <match type="string" value="mimetype" offset="30">
2210           <match type="string" value="application/x-krita" offset="38"/>
2211         </match>
2212       </match>
2213     </magic>
2214     <glob pattern="*.kra"/>
2215   </mime-type>
2216   <mime-type type="application/x-kspread">
2217     <_comment>KSpread spreadsheet</_comment>
2218     <generic-icon name="x-office-spreadsheet"/>
2219     <magic priority="60">
2220       <match type="string" value="\037\213" offset="0">
2221         <match type="string" value="KOffice" offset="10">
2222           <match type="string" value="application/x-kspread\004\006" offset="18"/>
2223         </match>
2224       </match>
2225       <match type="string" value="PK\003\004" offset="0">
2226         <match type="string" value="mimetype" offset="30">
2227           <match type="string" value="application/x-kspread" offset="38"/>
2228         </match>
2229       </match>
2230     </magic>
2231     <glob pattern="*.ksp"/>
2232   </mime-type>
2233   <mime-type type="application/x-kspread-crypt">
2234     <_comment>KSpread spreadsheet (encrypted)</_comment>
2235     <generic-icon name="x-office-spreadsheet"/>
2236     <magic priority="50">
2237       <match type="big32" value="0x0d1a2702" offset="0"/>
2238     </magic>
2239   </mime-type>
2240   <mime-type type="application/x-ksysv-package">
2241     <_comment>KSysV init package</_comment>
2242     <generic-icon name="package-x-generic"/>
2243     <magic priority="50">
2244       <match type="string" value="KSysV" offset="4">
2245         <match type="byte" value="1" offset="15"/>
2246       </match>
2247     </magic>
2248   </mime-type>
2249   <mime-type type="application/x-kugar">
2250     <_comment>Kugar document</_comment>
2251     <generic-icon name="x-office-document"/>
2252     <glob pattern="*.kud"/>
2253   </mime-type>
2254   <mime-type type="application/x-kword">
2255     <_comment>KWord document</_comment>
2256     <generic-icon name="x-office-document"/>
2257     <magic priority="60">
2258       <match type="string" value="\037\213" offset="0">
2259         <match type="string" value="KOffice" offset="10">
2260           <match type="string" value="application/x-kword\004\006" offset="18"/>
2261         </match>
2262       </match>
2263       <match type="string" value="PK\003\004" offset="0">
2264         <match type="string" value="mimetype" offset="30">
2265           <match type="string" value="application/x-kword" offset="38"/>
2266         </match>
2267       </match>
2268     </magic>
2269     <glob pattern="*.kwd"/>
2270     <glob pattern="*.kwt"/>
2271   </mime-type>
2272   <mime-type type="application/x-kword-crypt">
2273     <_comment>KWord document (encrypted)</_comment>
2274     <generic-icon name="x-office-document"/>
2275     <magic priority="50">
2276       <match type="big32" value="0x0d1a2701" offset="0"/>
2277     </magic>
2278   </mime-type>
2279   <mime-type type="application/x-lha">
2280     <_comment>LHA archive</_comment>
2281     <generic-icon name="package-x-generic"/>
2282     <magic priority="50">
2283       <match type="string" value="-lh -" offset="2"/>
2284       <match type="string" value="-lh0-" offset="2"/>
2285       <match type="string" value="-lh1-" offset="2"/>
2286       <match type="string" value="-lh2-" offset="2"/>
2287       <match type="string" value="-lh3-" offset="2"/>
2288       <match type="string" value="-lh4-" offset="2"/>
2289       <match type="string" value="-lh5-" offset="2"/>
2290       <match type="string" value="-lh40-" offset="2"/>
2291       <match type="string" value="-lhd-" offset="2"/>
2292       <match type="string" value="-lz4-" offset="2"/>
2293       <match type="string" value="-lz5-" offset="2"/>
2294       <match type="string" value="-lzs-" offset="2"/>
2295     </magic>
2296     <glob pattern="*.lha"/>
2297     <glob pattern="*.lzh"/>
2298   </mime-type>
2299   <mime-type type="application/x-lhz">
2300     <_comment>LHZ archive</_comment>
2301     <generic-icon name="package-x-generic"/>
2302     <glob pattern="*.lhz"/>
2303   </mime-type>
2304   <mime-type type="text/vnd.trolltech.linguist">
2305     <_comment>message catalog</_comment>
2306     <sub-class-of type="application/xml"/>
2307     <magic>
2308       <match type="string" value="&lt;TS" offset="0:256"/>
2309     </magic>
2310     <glob pattern="*.ts"/>
2311     <alias type="application/x-linguist"/>
2312   </mime-type>
2313   <mime-type type="application/x-lyx">
2314     <_comment>LyX document</_comment>
2315     <sub-class-of type="text/plain"/>
2316     <generic-icon name="x-office-document"/>
2317     <magic priority="50">
2318       <match type="string" value="#LyX" offset="0"/>
2319     </magic>
2320     <glob pattern="*.lyx"/>
2321     <alias type="text/x-lyx"/>
2322   </mime-type>
2323   <mime-type type="application/x-lzip">
2324     <_comment>Lzip archive</_comment>
2325     <generic-icon name="package-x-generic"/>
2326     <magic priority="50">
2327       <match type="string" value="LZIP" offset="0"/>
2328     </magic>
2329     <glob pattern="*.lz"/>
2330   </mime-type>
2331   <mime-type type="application/x-lzma">
2332     <_comment>LZMA archive</_comment>
2333     <acronym>LZMA</acronym>
2334     <expanded-acronym>Lempel-Ziv-Markov chain-Algorithm</expanded-acronym>
2335     <generic-icon name="package-x-generic"/>
2336     <glob pattern="*.lzma"/>
2337   </mime-type>
2338   <mime-type type="application/x-lzma-compressed-tar">
2339     <_comment>Tar archive (LZMA-compressed)</_comment>
2340     <generic-icon name="package-x-generic"/>
2341     <glob pattern="*.tar.lzma"/>
2342     <glob pattern="*.tlz"/>
2343   </mime-type>
2344   <mime-type type="application/x-lzop">
2345     <_comment>LZO archive</_comment>
2346     <acronym>LZO</acronym>
2347     <expanded-acronym>Lempel-Ziv-Oberhumer</expanded-acronym>
2348     <generic-icon name="package-x-generic"/>
2349     <magic priority="50">
2350       <match type="string" value="\x89\x4c\x5a\x4f\x00\x0d\x0a\x1a\x0a" offset="0"/>
2351     </magic>
2352     <glob pattern="*.lzo"/>
2353   </mime-type>
2354   <mime-type type="application/x-magicpoint">
2355     <_comment>MagicPoint presentation</_comment>
2356     <sub-class-of type="text/plain"/>
2357     <generic-icon name="x-office-presentation"/>
2358     <glob pattern="*.mgp"/>
2359   </mime-type>
2360   <mime-type type="application/x-macbinary">
2361     <_comment>Macintosh MacBinary file</_comment>
2362     <generic-icon name="package-x-generic"/>
2363     <magic priority="50">
2364       <match type="string" value="mBIN" offset="102"/>
2365     </magic>
2366   </mime-type>
2367   <mime-type type="application/x-matroska">
2368     <_comment>Matroska stream</_comment>
2369     <generic-icon name="video-x-generic"/>
2370     <magic priority="50">
2371       <!-- EBML ID -->
2372       <match type="big32" value="0x1a45dfa3" offset="0">
2373         <!-- DocumentType ID -->
2374         <match type="big16" value="0x4282" offset="5:65">
2375           <!-- DocumentType -->
2376           <match type="string" value="matroska" offset="8:75"/>
2377         </match>
2378       </match>
2379     </magic>
2380   </mime-type>
2381   <mime-type type="video/x-matroska">
2382     <_comment>Matroska video</_comment>
2383     <glob pattern="*.mkv"/>
2384     <sub-class-of type="application/x-matroska"/>
2385   </mime-type>
2386   <mime-type type="audio/x-matroska">
2387     <_comment>Matroska audio</_comment>
2388     <glob pattern="*.mka"/>
2389     <sub-class-of type="application/x-matroska"/>
2390   </mime-type>
2391   <mime-type type="video/webm">
2392     <_comment>WebM video</_comment>
2393     <glob pattern="*.webm"/>
2394     <magic priority="50">
2395       <!-- EBML ID -->
2396       <match type="big32" value="0x1a45dfa3" offset="0">
2397         <!-- DocumentType ID -->
2398         <match type="big16" value="0x4282" offset="5:65">
2399           <!-- DocumentType -->
2400           <match type="string" value="webm" offset="8:75"/>
2401         </match>
2402       </match>
2403     </magic>
2404   </mime-type>
2405   <mime-type type="audio/webm">
2406     <_comment>WebM audio</_comment>
2407     <sub-class-of type="video/webm"/>
2408   </mime-type>
2409   <mime-type type="application/mxf">
2410     <_comment>MXF video</_comment>
2411     <acronym>MXF</acronym>
2412     <expanded-acronym>Material Exchange Format</expanded-acronym>
2413     <generic-icon name="video-x-generic"/>
2414     <magic priority="50">
2415       <match type="string" value="\x06\x0e\x2b\x34\x02\x05\x01\x01\x0d\x01\x02\x01\x01\x02" offset="0:256"/>
2416     </magic>
2417     <glob pattern="*.mxf"/>
2418   </mime-type>
2419   <mime-type type="text/x-ocl">
2420     <_comment>OCL file</_comment>
2421     <acronym>OCL</acronym>
2422     <expanded-acronym>Object Constraint Language</expanded-acronym>
2423     <sub-class-of type="text/plain"/>
2424     <glob pattern="*.ocl"/>
2425   </mime-type>
2426   <mime-type type="text/x-cobol">
2427     <_comment>COBOL source file</_comment>
2428     <acronym>COBOL</acronym>
2429     <expanded-acronym>COmmon Business Oriented Language</expanded-acronym>
2430     <sub-class-of type="text/plain"/>
2431     <glob pattern="*.cbl"/>
2432     <glob pattern="*.cob"/>
2433   </mime-type>
2434   <mime-type type="application/x-mobipocket-ebook">
2435     <_comment>Mobipocket e-book</_comment>
2436     <sub-class-of type="application/x-palm-database"/>
2437     <generic-icon name="x-office-document"/>
2438     <glob pattern="*.mobi"/>
2439     <glob pattern="*.prc"/>
2440     <magic priority="30">
2441       <!-- This also matches AportisDoc, so lower the priority and prefer extension -->
2442       <match type="string" offset="60" value="TEXtREAd" />
2443     </magic>
2444     <magic priority="80">
2445       <match type="string" offset="60" value="BOOKMOBI" />
2446     </magic>
2447   </mime-type>
2448   <mime-type type="application/x-mif">
2449     <_comment>Adobe FrameMaker MIF document</_comment>
2450     <glob pattern="*.mif"/>
2451   </mime-type>
2452   <mime-type type="application/x-mozilla-bookmarks">
2453     <_comment>Mozilla bookmarks</_comment>
2454     <sub-class-of type="text/html"/>
2455     <generic-icon name="text-html"/>
2456     <magic priority="80">
2457       <match type="string" value="&lt;!DOCTYPE NETSCAPE-Bookmark-file-1&gt;" offset="0:64"/>
2458     </magic>
2459     <alias type="application/x-netscape-bookmarks"/>
2460   </mime-type>
2461   <mime-type type="application/x-ms-dos-executable">
2462     <_comment>DOS/Windows executable</_comment>
2463     <generic-icon name="application-x-executable"/>
2464     <magic priority="50">
2465       <match type="string" value="MZ" offset="0"/>
2466     </magic>
2467     <glob pattern="*.exe"/>
2468   </mime-type>
2469   <mime-type type="application/x-mswinurl">
2470     <_comment>Internet shortcut</_comment>
2471     <magic priority="50">
2472       <match type="string" value="InternetShortcut" offset="1"/>
2473       <match type="string" value="DEFAULT" offset="1">
2474         <match type="string" value="BASEURL=" offset="11"/>
2475       </match>
2476     </magic>
2477     <glob pattern="*.url"/>
2478   </mime-type>
2479   <mime-type type="application/x-mswrite">
2480     <_comment>WRI document</_comment>
2481     <generic-icon name="x-office-document"/>
2482     <glob pattern="*.wri"/>
2483   </mime-type>
2484   <mime-type type="application/x-msx-rom">
2485     <_comment>MSX ROM</_comment>
2486     <generic-icon name="application-x-executable"/>
2487     <glob pattern="*.msx"/>
2488   </mime-type>
2489   <mime-type type="application/x-m4">
2490     <_comment>M4 macro</_comment>
2491     <sub-class-of type="text/plain"/>
2492     <generic-icon name="text-x-script"/>
2493     <glob pattern="*.m4"/>
2494   </mime-type>
2495   <mime-type type="application/x-n64-rom">
2496     <_comment>Nintendo64 ROM</_comment>
2497     <generic-icon name="application-x-executable"/>
2498     <glob pattern="*.n64"/>
2499   </mime-type>
2500   <mime-type type="application/x-nautilus-link">
2501     <_comment>Nautilus link</_comment>
2502     <sub-class-of type="text/plain"/>
2503     <generic-icon name="text-x-generic"/>
2504     <magic priority="50">
2505       <match type="string" value="&lt;nautilus_object nautilus_link" offset="0:32"/>
2506     </magic>
2507   </mime-type>
2508   <mime-type type="application/x-nes-rom">
2509     <!-- Translate this to Famicom if the console was known as such in your locale -->
2510     <_comment>NES ROM</_comment>
2511     <generic-icon name="application-x-executable"/>
2512     <glob pattern="*.nes"/>
2513   </mime-type>
2514   <mime-type type="application/x-netcdf">
2515     <_comment>Unidata NetCDF document</_comment>
2516     <acronym>NetCDF</acronym>
2517     <expanded-acronym>Network Common Data Form</expanded-acronym>
2518     <generic-icon name="x-office-document"/>
2519     <glob pattern="*.cdf"/>
2520     <glob pattern="*.nc"/>
2521   </mime-type>
2522   <mime-type type="application/x-nzb">
2523     <_comment>NewzBin usenet index</_comment>
2524     <sub-class-of type="application/xml"/>
2525     <magic priority="80">
2526       <match type="string" value="&lt;nzb" offset="0:256"/>
2527     </magic>
2528     <glob pattern="*.nzb"/>
2529   </mime-type>
2530   <mime-type type="application/x-object">
2531     <_comment>object code</_comment>
2532     <generic-icon name="x-office-document"/>
2533     <magic priority="50">
2534       <match type="string" value="\177ELF" offset="0">
2535         <match type="byte" value="1" offset="5">
2536           <match type="little16" value="1" offset="16"/>
2537         </match>
2538       </match>
2539       <match type="string" value="\177ELF" offset="0">
2540         <match type="byte" value="2" offset="5">
2541           <match type="big16" value="1" offset="16"/>
2542         </match>
2543       </match>
2544     </magic>
2545     <glob pattern="*.o"/>
2546   </mime-type>
2547   <mime-type type="application/annodex">
2548     <_comment>Annodex exchange format</_comment>
2549     <generic-icon name="video-x-generic"/>
2550     <magic priority="50">
2551       <match type="string" value="OggS" offset="0">
2552         <match type="string" value="fishead\0" offset="28">
2553           <match type="string" value="CMML\0\0\0\0" offset="56:512"/>
2554         </match>
2555       </match>
2556     </magic>
2557     <glob pattern="*.anx"/>
2558     <alias type="application/x-annodex"/>
2559   </mime-type>
2560   <mime-type type="video/annodex">
2561     <_comment>Annodex Video</_comment>
2562     <sub-class-of type="application/annodex"/>
2563     <magic priority="50">
2564       <match type="string" value="OggS" offset="0">
2565         <match type="string" value="fishead\0" offset="28">
2566           <match type="string" value="CMML\0\0\0\0" offset="56:512"/>
2567         </match>
2568       </match>
2569     </magic>
2570     <glob pattern="*.axv"/>
2571     <alias type="video/x-annodex"/>
2572   </mime-type>
2573   <mime-type type="audio/annodex">
2574     <_comment>Annodex Audio</_comment>
2575     <sub-class-of type="application/annodex"/>
2576     <magic priority="50">
2577       <match type="string" value="OggS" offset="0">
2578         <match type="string" value="fishead\0" offset="28">
2579           <match type="string" value="CMML\0\0\0\0" offset="56:512"/>
2580         </match>
2581       </match>
2582     </magic>
2583     <glob pattern="*.axa"/>
2584     <alias type="audio/x-annodex"/>
2585   </mime-type>
2586   <mime-type type="application/ogg">
2587     <_comment>Ogg multimedia file</_comment>
2588     <generic-icon name="video-x-generic"/>
2589     <alias type="application/x-ogg"/>
2590     <magic priority="50">
2591       <match type="string" value="OggS" offset="0"/>
2592     </magic>
2593     <glob pattern="*.ogx"/>
2594   </mime-type>
2595   <mime-type type="audio/ogg">
2596     <_comment>Ogg Audio</_comment>
2597     <sub-class-of type="application/ogg"/>
2598     <magic priority="50">
2599       <match type="string" value="OggS" offset="0"/>
2600     </magic>
2601     <glob pattern="*.oga"/>
2602     <glob pattern="*.ogg"/>
2603     <glob pattern="*.spx"/>
2604     <alias type="audio/x-ogg"/>
2605   </mime-type>
2606   <mime-type type="video/ogg">
2607     <_comment>Ogg Video</_comment>
2608     <sub-class-of type="application/ogg"/>
2609     <magic priority="50">
2610       <match type="string" value="OggS" offset="0"/>
2611     </magic>
2612     <glob pattern="*.ogv"/>
2613     <alias type="video/x-ogg"/>
2614   </mime-type>
2615   <mime-type type="audio/x-vorbis+ogg">
2616     <_comment>Ogg Vorbis audio</_comment>
2617     <sub-class-of type="audio/ogg"/>
2618     <alias type="audio/vorbis"/>
2619     <alias type="audio/x-vorbis"/>
2620     <magic priority="80">
2621       <match type="string" value="OggS" offset="0">
2622         <match type="string" value="\x01vorbis" offset="28"/>
2623       </match>
2624     </magic>
2625     <glob pattern="*.ogg"/>
2626   </mime-type>
2627   <mime-type type="audio/x-flac+ogg">
2628     <_comment>Ogg FLAC audio</_comment>
2629     <sub-class-of type="audio/ogg"/>
2630     <alias type="audio/x-oggflac"/>
2631     <magic priority="80">
2632       <match type="string" value="OggS" offset="0">
2633         <match type="string" value="fLaC" offset="28"/>
2634       </match>
2635       <match value="OggS" type="string" offset="0">
2636         <match value="\177FLAC" type="string" offset="28"/>
2637       </match>
2638     </magic>
2639     <glob pattern="*.ogg"/>
2640   </mime-type>
2641   <mime-type type="audio/x-speex+ogg">
2642     <_comment>Ogg Speex audio</_comment>
2643     <sub-class-of type="audio/ogg"/>
2644     <magic priority="80">
2645       <match type="string" value="OggS" offset="0">
2646         <match type="string" value="Speex  " offset="28"/>
2647       </match>
2648     </magic>
2649     <glob pattern="*.ogg"/>
2650   </mime-type>
2651   <mime-type type="audio/x-speex">
2652     <_comment>Speex audio</_comment>
2653     <magic priority="50">
2654       <match type="string" value="Speex" offset="0"/>
2655     </magic>
2656     <glob pattern="*.spx"/>
2657   </mime-type>
2658   <mime-type type="video/x-theora+ogg">
2659     <_comment>Ogg Theora video</_comment>
2660     <sub-class-of type="video/ogg"/>
2661     <alias type="video/x-theora"/>
2662     <magic priority="80">
2663       <match type="string" value="OggS" offset="0">
2664         <match type="string" value="\x80theora" offset="28"/>
2665       </match>
2666     </magic>
2667     <glob pattern="*.ogg"/>
2668   </mime-type>
2669   <mime-type type="video/x-ogm+ogg">
2670     <_comment>OGM video</_comment>
2671     <sub-class-of type="video/ogg"/>
2672     <alias type="video/x-ogm"/>
2673     <magic priority="80">
2674       <match type="string" value="OggS" offset="0">
2675         <match type="string" value="video" offset="29"/>
2676       </match>
2677     </magic>
2678     <glob pattern="*.ogm"/>
2679   </mime-type>
2680   <!-- These are typically compount document of various types, so prefer
2681        extensions for these -->
2682   <mime-type type="application/x-ole-storage">
2683     <_comment>OLE2 compound document storage</_comment>
2684     <generic-icon name="x-office-document"/>
2685     <magic priority="50">
2686       <match type="string" value="\320\317\021\340\241\261\032\341" offset="0"/>
2687       <match type="little32" value="0xe011cfd0" offset="0"/>
2688     </magic>
2689   </mime-type>
2690   <mime-type type="application/x-msi">
2691     <_comment>Windows Installer package</_comment>
2692     <sub-class-of type="application/x-ole-storage"/>
2693     <glob pattern="*.msi"/>
2694   </mime-type>
2695   <mime-type type="application/x-oleo">
2696     <_comment>GNU Oleo spreadsheet</_comment>
2697     <generic-icon name="x-office-spreadsheet"/>
2698     <magic priority="50">
2699       <match type="string" value="Oleo" offset="31"/>
2700     </magic>
2701     <glob pattern="*.oleo"/>
2702   </mime-type>
2703   <mime-type type="application/x-pak">
2704     <_comment>PAK archive</_comment>
2705     <generic-icon name="package-x-generic"/>
2706     <magic priority="80">
2707       <match offset="0" type="string" value="PACK" />
2708     </magic>
2709     <glob pattern="*.pak" />
2710   </mime-type>
2711   <mime-type type="application/x-palm-database">
2712     <_comment>Palm OS database</_comment>
2713     <glob pattern="*.pdb"/>
2714     <glob pattern="*.prc"/>
2715     <alias type="application/vnd.palm"/>
2716   </mime-type>
2717   <mime-type type="application/x-par2">
2718     <_comment>Parchive archive</_comment>
2719     <acronym>Parchive</acronym>
2720     <expanded-acronym>Parity Volume Set Archive</expanded-acronym>
2721     <generic-icon name="package-x-generic"/>
2722     <magic priority="50">
2723       <match offset="0" type="string" value="PAR2" />
2724     </magic>
2725     <glob pattern="*.PAR2" />
2726     <glob pattern="*.par2" />
2727   </mime-type>
2728   <mime-type type="application/x-pef-executable">
2729     <_comment>PEF executable</_comment>
2730     <generic-icon name="application-x-executable"/>
2731     <magic priority="50">
2732       <match type="string" value="Joy!" offset="0"/>
2733     </magic>
2734   </mime-type>
2735   <mime-type type="application/x-perl">
2736     <_comment>Perl script</_comment>
2737     <sub-class-of type="application/x-executable"/>
2738     <sub-class-of type="text/plain"/>
2739     <generic-icon name="text-x-script"/>
2740     <magic priority="50">
2741       <match type="string" value='eval \"exec /usr/local/bin/perl' offset="0"/>
2742       <match type="string" value="/bin/perl" offset="1:16"/>
2743       <match type="string" value="/bin/env perl" offset="1:16"/>
2744     </magic>
2745     <glob pattern="*.pl"/>
2746     <glob pattern="*.pm"/><!-- module -->
2747     <glob pattern="*.al"/><!-- autoloader -->
2748     <glob pattern="*.perl"/>
2749   </mime-type>
2750   <mime-type type="application/x-php">
2751     <_comment>PHP script</_comment>
2752     <sub-class-of type="text/plain"/>
2753     <generic-icon name="text-x-script"/>
2754     <magic priority="80">
2755       <match type="string" value="&lt;?php" offset="0:64"/>
2756     </magic>
2757     <glob pattern="*.php"/>
2758     <glob pattern="*.php3"/>
2759     <glob pattern="*.php4"/>
2760     <glob pattern="*.php5"/>
2761     <glob pattern="*.phps"/>
2762   </mime-type>
2763   <mime-type type="application/x-pkcs7-certificates">
2764     <_comment>PKCS#7 certificate bundle</_comment>
2765     <acronym>PKCS</acronym>
2766     <expanded-acronym>Public-Key Cryptography Standards</expanded-acronym>
2767     <glob pattern="*.p7b"/>
2768     <glob pattern="*.spc"/>
2769   </mime-type>
2770   <mime-type type="application/x-pkcs12">
2771     <_comment>PKCS#12 certificate bundle</_comment>
2772     <acronym>PKCS</acronym>
2773     <expanded-acronym>Public-Key Cryptography Standards</expanded-acronym>
2774     <glob pattern="*.p12"/>
2775     <glob pattern="*.pfx"/>
2776   </mime-type>
2777   <mime-type type="application/x-planperfect">
2778     <_comment>PlanPerfect spreadsheet</_comment>
2779     <generic-icon name="x-office-spreadsheet"/>
2780     <glob pattern="*.pln"/>
2781   </mime-type>
2782   <mime-type type="application/x-pocket-word">
2783     <_comment>Pocket Word document</_comment>
2784     <generic-icon name="x-office-document"/>
2785     <magic priority="50">
2786       <match type="string" value="{\\pwi" offset="0"/>
2787     </magic>
2788     <glob pattern="*.psw"/>
2789   </mime-type>
2790   <mime-type type="application/x-profile">
2791     <_comment>profiler results</_comment>
2792     <sub-class-of type="text/plain"/>
2793     <generic-icon name="text-x-generic"/>
2794     <glob pattern="gmon.out"/>
2795   </mime-type>
2796   <mime-type type="application/x-pw">
2797     <_comment>Pathetic Writer document</_comment>
2798     <generic-icon name="x-office-document"/>
2799     <glob pattern="*.pw"/>
2800   </mime-type>
2801   <mime-type type="application/x-python-bytecode">
2802     <_comment>Python bytecode</_comment>
2803     <magic priority="50">
2804       <match type="big32" value="0x994e0d0a" offset="0"/>
2805     </magic>
2806     <glob pattern="*.pyc"/>
2807     <glob pattern="*.pyo"/>
2808   </mime-type>
2809   <mime-type type="application/x-quattropro">
2810     <_comment>Quattro Pro spreadsheet</_comment>
2811     <generic-icon name="x-office-spreadsheet"/>
2812     <glob pattern="*.wb1"/>
2813     <glob pattern="*.wb2"/>
2814     <glob pattern="*.wb3"/>
2815   </mime-type>
2816   <mime-type type="application/x-quicktime-media-link">
2817     <_comment>QuickTime metalink playlist</_comment>
2818     <generic-icon name="video-x-generic"/>
2819     <sub-class-of type="video/quicktime"/>
2820     <alias type="application/x-quicktimeplayer"/>
2821     <magic priority="60">
2822       <match value="&lt;?xml" type="string" offset="0">
2823         <match type="string" value="&lt;?quicktime" offset="0:64"/>
2824       </match>
2825       <match value="RTSPtext" type="string" offset="0"/>
2826       <match value="rtsptext" type="string" offset="0"/>
2827       <match value="SMILtext" type="string" offset="0"/>
2828     </magic>
2829     <glob pattern="*.qtl"/>
2830   </mime-type>
2831   <mime-type type="application/x-qw">
2832     <_comment>Quicken document</_comment>
2833     <generic-icon name="x-office-spreadsheet"/>
2834     <glob pattern="*.qif"/>
2835   </mime-type>
2836   <mime-type type="application/x-rar">
2837     <_comment>RAR archive</_comment>
2838     <alias type="application/x-rar-compressed"/>
2839     <generic-icon name="package-x-generic"/>
2840     <magic priority="50">
2841       <match type="string" value="Rar!" offset="0"/>
2842     </magic>
2843     <glob pattern="*.rar"/>
2844   </mime-type>
2845   <mime-type type="application/x-dar">
2846     <_comment>DAR archive</_comment>
2847     <generic-icon name="package-x-generic"/>
2848     <magic>
2849       <match type="big32" value="123" offset="0"/>
2850     </magic>
2851     <glob pattern="*.dar"/>
2852   </mime-type>
2853   <mime-type type="application/x-alz">
2854     <_comment>Alzip archive</_comment>
2855     <generic-icon name="package-x-generic"/>
2856     <magic priority="50">
2857       <match type="string" value="ALZ" offset="0"/>
2858     </magic>
2859     <glob pattern="*.alz"/>
2860   </mime-type>
2861   <mime-type type="text/x-reject">
2862     <_comment>rejected patch</_comment>
2863     <sub-class-of type="text/plain"/>
2864     <generic-icon name="text-x-generic"/>
2865     <alias type="application/x-reject"/>
2866     <glob pattern="*.rej"/>
2867   </mime-type>
2868   <mime-type type="application/x-rpm">
2869     <_comment>RPM package</_comment>
2870     <generic-icon name="package-x-generic"/>
2871     <alias type="application/x-redhat-package-manager" />
2872     <magic priority="50">
2873       <match type="string" value="\xed\xab\xee\xdb" offset="0"/>
2874     </magic>
2875     <glob pattern="*.rpm"/>
2876   </mime-type>
2877   <mime-type type="application/x-ruby">
2878     <_comment>Ruby script</_comment>
2879     <sub-class-of type="application/x-executable"/>
2880     <sub-class-of type="text/plain"/>
2881     <generic-icon name="text-x-script"/>
2882     <magic>
2883       <match type="string" value="/bin/env ruby" offset="1:16"/>
2884       <match type="string" value="/bin/ruby" offset="1:16"/>
2885     </magic>
2886     <glob pattern="*.rb"/>
2887   </mime-type>
2888   <mime-type type="application/x-markaby">
2889     <_comment>Markaby script</_comment>
2890     <sub-class-of type="application/x-ruby"/>
2891     <generic-icon name="text-x-script"/>
2892     <glob pattern="*.mab"/>
2893   </mime-type>
2894   <mime-type type="application/x-sc">
2895     <_comment>SC/Xspread spreadsheet</_comment>
2896     <generic-icon name="x-office-spreadsheet"/>
2897     <magic priority="50">
2898       <match type="string" value="Spreadsheet" offset="38"/>
2899     </magic>
2900   </mime-type>
2901   <mime-type type="application/x-shar">
2902     <_comment>shell archive</_comment>
2903     <generic-icon name="package-x-generic"/>
2904     <glob pattern="*.shar"/>
2905   </mime-type>
2906   <mime-type type="application/x-shared-library-la">
2907     <_comment>libtool shared library</_comment>
2908     <sub-class-of type="text/plain"/>
2909     <generic-icon name="text-x-script"/>
2910     <glob pattern="*.la"/>
2911   </mime-type>
2912   <mime-type type="application/x-sharedlib">
2913     <_comment>shared library</_comment>
2914     <magic priority="50">
2915       <match type="string" value="\177ELF" offset="0">
2916         <match type="byte" value="1" offset="5">
2917           <match type="little16" value="3" offset="16"/>
2918         </match>
2919       </match>
2920       <match type="string" value="\177ELF" offset="0">
2921         <match type="byte" value="2" offset="5">
2922           <match type="big16" value="3" offset="16"/>
2923         </match>
2924       </match>
2925       <match type="little16" value="0603" offset="0">
2926         <match type="little16" mask="030000" value="020000" offset="22"/>
2927       </match>
2928       <match type="string" mask="0xffffffff000000000000000000000000ff" value="\177ELF            \003" offset="0"/>
2929     </magic>
2930     <glob pattern="*.so"/>
2931   </mime-type>
2932   <mime-type type="application/x-shellscript">
2933     <_comment>shell script</_comment>
2934     <sub-class-of type="application/x-executable"/>
2935     <sub-class-of type="text/plain"/>
2936     <alias type="text/x-sh"/>
2937     <generic-icon name="text-x-script"/>
2938     <magic priority="50">
2939       <match type="string" value="# This is a shell archive" offset="10"/>
2940       <match type="string" value="/bin/bash" offset="1:16"/>
2941       <match type="string" value="/bin/nawk" offset="1:16"/>
2942       <match type="string" value="/bin/zsh" offset="1:16"/>
2943       <match type="string" value="/bin/sh" offset="1:16"/>
2944       <match type="string" value="/bin/ksh" offset="1:16"/>
2945       <match type="string" value="/bin/dash" offset="1:16"/>
2946       <match type="string" value="#!/usr/bin/env sh" offset="0"/>
2947       <match type="string" value="#!/usr/bin/env bash" offset="0"/>
2948       <match type="string" value="#!/usr/bin/env zsh" offset="0"/>
2949       <match type="string" value="#!/usr/bin/env ksh" offset="0"/>
2950     </magic>
2951     <glob pattern="*.sh"/>
2952   </mime-type>
2953   <mime-type type="application/x-shockwave-flash">
2954     <_comment>Shockwave Flash file</_comment>
2955     <alias type="application/futuresplash"/>
2956     <generic-icon name="video-x-generic"/>
2957     <magic priority="50">
2958       <match type="string" value="FWS" offset="0"/>
2959       <match type="string" value="CWS" offset="0"/>
2960     </magic>
2961     <glob pattern="*.swf"/>
2962     <glob pattern="*.spl"/>
2963   </mime-type>
2964   <mime-type type="application/x-shorten">
2965     <!-- translators: "Shorten" is the name of an audio codec -->
2966     <_comment>Shorten audio</_comment>
2967     <generic-icon name="audio-x-generic"/>
2968     <magic priority="50">
2969       <match type="string" value="ajkg" offset="0"/>
2970     </magic>
2971     <glob pattern="*.shn"/>
2972   </mime-type>
2973   <mime-type type="application/x-siag">
2974     <_comment>Siag spreadsheet</_comment>
2975     <generic-icon name="x-office-spreadsheet"/>
2976     <glob pattern="*.siag"/>
2977   </mime-type>
2978   <mime-type type="image/x-skencil">
2979     <_comment>Skencil document</_comment>
2980     <glob pattern="*.sk"/>
2981     <glob pattern="*.sk1"/>
2982     <magic priority="50">
2983       <match type="string" value="##Sketch" offset="0"/>
2984     </magic>
2985   </mime-type>
2986   <mime-type type="application/x-slp">
2987     <_comment>Stampede package</_comment>
2988     <generic-icon name="package-x-generic"/>
2989   </mime-type>
2990   <mime-type type="application/x-sms-rom">
2991     <_comment>Sega Master System/Game Gear ROM</_comment>
2992     <generic-icon name="application-x-executable"/>
2993     <glob pattern="*.sms"/>
2994     <glob pattern="*.gg"/>
2995   </mime-type>
2996   <mime-type type="application/x-snes-rom">
2997     <!-- Translate this as Super Famicom (in Far East Asia) or Super Nintendo (in Europe) if the console was known as such in your locale -->
2998     <_comment>Super NES ROM</_comment>
2999     <generic-icon name="application-x-executable"/>
3000     <glob pattern="*.smc"/>
3001   </mime-type>
3002   <mime-type type="application/x-stuffit">
3003     <_comment>StuffIt archive</_comment>
3004     <generic-icon name="package-x-generic"/>
3005     <alias type="application/stuffit"/>
3006     <alias type="application/x-sit"/>
3007     <magic priority="50">
3008       <match type="string" value="StuffIt " offset="0"/>
3009       <match type="string" value="SIT!" offset="0"/>
3010     </magic>
3011     <glob pattern="*.sit"/>
3012   </mime-type>
3013   <mime-type type="application/x-subrip">
3014     <_comment>SubRip subtitles</_comment>
3015     <alias type="application/x-srt"/>
3016     <sub-class-of type="text/plain"/>
3017     <generic-icon name="text-x-generic"/>
3018     <magic priority="50">
3019       <match type="string" value="1" offset="0">
3020         <match type="string" value=" --> " offset="0:256"/>
3021       </match>
3022     </magic>
3023     <glob pattern="*.srt"/>
3024   </mime-type>
3025   <mime-type type="text/vtt">
3026     <_comment>WebVTT subtitles</_comment>
3027     <acronym>VTT</acronym>
3028     <expanded-acronym>Video Text Tracks</expanded-acronym>
3029     <sub-class-of type="text/plain"/>
3030     <generic-icon name="text-x-generic"/>
3031     <magic priority="50">
3032       <match type="string" value="WEBVTT" offset="0"/>
3033     </magic>
3034     <glob pattern="*.vtt"/>
3035   </mime-type>
3036   <mime-type type="application/x-sami">
3037     <_comment>SAMI subtitles</_comment>
3038     <acronym>SAMI</acronym>
3039     <expanded-acronym>Synchronized Accessible Media Interchange</expanded-acronym>
3040     <sub-class-of type="text/plain"/>
3041     <generic-icon name="text-x-generic"/>
3042     <magic priority="50">
3043       <match type="string" value="&lt;SAMI&gt;" offset="0:256"/>
3044     </magic>
3045     <glob pattern="*.smi"/>
3046     <glob pattern="*.sami"/>
3047   </mime-type>
3048   <mime-type type="text/x-microdvd">
3049     <_comment>MicroDVD subtitles</_comment>
3050     <sub-class-of type="text/plain"/>
3051     <magic priority="50">
3052       <match type="string" value="{1}" offset="0"/>
3053       <match type="string" value="{0}" offset="0"/>
3054       <match type="string" value="}{" offset="0:6"/>
3055     </magic>
3056     <glob pattern="*.sub"/>
3057   </mime-type>
3058   <mime-type type="text/x-mpsub">
3059     <_comment>MPSub subtitles</_comment>
3060     <acronym>MPSub</acronym>
3061     <expanded-acronym>MPlayer Subtitle</expanded-acronym>
3062     <sub-class-of type="text/plain"/>
3063     <magic priority="50">
3064       <match type="string" value="FORMAT=" offset="0:256"/>
3065     </magic>
3066     <glob pattern="*.sub"/>
3067   </mime-type>
3068   <mime-type type="text/x-ssa">
3069     <_comment>SSA subtitles</_comment>
3070     <acronym>SSA</acronym>
3071     <expanded-acronym>SubStation Alpha</expanded-acronym>
3072     <sub-class-of type="text/plain"/>
3073     <magic priority="50">
3074       <match type="string" value="[Script Info]" offset="0:256"/>
3075       <match type="string" value="Dialogue: " offset="0:256"/>
3076     </magic>
3077     <glob pattern="*.ssa"/>
3078     <glob pattern="*.ass"/>
3079   </mime-type>
3080   <mime-type type="text/x-subviewer">
3081     <_comment>SubViewer subtitles</_comment>
3082     <sub-class-of type="text/plain"/>
3083     <magic priority="50">
3084       <match type="string" value="[INFORMATION]" offset="0"/>
3085     </magic>
3086     <glob pattern="*.sub"/>
3087   </mime-type>
3088   <mime-type type="text/x-iMelody">
3089     <_comment>iMelody ringtone</_comment>
3090     <magic priority="50">
3091       <match type="string" value="BEGIN:IMELODY" offset="0"/>
3092     </magic>
3093     <glob pattern="*.imy"/>
3094     <glob pattern="*.ime"/>
3095     <alias type="audio/x-iMelody"/>
3096     <alias type="audio/iMelody" />
3097   </mime-type>
3098   <mime-type type="application/x-smaf">
3099     <_comment>SMAF audio</_comment>
3100     <acronym>SMAF</acronym>
3101     <expanded-acronym>Synthetic music Mobile Application Format</expanded-acronym>
3102     <generic-icon name="audio-x-generic"/>
3103     <magic priority="50">
3104       <match type="string" value="MMMD" offset="0"/>
3105     </magic>
3106     <glob pattern="*.mmf"/>
3107     <glob pattern="*.smaf"/>
3108     <alias type="application/vnd.smaf"/>
3109   </mime-type>
3110   <mime-type type="text/x-mrml">
3111     <_comment>MRML playlist</_comment>
3112     <acronym>MRML</acronym>
3113     <expanded-acronym>Multimedia Retrieval Markup Language</expanded-acronym>
3114     <magic priority="50">
3115       <match type="string" value="&lt;mrml " offset="0"/>
3116     </magic>
3117     <glob pattern="*.mrml"/>
3118     <glob pattern="*.mrl"/>
3119   </mime-type>
3120   <mime-type type="audio/x-xmf">
3121     <_comment>XMF audio</_comment>
3122     <acronym>XMF</acronym>
3123     <expanded-acronym>eXtensible Music Format</expanded-acronym>
3124     <magic priority="50">
3125       <match type="string" value="XMF_" offset="0"/>
3126       <match type="string" value="\130\115\106\137\062\056\060\060\000\000\000\002" offset="0"/>
3127     </magic>
3128     <glob pattern="*.xmf"/>
3129     <alias type="audio/xmf"/>
3130     <alias type="audio/mobile-xmf"/>
3131   </mime-type>
3132   <mime-type type="application/x-sv4cpio">
3133     <_comment>SV4 CPIO archive</_comment>
3134     <generic-icon name="package-x-generic"/>
3135     <glob pattern="*.sv4cpio"/>
3136   </mime-type>
3137   <mime-type type="application/x-sv4crc">
3138     <_comment>SV4 CPIO archive (with CRC)</_comment>
3139     <generic-icon name="package-x-generic"/>
3140     <glob pattern="*.sv4crc"/>
3141   </mime-type>
3142   <mime-type type="application/x-tar">
3143     <_comment>Tar archive</_comment>
3144     <generic-icon name="package-x-generic"/>
3145     <alias type="application/x-gtar"/>
3146     <magic priority="50">
3147       <match type="string" value="ustar\0" offset="257"/>
3148       <match type="string" value="ustar\040\040\0" offset="257"/>
3149     </magic>
3150     <glob pattern="*.tar"/>
3151     <glob pattern="*.gtar"/>
3152     <glob pattern="*.gem"/>
3153   </mime-type>
3154   <mime-type type="application/x-tarz">
3155     <_comment>Tar archive (compressed)</_comment>
3156     <generic-icon name="package-x-generic"/>
3157     <glob pattern="*.tar.Z"/>
3158   </mime-type>
3159   <mime-type type="application/x-tex-gf">
3160     <_comment>generic font file</_comment>
3161     <generic-icon name="font-x-generic"/>
3162     <glob pattern="*.gf"/>
3163   </mime-type>
3164   <mime-type type="application/x-tex-pk">
3165     <_comment>packed font file</_comment>
3166     <generic-icon name="font-x-generic"/>
3167     <glob pattern="*.pk"/>
3168   </mime-type>
3169   <mime-type type="application/x-tgif">
3170     <_comment>TGIF document</_comment>
3171     <generic-icon name="x-office-document"/>
3172     <magic priority="50">
3173       <match type="string" value="%TGIF" offset="0"/>
3174     </magic>
3175     <glob pattern="*.obj"/>
3176   </mime-type>
3177   <mime-type type="application/x-theme">
3178     <_comment>theme</_comment>
3179     <sub-class-of type="application/x-desktop"/>
3180     <generic-icon name="package-x-generic"/>
3181     <glob pattern="*.theme"/>
3182   </mime-type>
3183   <mime-type type="application/x-toutdoux">
3184     <_comment>ToutDoux document</_comment>
3185     <generic-icon name="x-office-document"/>
3186   </mime-type>
3187   <mime-type type="application/x-trash">
3188     <_comment>backup file</_comment>
3189     <glob pattern="*~"/>
3190     <glob pattern="*%"/>
3191     <glob pattern="*.bak"/>
3192     <glob pattern="*.old"/>
3193     <glob pattern="*.sik"/>
3194   </mime-type>
3195   <mime-type type="text/troff">
3196     <_comment>Troff document</_comment>
3197     <sub-class-of type="text/plain"/>
3198     <alias type="application/x-troff"/>
3199     <alias type="text/x-troff"/>
3200     <magic priority="50">
3201       <match type="string" value='.\\\"' offset="0"/>
3202       <match type="string" value="'\\\&quot;" offset="0"/>
3203       <match type="string" value="'.\\\&quot;" offset="0"/>
3204       <match type="string" value='\\\"' offset="0"/>
3205     </magic>
3206     <glob pattern="*.tr"/>
3207     <glob pattern="*.roff"/>
3208     <glob pattern="*.t"/>
3209   </mime-type>
3210   <mime-type type="application/x-troff-man">
3211     <_comment>Troff document (with manpage macros)</_comment>
3212     <sub-class-of type="text/plain"/>
3213     <generic-icon name="text-x-generic"/>
3214     <glob pattern="*.man"/>
3215   </mime-type>
3216   <mime-type type="application/x-troff-man-compressed">
3217     <_comment>manual page (compressed)</_comment>
3218     <generic-icon name="text-x-generic"/>
3219   </mime-type>
3220   <mime-type type="application/x-tzo">
3221     <_comment>Tar archive (LZO-compressed)</_comment>
3222     <generic-icon name="package-x-generic"/>
3223     <glob pattern="*.tar.lzo"/>
3224     <glob pattern="*.tzo"/>
3225   </mime-type>
3226   <mime-type type="application/x-xz">
3227     <_comment>XZ archive</_comment>
3228     <generic-icon name="package-x-generic"/>
3229     <magic priority="50">
3230       <match type="string" value="\xfd\x37\x7a\x58\x5a\x00" offset="0"/>
3231     </magic>
3232     <glob pattern="*.xz"/>
3233   </mime-type>
3234   <mime-type type="application/x-xz-compressed-tar">
3235     <_comment>Tar archive (XZ-compressed)</_comment>
3236     <generic-icon name="package-x-generic"/>
3237     <glob pattern="*.tar.xz"/>
3238     <glob pattern="*.txz"/>
3239   </mime-type>
3240   <mime-type type="application/x-xzpdf">
3241     <_comment>PDF document (XZ-compressed)</_comment>
3242     <sub-class-of type="application/x-xz"/>
3243     <generic-icon name="x-office-document"/>
3244     <glob pattern="*.pdf.xz"/>
3245   </mime-type>
3246   <mime-type type="application/x-ustar">
3247     <_comment>Ustar archive</_comment>
3248     <generic-icon name="package-x-generic"/>
3249     <glob pattern="*.ustar"/>
3250   </mime-type>
3251   <mime-type type="application/x-wais-source">
3252     <_comment>WAIS source code</_comment>
3253     <generic-icon name="text-x-generic"/>
3254     <glob pattern="*.src"/>
3255   </mime-type>
3256   <mime-type type="application/x-wpg">
3257     <_comment>WordPerfect/Drawperfect image</_comment>
3258     <generic-icon name="image-x-generic"/>
3259     <glob pattern="*.wpg"/>
3260   </mime-type>
3261   <mime-type type="application/x-x509-ca-cert">
3262     <_comment>DER/PEM/Netscape-encoded X.509 certificate</_comment>
3263     <generic-icon name="text-x-generic"/>
3264     <glob pattern="*.der"/>
3265     <glob pattern="*.crt"/>
3266     <glob pattern="*.cert"/>
3267     <glob pattern="*.pem"/>
3268   </mime-type>
3269   <mime-type type="application/x-zerosize">
3270     <_comment>empty document</_comment>
3271   </mime-type>
3272   <mime-type type="application/x-zoo">
3273     <_comment>Zoo archive</_comment>
3274     <generic-icon name="package-x-generic"/>
3275     <magic priority="50">
3276       <match type="little32" value="0xfdc4a7dc" offset="20"/>
3277     </magic>
3278     <glob pattern="*.zoo"/>
3279   </mime-type>
3280   <mime-type type="application/xhtml+xml">
3281     <_comment>XHTML page</_comment>
3282     <acronym>XHTML</acronym>
3283     <expanded-acronym>Extensible HyperText Markup Language</expanded-acronym>
3284     <sub-class-of type="application/xml"/>
3285     <generic-icon name="text-html"/>
3286     <glob pattern="*.xhtml"/>
3287     <root-XML namespaceURI='http://www.w3.org/1999/xhtml' localName='html'/>
3288   </mime-type>
3289   <mime-type type="application/zip">
3290     <_comment>Zip archive</_comment>
3291     <alias type="application/x-zip-compressed"/>
3292     <alias type="application/x-zip"/>
3293     <generic-icon name="package-x-generic"/>
3294     <magic priority="40">
3295       <match type="string" value="PK\003\004" offset="0"/>
3296     </magic>
3297     <glob pattern="*.zip"/>
3298   </mime-type>
3299   <mime-type type="application/x-ms-wim">
3300     <_comment>Windows Imaging Format Disk Image</_comment>
3301     <magic>
3302       <match type="string" value="MSWIM\000\000\000" offset="0"/>
3303     </magic>
3304     <glob pattern="*.wim"/>
3305     <glob pattern="*.swm"/>
3306   </mime-type>
3307   <mime-type type="audio/ac3">
3308     <_comment>Dolby Digital audio</_comment>
3309     <magic priority="50">
3310       <match type="big16" value="0x0b77" offset="0"/>
3311     </magic>
3312     <glob pattern="*.ac3"/>
3313   </mime-type>
3314   <mime-type type="audio/AMR">
3315     <_comment>AMR audio</_comment>
3316     <acronym>AMR</acronym>
3317     <expanded-acronym>Adaptive Multi-Rate</expanded-acronym>
3318     <magic priority="50">
3319       <match type="string" value="#!AMR\n" offset="0"/>
3320       <match type="string" value="#!AMR_MC1.0\n" offset="0"/>
3321     </magic>
3322     <glob pattern="*.amr"/>
3323   </mime-type>
3324   <mime-type type="audio/AMR-WB">
3325     <_comment>AMR-WB audio</_comment>
3326     <acronym>AMR-WB</acronym>
3327     <expanded-acronym>Adaptive Multi-Rate Wideband</expanded-acronym>
3328     <magic priority="50">
3329       <match type="string" value="#!AMR-WB\n" offset="0"/>
3330       <match type="string" value="#!AMR-WB_MC1.0\n" offset="0"/>
3331     </magic>
3332     <glob pattern="*.awb"/>
3333   </mime-type>
3334   <mime-type type="audio/basic">
3335     <_comment>ULAW (Sun) audio</_comment>
3336     <magic priority="40">
3337       <match type="string" value=".snd" offset="0"/>
3338     </magic>
3339     <glob pattern="*.au"/>
3340     <glob pattern="*.snd"/>
3341   </mime-type>
3342   <mime-type type="audio/prs.sid">
3343     <_comment>Commodore 64 audio</_comment>
3344     <magic priority="50">
3345       <match type="string" value="PSID" offset="0"/>
3346     </magic>
3347     <glob pattern="*.sid"/>
3348     <glob pattern="*.psid"/>
3349   </mime-type>
3350   <mime-type type="audio/x-adpcm">
3351     <_comment>PCM audio</_comment>
3352     <magic priority="50">
3353       <match type="string" value=".snd" offset="0">
3354         <match type="big32" value="23" offset="12"/>
3355       </match>
3356       <match type="little32" value="0x0064732E" offset="0">
3357         <match type="little32" value="1" offset="12"/>
3358         <match type="little32" value="2" offset="12"/>
3359         <match type="little32" value="3" offset="12"/>
3360         <match type="little32" value="4" offset="12"/>
3361         <match type="little32" value="5" offset="12"/>
3362         <match type="little32" value="6" offset="12"/>
3363         <match type="little32" value="7" offset="12"/>
3364         <match type="little32" value="23" offset="12"/>
3365       </match>
3366     </magic>
3367   </mime-type>
3368   <mime-type type="audio/x-aifc">
3369     <_comment>AIFC audio</_comment>
3370     <magic priority="50">
3371       <match type="string" value="AIFC" offset="8"/>
3372     </magic>
3373   </mime-type>
3374   <mime-type type="audio/x-aiff">
3375     <_comment>AIFF/Amiga/Mac audio</_comment>
3376     <magic priority="50">
3377       <match type="string" value="AIFF" offset="8"/>
3378       <match type="string" value="AIFC" offset="8"/>
3379       <match type="string" value="8SVX" offset="8"/>
3380     </magic>
3381     <glob pattern="*.aiff"/>
3382     <glob pattern="*.aif"/>
3383     <glob pattern="*.aifc"/>
3384   </mime-type>
3385   <mime-type type="audio/x-aiffc">
3386     <_comment>AIFF audio</_comment>
3387   </mime-type>
3388   <mime-type type="audio/x-ape">
3389     <_comment>Monkey's audio</_comment>
3390     <magic priority="50">
3391       <match type="string" value="MAC " offset="0"/>
3392     </magic>
3393     <glob pattern="*.ape"/>
3394   </mime-type>
3395   <mime-type type="audio/x-it">
3396     <_comment>Impulse Tracker audio</_comment>
3397     <magic priority="50">
3398       <match type="string" value="IMPM" offset="0"/>
3399     </magic>
3400     <glob pattern="*.it"/>
3401   </mime-type>
3402   <mime-type type="audio/flac">
3403     <_comment>FLAC audio</_comment>
3404     <magic priority="50">
3405       <match value="fLaC" type="string" offset="0"/>
3406     </magic>
3407     <glob pattern="*.flac"/>
3408     <alias type="audio/x-flac"/>
3409   </mime-type>
3410   <mime-type type="audio/x-wavpack">
3411     <_comment>WavPack audio</_comment>
3412     <magic priority="50">
3413       <match type="string" value="wvpk" offset="0"/>
3414     </magic>
3415     <glob pattern="*.wv"/>
3416     <glob pattern="*.wvp"/>
3417   </mime-type>
3418   <mime-type type="audio/x-wavpack-correction">
3419     <_comment>WavPack audio correction file</_comment>
3420     <magic priority="50">
3421       <match type="string" value="wvpk" offset="0"/>
3422     </magic>
3423     <glob pattern="*.wvc"/>
3424   </mime-type>
3425   <mime-type type="audio/midi">
3426     <_comment>MIDI audio</_comment>
3427     <alias type="audio/x-midi"/>
3428     <magic priority="50">
3429       <match type="string" value="MThd" offset="0"/>
3430     </magic>
3431     <glob pattern="*.mid"/>
3432     <glob pattern="*.midi"/>
3433     <glob pattern="*.kar"/>
3434   </mime-type>
3435   <mime-type type="audio/x-mo3">
3436     <_comment>compressed Tracker audio</_comment>
3437     <magic priority="50">
3438       <match type="string" value="MO3" offset="0"/>
3439     </magic>
3440     <glob pattern="*.mo3"/>
3441   </mime-type>
3442   <mime-type type="audio/mp4">
3443     <_comment>MPEG-4 audio</_comment>
3444     <alias type="audio/x-m4a"/>
3445     <magic priority="50">
3446       <match type="string" value="ftypM4A" offset="4"/>
3447     </magic>
3448     <glob pattern="*.m4a"/>
3449     <glob pattern="*.aac"/>
3450     <glob pattern="*.f4a"/>
3451   </mime-type>
3452   <mime-type type="video/mp4">
3453     <_comment>MPEG-4 video</_comment>
3454     <alias type="video/mp4v-es"/>
3455     <magic priority="50">
3456       <match type="string" value="ftypisom" offset="4"/>
3457       <match type="string" value="ftypmp42" offset="4"/>
3458       <match type="string" value="ftypMSNV" offset="4"/>
3459       <match type="string" value="ftypM4V " offset="4"/>
3460       <match type="string" value="ftypf4v " offset="4"/>
3461     </magic>
3462     <glob pattern="*.mp4"/>
3463     <glob pattern="*.m4v"/>
3464     <glob pattern="*.f4v"/>
3465     <alias type="video/x-m4v"/>
3466   </mime-type>
3467   <mime-type type="audio/x-m4b">
3468     <_comment>MPEG-4 audio book</_comment>
3469     <sub-class-of type="audio/mp4"/>
3470     <magic priority="50">
3471       <match type="string" value="ftypM4B" offset="4"/>
3472     </magic>
3473     <glob pattern="*.m4b"/>
3474     <glob pattern="*.f4b"/>
3475   </mime-type>
3476   <mime-type type="video/3gpp">
3477     <_comment>3GPP multimedia file</_comment>
3478     <acronym>3GPP</acronym>
3479     <expanded-acronym>3rd Generation Partnership Project</expanded-acronym>
3480     <sub-class-of type="video/mp4"/>
3481     <magic priority="50">
3482       <match type="string" value="ftyp3ge" offset="4"/>
3483       <match type="string" value="ftyp3gg" offset="4"/>
3484       <match type="string" value="ftyp3gp" offset="4"/>
3485       <match type="string" value="ftyp3gs" offset="4"/>
3486     </magic>
3487     <glob pattern="*.3gp"/>
3488     <glob pattern="*.3gpp"/>
3489     <glob pattern="*.3ga"/>
3490     <alias type="video/3gp"/>
3491     <alias type="audio/3gpp"/>
3492     <alias type="video/3gpp-encrypted"/>
3493     <alias type="audio/3gpp-encrypted"/>
3494     <alias type="audio/amr"/>
3495     <alias type="audio/amr-encrypted"/>
3496     <alias type="audio/amr-wb"/>
3497     <alias type="audio/amr-wb-encrypted"/>
3498     <alias type="audio/x-rn-3gpp-amr"/>
3499     <alias type="audio/x-rn-3gpp-amr-encrypted"/>
3500     <alias type="audio/x-rn-3gpp-amr-wb"/>
3501     <alias type="audio/x-rn-3gpp-amr-wb-encrypted"/>
3502   </mime-type>
3503   <mime-type type="video/3gpp2">
3504     <_comment>3GPP2 multimedia file</_comment>
3505     <acronym>3GPP2</acronym>
3506     <expanded-acronym>3rd Generation Partnership Project 2</expanded-acronym>
3507     <sub-class-of type="video/mp4"/>
3508     <magic priority="50">
3509       <match type="string" value="ftyp3g2" offset="4"/>
3510     </magic>
3511     <glob pattern="*.3g2"/>
3512     <glob pattern="*.3gp2"/>
3513     <glob pattern="*.3gpp2"/>
3514     <alias type="audio/3gpp2"/>
3515   </mime-type>
3516   <mime-type type="audio/x-mod">
3517     <_comment>Amiga SoundTracker audio</_comment>
3518     <glob pattern="*.mod"/>
3519     <glob pattern="*.ult"/>
3520     <glob pattern="*.uni"/>
3521     <glob pattern="*.m15"/>
3522     <glob pattern="*.mtm"/>
3523     <glob pattern="*.669"/>
3524     <glob pattern="*.med"/>
3525   </mime-type>
3526   <mime-type type="audio/mp2">
3527     <_comment>MP2 audio</_comment>
3528     <alias type="audio/x-mp2"/>
3529     <glob pattern="*.mp2"/>
3530   </mime-type>
3531   <mime-type type="audio/mpeg">
3532     <_comment>MP3 audio</_comment>
3533     <alias type="audio/x-mp3" />
3534     <alias type="audio/x-mpeg"/>
3535     <alias type="audio/mp3"/>
3536     <magic priority="50">
3537       <match type="big16" value="0xfffb" offset="0"/>
3538       <match type="string" value="ID3" offset="0"/>
3539     </magic>
3540     <glob pattern="*.mp3"/>
3541     <glob pattern="*.mpga"/>
3542   </mime-type>
3543   <mime-type type="audio/x-mpegurl">
3544     <_comment>MP3 audio (streamed)</_comment>
3545     <sub-class-of type="text/plain"/>
3546     <alias type="audio/mpegurl" />
3547     <alias type="application/m3u"/>
3548     <alias type="audio/x-mp3-playlist"/>
3549     <alias type="audio/m3u"/>
3550     <alias type="audio/x-m3u"/>
3551     <glob pattern="*.m3u"/>
3552     <glob pattern="*.m3u8"/>
3553     <glob pattern="*.vlc"/>
3554     <magic priority="50">
3555       <match type="string" value="#EXTM3U" offset="0"/>
3556     </magic>
3557   </mime-type>
3558   <mime-type type="application/vnd.apple.mpegurl">
3559     <_comment>HTTP Live Streaming playlist</_comment>
3560     <glob pattern="*.m3u"/>
3561     <glob pattern="*.m3u8"/>
3562     <magic priority="70">
3563       <match type="string" value="#EXTM3U" offset="0">
3564         <match type="string" value="#EXT-X-TARGETDURATION" offset="0:128"/>
3565         <match type="string" value="#EXT-X-STREAM-INF" offset="0:128"/>
3566       </match>
3567     </magic>
3568   </mime-type>
3569   <mime-type type="audio/x-ms-asx">
3570     <_comment>Microsoft ASX playlist</_comment>
3571     <alias type="video/x-ms-wvx"/>
3572     <alias type="video/x-ms-wax"/>
3573     <alias type="video/x-ms-wmx"/>
3574     <alias type="application/x-ms-asx"/>
3575     <glob pattern="*.asx"/>
3576     <glob pattern="*.wax"/>
3577     <glob pattern="*.wvx"/>
3578     <glob pattern="*.wmx"/>
3579     <magic priority="51">
3580       <match type="string" value="ASF " offset="0"/>
3581       <match type="string" value="&lt;ASX" offset="0:64"/>
3582       <match type="string" value="&lt;asx" offset="0:64"/>
3583       <match type="string" value="&lt;Asx" offset="0:64"/>
3584     </magic>
3585   </mime-type>
3586   <mime-type type="audio/x-psf">
3587     <_comment>PSF audio</_comment>
3588     <acronym>PSF</acronym>
3589     <expanded-acronym>Portable Sound Format</expanded-acronym>
3590     <magic priority="50">
3591       <match type="string" value="PSF" offset="0"/>
3592     </magic>
3593     <glob pattern="*.psf"/>
3594   </mime-type>
3595   <mime-type type="audio/x-minipsf">
3596     <_comment>MiniPSF audio</_comment>
3597     <acronym>MiniPSF</acronym>
3598     <expanded-acronym>Miniature Portable Sound Format</expanded-acronym>
3599     <sub-class-of type="audio/x-psf"/>
3600     <glob pattern="*.minipsf"/>
3601   </mime-type>
3602   <mime-type type="audio/x-psflib">
3603     <_comment>PSFlib audio library</_comment>
3604     <acronym>PSFlib</acronym>
3605     <expanded-acronym>Portable Sound Format Library</expanded-acronym>
3606     <sub-class-of type="audio/x-psf"/>
3607     <glob pattern="*.psflib"/>
3608   </mime-type>
3609   <mime-type type="audio/x-ms-wma">
3610     <_comment>Windows Media audio</_comment>
3611     <sub-class-of type="video/x-ms-asf"/>
3612     <glob pattern="*.wma"/>
3613     <alias type="audio/wma"/>
3614   </mime-type>
3615   <mime-type type="audio/x-musepack">
3616     <_comment>Musepack audio</_comment>
3617     <magic priority="50">
3618       <match type="string" value="MP+" offset="0"/>
3619     </magic>
3620     <glob pattern="*.mpc"/>
3621     <glob pattern="*.mpp"/>
3622     <glob pattern="*.mp+"/>
3623   </mime-type>
3624   <mime-type type="audio/vnd.rn-realaudio">
3625     <_comment>RealAudio document</_comment>
3626     <glob pattern="*.ra"/>
3627     <glob pattern="*.rax"/>
3628     <alias type="audio/x-pn-realaudio"/>
3629     <alias type="audio/vnd.m-realaudio"/>
3630   </mime-type>
3631   <mime-type type="application/ram">
3632     <_comment>RealMedia Metafile</_comment>
3633     <glob pattern="*.ram" />
3634   </mime-type>
3635   <mime-type type="video/vnd.rn-realvideo">
3636     <_comment>RealVideo document</_comment>
3637     <glob pattern="*.rv"/>
3638     <glob pattern="*.rvx"/>
3639     <alias type="video/x-real-video"/>
3640   </mime-type>
3641   <mime-type type="application/vnd.rn-realmedia">
3642     <_comment>RealMedia document</_comment>
3643     <generic-icon name="video-x-generic"/>
3644     <magic priority="50">
3645       <match type="string" value=".RMF" offset="0"/>
3646     </magic>
3647     <glob pattern="*.rm"/>
3648     <glob pattern="*.rmj"/>
3649     <glob pattern="*.rmm"/>
3650     <glob pattern="*.rms"/>
3651     <glob pattern="*.rmx"/>
3652     <glob pattern="*.rmvb"/>
3653   </mime-type>
3654   <mime-type type="image/vnd.rn-realpix">
3655     <_comment>RealPix document</_comment>
3656     <glob pattern="*.rp"/>
3657   </mime-type>
3658   <mime-type type="text/vnd.rn-realtext">
3659     <_comment>RealText document</_comment>
3660     <glob pattern="*.rt"/>
3661   </mime-type>
3662   <mime-type type="audio/x-riff">
3663     <_comment>RIFF audio</_comment>
3664     <!-- need to be lower prio than avi -->
3665     <magic priority="45">
3666       <match type="string" value="RIFF" offset="0"/>
3667     </magic>
3668   </mime-type>
3669   <mime-type type="audio/x-s3m">
3670     <_comment>Scream Tracker 3 audio</_comment>
3671     <magic priority="50">
3672       <match value="SCRM" type="string" offset="44"/>
3673     </magic>
3674     <glob pattern="*.s3m"/>
3675   </mime-type>
3676   <mime-type type="audio/x-scpls">
3677     <_comment>MP3 ShoutCast playlist</_comment>
3678     <alias type="application/pls"/>
3679     <magic priority="50">
3680       <match type="string" value="[playlist]" offset="0"/>
3681       <match type="string" value="[Playlist]" offset="0"/>
3682       <match type="string" value="[PLAYLIST]" offset="0"/>
3683     </magic>
3684     <glob pattern="*.pls"/>
3685   </mime-type>
3686   <mime-type type="audio/x-stm">
3687     <_comment>Scream Tracker audio</_comment>
3688     <magic>
3689       <match type="string" value="!Scream!\x1A" offset="20"/>
3690       <match type="string" value="!SCREAM!\x1A" offset="20"/>
3691       <match type="string" value="BMOD2STM\x1A" offset="20"/>
3692     </magic>
3693     <glob pattern="*.stm"/>
3694   </mime-type>
3695   <mime-type type="audio/x-voc">
3696     <_comment>VOC audio</_comment>
3697     <glob pattern="*.voc"/>
3698   </mime-type>
3699   <mime-type type="audio/x-wav">
3700     <_comment>WAV audio</_comment>
3701     <alias type="audio/wav"/>
3702     <alias type="audio/vnd.wave"/>
3703     <magic priority="50">
3704       <match type="string" value="WAVE" offset="8"/>
3705       <match type="string" value="WAV " offset="8"/>
3706     </magic>
3707     <glob pattern="*.wav"/>
3708   </mime-type>
3709   <mime-type type="audio/x-xi">
3710     <_comment>Scream Tracker instrument</_comment>
3711     <magic priority="50">
3712       <match value="Extended Intrument:" type="string" offset="0"/>
3713     </magic>
3714     <glob pattern="*.xi"/>
3715   </mime-type>
3716   <mime-type type="audio/x-xm">
3717     <_comment>FastTracker II audio</_comment>
3718     <magic priority="50">
3719       <match value="Extended Module:" type="string" offset="0"/>
3720     </magic>
3721     <glob pattern="*.xm"/>
3722   </mime-type>
3723   <mime-type type="audio/x-tta">
3724     <_comment>TrueAudio audio</_comment>
3725     <alias type="audio/tta"/>
3726     <magic priority="50">
3727       <match value="TTA1" type="string" offset="0"/>
3728     </magic>
3729     <glob pattern="*.tta"/>
3730   </mime-type>
3731   <mime-type type="image/bmp">
3732     <_comment>Windows BMP image</_comment>
3733     <magic priority="50">
3734       <match type="string" mask="0xffff00000000ffff" value="BMxxxx\000\000" offset="0"/>
3735       <match type="string" value="BM" offset="0">
3736         <match type="byte" value="12" offset="14"/>
3737         <match type="byte" value="64" offset="14"/>
3738         <match type="byte" value="40" offset="14"/>
3739       </match>
3740     </magic>
3741     <glob pattern="*.bmp"/>
3742     <alias type="image/x-bmp"/>
3743     <alias type="image/x-MS-bmp"/>
3744   </mime-type>
3745   <mime-type type="image/vnd.wap.wbmp">
3746     <_comment>WBMP image</_comment>
3747     <acronym>WBMP</acronym>
3748     <expanded-acronym>WAP bitmap</expanded-acronym>
3749     <glob pattern="*.wbmp"/>
3750   </mime-type>
3751   <mime-type type="image/cgm">
3752     <_comment>Computer Graphics Metafile</_comment>
3753     <glob pattern="*.cgm"/>
3754   </mime-type>
3755   <mime-type type="image/fax-g3">
3756     <_comment>CCITT G3 fax</_comment>
3757     <glob pattern="*.g3"/>
3758   </mime-type>
3759   <mime-type type="image/g3fax">
3760     <_comment>G3 fax image</_comment>
3761   </mime-type>
3762   <mime-type type="image/gif">
3763     <_comment>GIF image</_comment>
3764     <magic priority="50">
3765       <match type="string" value="GIF8" offset="0"/>
3766     </magic>
3767     <glob pattern="*.gif"/>
3768   </mime-type>
3769   <mime-type type="image/ief">
3770     <_comment>IEF image</_comment>
3771     <glob pattern="*.ief"/>
3772   </mime-type>
3773   <mime-type type="image/jpeg">
3774     <_comment>JPEG image</_comment>
3775     <magic priority="50">
3776       <match type="string" value="\377\330\377" offset="0"/>
3777       <match type="big16" value="0xffd8" offset="0"/>
3778     </magic>
3779     <glob pattern="*.jpeg"/>
3780     <glob pattern="*.jpg"/>
3781     <glob pattern="*.jpe"/>
3782     <alias type="image/pjpeg"/>
3783   </mime-type>
3784   <mime-type type="image/jp2">
3785     <_comment>JPEG-2000 image</_comment>
3786     <alias type="image/jpeg2000"/>
3787     <alias type="image/jpx"/>
3788     <magic priority="50">
3789       <match value="jP" type="string" offset="4" />
3790       <match value="\xFF\x4F\xFF\x51\x00" type="string" offset="0" />
3791       <match type="big32" value="0x0c6a5020" offset="3"/>
3792     </magic>
3793     <glob pattern="*.jp2"/>
3794     <glob pattern="*.jpc"/>
3795     <glob pattern="*.jpx"/>
3796     <glob pattern="*.j2k"/>
3797     <glob pattern="*.jpf"/>
3798   </mime-type>
3799   <mime-type type="image/openraster">
3800     <_comment>OpenRaster archiving image</_comment>
3801     <magic priority="50">
3802       <match type="string" value="PK\003\004" offset="0">
3803         <match type="string" value="mimetype" offset="30">
3804           <match type="string" value="image/openraster" offset="38"/>
3805         </match>
3806       </match>
3807     </magic>
3808     <glob pattern="*.ora"/>
3809   </mime-type>
3810   <mime-type type="image/x-dds">
3811     <_comment>DirectDraw surface</_comment>
3812     <magic priority="50">
3813       <match value="DDS" type="string" offset="0"/>
3814     </magic>
3815     <glob pattern="*.dds"/>
3816   </mime-type>
3817   <mime-type type="image/x-xcursor">
3818     <_comment>X11 cursor</_comment>
3819     <magic priority="50">
3820       <match type="string" value="Xcur" offset="0"/>
3821     </magic>
3822   </mime-type>
3823   <mime-type type="image/x-exr">
3824     <_comment>EXR image</_comment>
3825     <magic priority="50">
3826       <match type="little32" value="20000630" offset="0"/>
3827     </magic>
3828     <glob pattern="*.exr"/>
3829   </mime-type>
3830   <mime-type type="image/x-pict">
3831     <_comment>Macintosh Quickdraw/PICT drawing</_comment>
3832     <glob pattern="*.pict"/>
3833     <glob pattern="*.pict1"/>
3834     <glob pattern="*.pict2"/>
3835   </mime-type>
3836   <mime-type type="application/x-ufraw">
3837     <_comment>UFRaw ID image</_comment>
3838     <acronym>UFRaw</acronym>
3839     <expanded-acronym>Unidentified Flying Raw</expanded-acronym>
3840     <sub-class-of type="text/xml"/>
3841     <generic-icon name="image-x-generic"/>
3842     <glob pattern="*.ufraw"/>
3843   </mime-type>
3844   <mime-type type="image/x-dcraw">
3845     <_comment>digital raw image</_comment>
3846   </mime-type>
3847   <mime-type type="image/x-adobe-dng">
3848     <_comment>Adobe DNG negative</_comment>
3849     <acronym>DNG</acronym>
3850     <expanded-acronym>Digital Negative</expanded-acronym>
3851     <sub-class-of type="image/x-dcraw"/>
3852     <sub-class-of type="image/tiff"/>
3853     <glob pattern="*.dng"/>
3854   </mime-type>
3855   <!-- Canon has 2 format: CRW and CR2  !-->
3856   <!-- CRW is easy !-->
3857   <mime-type type="image/x-canon-crw">
3858     <_comment>Canon CRW raw image</_comment>
3859     <acronym>CRW</acronym>
3860     <expanded-acronym>Canon RaW</expanded-acronym>
3861     <sub-class-of type="image/x-dcraw"/>
3862     <magic priority="50">
3863       <match value="II\x1a\x00\x00\x00HEAPCCDR" type="string" offset="0"/>
3864     </magic>
3865     <glob pattern="*.crw"/>
3866   </mime-type>
3867   <!-- CR2 is a TIFF !-->
3868   <mime-type type="image/x-canon-cr2">
3869     <_comment>Canon CR2 raw image</_comment>
3870     <acronym>CR2</acronym>
3871     <expanded-acronym>Canon Raw 2</expanded-acronym>
3872     <sub-class-of type="image/x-dcraw"/>
3873     <sub-class-of type="image/tiff"/>
3874     <glob pattern="*.cr2"/>
3875   </mime-type>
3876   <mime-type type="image/x-fuji-raf">
3877     <_comment>Fuji RAF raw image</_comment>
3878     <acronym>RAF</acronym>
3879     <expanded-acronym>RAw Format</expanded-acronym>
3880     <sub-class-of type="image/x-dcraw"/>
3881     <magic priority="50">
3882       <match value="FUJIFILMCCD-RAW " type="string" offset="0"/>
3883     </magic>
3884     <glob pattern="*.raf"/>
3885   </mime-type>
3886   <mime-type type="image/x-kodak-dcr">
3887     <_comment>Kodak DCR raw image</_comment>
3888     <acronym>DCR</acronym>
3889     <expanded-acronym>Digital Camera Raw</expanded-acronym>
3890     <sub-class-of type="image/x-dcraw"/>
3891     <sub-class-of type="image/tiff"/>
3892     <glob pattern="*.dcr"/>
3893   </mime-type>
3894   <mime-type type="image/x-kodak-k25">
3895     <_comment>Kodak K25 raw image</_comment>
3896     <acronym>K25</acronym>
3897     <expanded-acronym>Kodak DC25</expanded-acronym>
3898     <sub-class-of type="image/x-dcraw"/>
3899     <sub-class-of type="image/tiff"/>
3900     <glob pattern="*.k25"/>
3901   </mime-type>
3902   <mime-type type="image/x-kodak-kdc">
3903     <_comment>Kodak KDC raw image</_comment>
3904     <acronym>KDC</acronym>
3905     <expanded-acronym>Kodak Digital Camera</expanded-acronym>
3906     <sub-class-of type="image/x-dcraw"/>
3907     <sub-class-of type="image/tiff"/>
3908     <magic priority="80">
3909       <match value="EASTMAN KODAK COMPANY" type="string" offset="242"/>
3910     </magic>
3911     <glob pattern="*.kdc"/>
3912   </mime-type>
3913   <mime-type type="image/x-minolta-mrw">
3914     <_comment>Minolta MRW raw image</_comment>
3915     <acronym>MRW</acronym>
3916     <expanded-acronym>Minolta RaW</expanded-acronym>
3917     <sub-class-of type="image/x-dcraw"/>
3918     <magic priority="50">
3919       <match value="\x00MRM" type="string" offset="0"/>
3920     </magic>
3921     <glob pattern="*.mrw" />
3922   </mime-type>
3923   <mime-type type="image/x-nikon-nef">
3924     <_comment>Nikon NEF raw image</_comment>
3925     <acronym>NEF</acronym>
3926     <expanded-acronym>Nikon Electronic Format</expanded-acronym>
3927     <sub-class-of type="image/x-dcraw"/>
3928     <sub-class-of type="image/tiff"/>
3929     <glob pattern="*.nef"/>
3930   </mime-type>
3931   <mime-type type="image/x-olympus-orf">
3932     <_comment>Olympus ORF raw image</_comment>
3933     <acronym>ORF</acronym>
3934     <expanded-acronym>Olympus Raw Format</expanded-acronym>
3935     <sub-class-of type="image/x-dcraw"/>
3936     <magic priority="50">
3937       <!-- an ORF file is basically a TIFF file with a non standard !-->
3938       <!-- header IIRO which is not nice since it is only composed  !-->
3939       <!-- of ASCII codes. Fortunately, the TIFF header is followed !-->
3940       <!-- by the offset of the first TIFF ifd which is always      !-->
3941       <!-- 0x00000008 (Little endian) for an ORF                    !-->
3942       <match value="IIRO\x08\x00\x00\x00" type="string" offset="0"/>
3943     </magic>
3944     <glob pattern="*.orf"/>
3945   </mime-type>
3946   <mime-type type="image/x-panasonic-raw">
3947     <_comment>Panasonic raw image</_comment>
3948     <sub-class-of type="image/x-dcraw"/>
3949     <magic priority="50">
3950       <!-- Some kind of TIFF file with a non-standard version in prefix !-->
3951       <match value="IIU\x00\x08\x00\x00\x00" type="string" offset="0"/>
3952     </magic>
3953     <glob pattern="*.raw"/>
3954   </mime-type>
3955   <mime-type type="image/x-panasonic-raw2">
3956     <_comment>Panasonic raw2 image</_comment>
3957     <sub-class-of type="image/x-dcraw"/>
3958     <magic priority="50">
3959       <!-- Some kind of TIFF file with a non-standard version in prefix !-->
3960       <match value="IIU\x00\x18\x00\x00\x00" type="string" offset="0"/>
3961     </magic>
3962     <glob pattern="*.rw2"/>
3963   </mime-type>
3964   <mime-type type="image/x-pentax-pef">
3965     <_comment>Pentax PEF raw image</_comment>
3966     <acronym>PEF</acronym>
3967     <expanded-acronym>Pentax Electronic Format</expanded-acronym>
3968     <sub-class-of type="image/x-dcraw"/>
3969     <sub-class-of type="image/tiff"/>
3970     <glob pattern="*.pef"/>
3971   </mime-type>
3972   <mime-type type="image/x-sigma-x3f">
3973     <_comment>Sigma X3F raw image</_comment>
3974     <acronym>X3F</acronym>
3975     <expanded-acronym>X3 Foveon</expanded-acronym>
3976     <sub-class-of type="image/x-dcraw"/>
3977     <magic priority="50">
3978       <!-- The header is "FOVb" (Foveon) !-->
3979       <match value="FOVb" type="string" offset="0">
3980         <!-- Followed by a 32bit LSB specifying the version number (major.minor) !-->
3981         <match value="0x00FF00FF" type="little32" offset="4" mask="0xFF00FF00" />
3982       </match>
3983     </magic>
3984     <glob pattern="*.x3f"/>
3985   </mime-type>
3986   <mime-type type="image/x-sony-srf">
3987     <_comment>Sony SRF raw image</_comment>
3988     <acronym>SRF</acronym>
3989     <expanded-acronym>Sony Raw Format</expanded-acronym>
3990     <sub-class-of type="image/x-dcraw"/>
3991     <sub-class-of type="image/tiff"/>
3992     <glob pattern="*.srf"/>
3993   </mime-type>
3994   <mime-type type="image/x-sony-sr2">
3995     <_comment>Sony SR2 raw image</_comment>
3996     <acronym>SR2</acronym>
3997     <expanded-acronym>Sony Raw format 2</expanded-acronym>
3998     <sub-class-of type="image/x-dcraw"/>
3999     <sub-class-of type="image/tiff"/>
4000     <glob pattern="*.sr2"/>
4001   </mime-type>
4002   <mime-type type="image/x-sony-arw">
4003     <_comment>Sony ARW raw image</_comment>
4004     <acronym>ARW</acronym>
4005     <expanded-acronym>Alpha Raw format</expanded-acronym>
4006     <sub-class-of type="image/x-dcraw"/>
4007     <sub-class-of type="image/tiff"/>
4008     <glob pattern="*.arw"/>
4009   </mime-type>
4010   <mime-type type="image/png">
4011     <_comment>PNG image</_comment>
4012     <magic priority="50">
4013       <match type="string" value="\x89PNG" offset="0"/>
4014     </magic>
4015     <glob pattern="*.png"/>
4016   </mime-type>
4017   <mime-type type="image/rle">
4018     <_comment>Run Length Encoded bitmap image</_comment>
4019     <glob pattern="*.rle"/>
4020   </mime-type>
4021   <mime-type type="image/svg+xml">
4022     <_comment>SVG image</_comment>
4023     <acronym>SVG</acronym>
4024     <expanded-acronym>Scalable Vector Graphics</expanded-acronym>
4025     <sub-class-of type="application/xml"/>
4026     <magic priority="80">
4027       <match type="string" value="&lt;!DOCTYPE svg" offset="0:256"/>
4028       <match type="string" value="&lt;svg" offset="0:256"/>
4029     </magic>
4030     <glob pattern="*.svg"/>
4031     <root-XML namespaceURI="http://www.w3.org/2000/svg" localName="svg"/>
4032   </mime-type>
4033   <mime-type type="image/svg+xml-compressed">
4034     <_comment>compressed SVG image</_comment>
4035     <acronym>SVG</acronym>
4036     <expanded-acronym>Scalable Vector Graphics</expanded-acronym>
4037     <sub-class-of type="application/x-gzip"/>
4038     <glob pattern="*.svgz"/>
4039   </mime-type>
4040   <mime-type type="image/tiff">
4041     <_comment>TIFF image</_comment>
4042     <acronym>TIFF</acronym>
4043     <expanded-acronym>Tagged Image File Format</expanded-acronym>
4044     <magic priority="50">
4045       <match type="string" value="MM\x00\x2a" offset="0"/>
4046       <match type="string" value="II\x2a\x00" offset="0"/>
4047     </magic>
4048     <glob pattern="*.tif"/>
4049     <glob pattern="*.tiff"/>
4050   </mime-type>
4051   <mime-type type="image/vnd.dwg">
4052     <_comment>AutoCAD image</_comment>
4053     <glob pattern="*.dwg"/>
4054   </mime-type>
4055   <mime-type type="image/vnd.dxf">
4056     <_comment>DXF vector image</_comment>
4057     <glob pattern="*.dxf"/>
4058     <magic priority="50">
4059       <match type="string" value="\nHEADER\n" offset="0:64"/>
4060       <match type="string" value="\x0d\nHEADER\x0d\n" offset="0:64"/>
4061     </magic>
4062   </mime-type>
4063   <mime-type type="image/vnd.ms-modi">
4064     <_comment>Microsoft Document Imaging format</_comment>
4065     <acronym>MDI</acronym>
4066     <expanded-acronym>Microsoft Document Imaging</expanded-acronym>
4067     <glob pattern="*.mdi"/>
4068     <magic priority="50">
4069       <match type="string" value="\x45\x50\x2A\x00" offset="0"/>
4070     </magic>
4071   </mime-type>
4072   <mime-type type="image/x-3ds">
4073     <_comment>3D Studio image</_comment>
4074     <glob pattern="*.3ds"/>
4075   </mime-type>
4076   <mime-type type="image/x-applix-graphics">
4077     <_comment>Applix Graphics image</_comment>
4078     <magic priority="50">
4079       <match type="string" value="*BEGIN" offset="0">
4080         <match type="string" value="GRAPHICS" offset="7"/>
4081       </match>
4082     </magic>
4083     <glob pattern="*.ag"/>
4084   </mime-type>
4085   <mime-type type="image/x-bzeps">
4086     <_comment>EPS image (bzip-compressed)</_comment>
4087     <glob pattern="*.eps.bz2"/>
4088     <glob pattern="*.epsi.bz2"/>
4089     <glob pattern="*.epsf.bz2"/>
4090   </mime-type>
4091   <mime-type type="image/x-cmu-raster">
4092     <_comment>CMU raster image</_comment>
4093     <glob pattern="*.ras"/>
4094   </mime-type>
4095   <mime-type type="image/x-compressed-xcf">
4096     <_comment>compressed GIMP image</_comment>
4097     <glob pattern="*.xcf.gz"/>
4098     <glob pattern="*.xcf.bz2"/>
4099   </mime-type>
4100   <mime-type type="application/dicom">
4101     <_comment>DICOM image</_comment>
4102     <acronym>DICOM</acronym>
4103     <expanded-acronym>Digital Imaging and Communications in Medicine</expanded-acronym>
4104     <generic-icon name="image-x-generic"/>
4105     <glob pattern="*.dcm"/>
4106     <magic priority="50">
4107       <match type="string" value="DICM" offset="128"/>
4108     </magic>
4109   </mime-type>
4110   <mime-type type="application/docbook+xml">
4111     <_comment>DocBook document</_comment>
4112     <sub-class-of type="application/xml"/>
4113     <generic-icon name="x-office-document"/>
4114     <magic priority="90">
4115       <match value="&lt;?xml" type="string" offset="0">
4116         <match value="-//OASIS//DTD DocBook XML" type="string" offset="0:100"/>
4117         <match value="-//KDE//DTD DocBook XML" type="string" offset="0:100"/>
4118       </match>
4119     </magic>
4120     <glob pattern="*.docbook"/>
4121   </mime-type>
4122   <mime-type type="image/x-dib">
4123     <_comment>DIB image</_comment>
4124     <acronym>DIB</acronym>
4125     <expanded-acronym>Device Independant Bitmap</expanded-acronym>
4126     <magic priority="50">
4127       <match type="string" value="\x28\00\00\00" offset="0"/>
4128     </magic>
4129   </mime-type>
4130   <mime-type type="image/vnd.djvu">
4131     <_comment>DjVu image</_comment>
4132     <alias type="image/x-djvu"/>
4133     <alias type="image/x.djvu"/>
4134     <magic priority="50">
4135       <match type="string" offset="0" value="AT&amp;TFORM">
4136         <match type="string" offset="12" value="DJVM"/>
4137         <match type="string" offset="12" value="DJVU"/>
4138       </match>
4139       <match type="string" offset="0" value="FORM">
4140         <match type="string" offset="8" value="DJVM"/>
4141         <match type="string" offset="8" value="DJVU"/>
4142       </match>
4143     </magic>
4144     <glob pattern="*.djvu"/>
4145     <glob pattern="*.djv"/>
4146   </mime-type>
4147   <mime-type type="image/dpx">
4148     <_comment>DPX image</_comment>
4149     <acronym>DPX</acronym>
4150     <expanded-acronym>Digital Moving Picture Exchange</expanded-acronym>
4151     <magic priority="50">
4152       <match type="big32" value="0x53445058" offset="0"/>
4153     </magic>
4154   </mime-type>
4155   <mime-type type="image/x-eps">
4156     <_comment>EPS image</_comment>
4157     <acronym>EPS</acronym>
4158     <expanded-acronym>Encapsulated PostScript</expanded-acronym>
4159     <sub-class-of type="application/postscript"/>
4160     <magic priority="90">
4161       <match type="string" value="%!" offset="0">
4162         <match type="string" value="EPS" offset="15"/>
4163       </match>
4164       <match type="string" value="\004%!" offset="0">
4165         <match type="string" value="EPS" offset="16"/>
4166       </match>
4167     </magic>
4168     <glob pattern="*.eps"/>
4169     <glob pattern="*.epsi"/>
4170     <glob pattern="*.epsf"/>
4171   </mime-type>
4172   <mime-type type="image/fits">
4173     <_comment>FITS document</_comment>
4174     <acronym>FITS</acronym>
4175     <expanded-acronym>Flexible Image Transport System</expanded-acronym>
4176     <magic priority="50">
4177       <match type="string" value="SIMPLE  =" offset="0"/>
4178     </magic>
4179     <glob pattern="*.fits"/>
4180     <alias type="image/x-fits"/>
4181   </mime-type>
4182   <mime-type type="image/x-fpx">
4183     <_comment>FPX image</_comment>
4184     <acronym>FPX</acronym>
4185     <expanded-acronym>FlashPiX</expanded-acronym>
4186     <magic priority="50">
4187       <match type="big32" value="0x46506978" offset="0"/>
4188     </magic>
4189   </mime-type>
4190   <mime-type type="image/x-gzeps">
4191     <_comment>EPS image (gzip-compressed)</_comment>
4192     <glob pattern="*.eps.gz"/>
4193     <glob pattern="*.epsi.gz"/>
4194     <glob pattern="*.epsf.gz"/>
4195   </mime-type>
4196   <mime-type type="image/vnd.microsoft.icon">
4197     <_comment>Microsoft icon</_comment>
4198     <magic priority="50">
4199       <match type="string" value="\0\0\1\0" offset="0">
4200         <match type="string" value="\0" offset="5"/>
4201       </match>
4202     </magic>
4203     <glob pattern="*.ico"/>
4204     <alias type="application/ico"/>
4205     <alias type="image/ico"/>
4206     <alias type="image/icon"/>
4207     <alias type="image/x-ico"/>
4208     <alias type="image/x-icon"/>
4209     <alias type="text/ico"/>
4210   </mime-type>
4211   <mime-type type="image/x-icns">
4212     <_comment>MacOS X icon</_comment>
4213     <glob pattern="*.icns"/>
4214     <magic priority="50">
4215       <match type="string" value="icns" offset="0"/>
4216     </magic>
4217   </mime-type>
4218   <mime-type type="image/x-iff">
4219     <_comment>IFF image</_comment>
4220     <glob pattern="*.iff"/>
4221   </mime-type>
4222   <mime-type type="image/x-ilbm">
4223     <_comment>ILBM image</_comment>
4224     <acronym>ILBM image</acronym>
4225     <expanded-acronym>InterLeaved BitMap</expanded-acronym>
4226     <glob pattern="*.ilbm"/>
4227   </mime-type>
4228   <mime-type type="image/x-jng">
4229     <_comment>JNG image</_comment>
4230     <acronym>JNG</acronym>
4231     <expanded-acronym>JPEG Network Graphics</expanded-acronym>
4232     <glob pattern="*.jng"/>
4233   </mime-type>
4234   <mime-type type="image/x-lwo">
4235     <_comment>LightWave object</_comment>
4236     <glob pattern="*.lwo"/>
4237     <glob pattern="*.lwob"/>
4238   </mime-type>
4239   <mime-type type="image/x-lws">
4240     <_comment>LightWave scene</_comment>
4241     <glob pattern="*.lws"/>
4242   </mime-type>
4243   <mime-type type="image/x-macpaint">
4244     <_comment>MacPaint Bitmap image</_comment>
4245     <glob pattern="*.pntg"/>
4246   </mime-type>
4247   <mime-type type="image/x-msod">
4248     <_comment>Office drawing</_comment>
4249     <glob pattern="*.msod"/>
4250   </mime-type>
4251   <mime-type type="image/x-niff">
4252     <_comment>NIFF image</_comment>
4253     <magic priority="80">
4254       <match type="string" value="IIN1" offset="0"/>
4255     </magic>
4256   </mime-type>
4257   <mime-type type="image/x-pcx">
4258     <_comment>PCX image</_comment>
4259     <acronym>PCX</acronym>
4260     <expanded-acronym>PiCture eXchange</expanded-acronym>
4261     <magic priority="50">
4262       <match type="byte" value="10" offset="0">
4263         <match type="byte" value="0" offset="1"/>
4264         <match type="byte" value="2" offset="1"/>
4265         <match type="byte" value="3" offset="1"/>
4266         <match type="byte" value="5" offset="1"/>
4267       </match>
4268     </magic>
4269     <glob pattern="*.pcx"/>
4270   </mime-type>
4271   <mime-type type="image/x-photo-cd">
4272     <_comment>PCD image</_comment>
4273     <acronym>PCD</acronym>
4274     <expanded-acronym>PhotoCD</expanded-acronym>
4275     <glob pattern="*.pcd"/>
4276   </mime-type>
4277   <mime-type type="image/x-portable-anymap">
4278     <_comment>PNM image</_comment>
4279     <glob pattern="*.pnm"/>
4280   </mime-type>
4281   <mime-type type="image/x-portable-bitmap">
4282     <_comment>PBM image</_comment>
4283     <acronym>PBM</acronym>
4284     <expanded-acronym>Portable BitMap</expanded-acronym>
4285     <sub-class-of type="image/x-portable-anymap"/>
4286     <magic priority="50">
4287       <match type="string" value="P1" offset="0">
4288         <match type="byte" value="0x0a" offset="2"/>
4289         <match type="byte" value="0x20" offset="2"/>
4290         <match type="byte" value="0x09" offset="2"/>
4291         <match type="byte" value="0x0d" offset="2"/>
4292       </match>
4293       <match type="string" value="P4" offset="0">
4294         <match type="byte" value="0x0a" offset="2"/>
4295         <match type="byte" value="0x20" offset="2"/>
4296         <match type="byte" value="0x09" offset="2"/>
4297         <match type="byte" value="0x0d" offset="2"/>
4298       </match>
4299     </magic>
4300     <glob pattern="*.pbm"/>
4301   </mime-type>
4302   <mime-type type="image/x-portable-graymap">
4303     <_comment>PGM image</_comment>
4304     <acronym>PGM</acronym>
4305     <expanded-acronym>Portable GrayMap</expanded-acronym>
4306     <sub-class-of type="image/x-portable-anymap"/>
4307     <magic priority="50">
4308       <match type="string" value="P2" offset="0">
4309         <match type="byte" value="0x0a" offset="2"/>
4310         <match type="byte" value="0x20" offset="2"/>
4311         <match type="byte" value="0x09" offset="2"/>
4312         <match type="byte" value="0x0d" offset="2"/>
4313       </match>
4314       <match type="string" value="P5" offset="0">
4315         <match type="byte" value="0x0a" offset="2"/>
4316         <match type="byte" value="0x20" offset="2"/>
4317         <match type="byte" value="0x09" offset="2"/>
4318         <match type="byte" value="0x0d" offset="2"/>
4319       </match>
4320     </magic>
4321     <glob pattern="*.pgm"/>
4322   </mime-type>
4323   <mime-type type="image/x-portable-pixmap">
4324     <_comment>PPM image</_comment>
4325     <acronym>PPM</acronym>
4326     <expanded-acronym>Portable PixMap</expanded-acronym>
4327     <sub-class-of type="image/x-portable-anymap"/>
4328     <magic priority="50">
4329       <match type="string" value="P3" offset="0">
4330         <match type="byte" value="0x0a" offset="2"/>
4331         <match type="byte" value="0x20" offset="2"/>
4332         <match type="byte" value="0x09" offset="2"/>
4333         <match type="byte" value="0x0d" offset="2"/>
4334       </match>
4335       <match type="string" value="P6" offset="0">
4336         <match type="byte" value="0x0a" offset="2"/>
4337         <match type="byte" value="0x20" offset="2"/>
4338         <match type="byte" value="0x09" offset="2"/>
4339         <match type="byte" value="0x0d" offset="2"/>
4340       </match>
4341     </magic>
4342     <glob pattern="*.ppm"/>
4343   </mime-type>
4344   <mime-type type="image/vnd.adobe.photoshop">
4345     <_comment>Photoshop image</_comment>
4346     <magic priority="50">
4347       <match type="string" mask="0xffffffff0000ffffffff" value="8BPS  \000\000\000\000" offset="0"/>
4348     </magic>
4349     <glob pattern="*.psd"/>
4350     <alias type="image/x-psd"/>
4351   </mime-type>
4352   <mime-type type="image/x-rgb">
4353     <_comment>RGB image</_comment>
4354     <glob pattern="*.rgb"/>
4355   </mime-type>
4356   <mime-type type="image/x-sgi">
4357     <_comment>SGI image</_comment>
4358     <glob pattern="*.sgi"/>
4359   </mime-type>
4360   <mime-type type="image/x-sun-raster">
4361     <_comment>Sun raster image</_comment>
4362     <magic priority="50">
4363       <match type="big32" value="0x59a66a95" offset="0"/>
4364     </magic>
4365     <glob pattern="*.sun"/>
4366   </mime-type>
4367   <mime-type type="image/x-tga">
4368     <_comment>TGA image</_comment>
4369     <acronym>TGA</acronym>
4370     <expanded-acronym>Truevision Graphics Adapter</expanded-acronym>
4371     <magic priority="10">
4372       <match type="string" value="\1\1" offset="1"/>
4373       <match type="string" value="\1\9" offset="1"/>
4374       <match type="string" value="\0\3" offset="1"/>
4375       <match type="string" value="\0\xa" offset="1"/>
4376       <match type="string" value="\0\xb" offset="1"/>
4377       <match type="string" value="\0\2" offset="1"/> <!-- Same magic as CUR files -->
4378     </magic>
4379     <glob pattern="*.icb"/>
4380     <glob pattern="*.tga"/>
4381     <glob pattern="*.tpic"/>
4382     <glob pattern="*.vda"/>
4383     <glob pattern="*.vst"/>
4384     <alias type="image/x-icb"/>
4385   </mime-type>
4386   <mime-type type="image/x-win-bitmap">
4387     <_comment>Windows cursor</_comment>
4388     <magic priority="50">
4389       <match type="string" value="\0\0\2\0" offset="0">
4390         <match type="string" value="\0" offset="5"/>
4391       </match>
4392     </magic>
4393     <glob pattern="*.cur"/>
4394   </mime-type>
4395   <mime-type type="application/x-navi-animation">
4396     <_comment>Windows animated cursor</_comment>
4397     <magic priority="50">
4398       <match type="string" value="RIFF" offset="0">
4399         <match type="string" value="ACON" offset="8"/>
4400       </match>
4401     </magic>
4402     <glob pattern="*.ani"/>
4403   </mime-type>
4404   <mime-type type="image/x-emf">
4405     <_comment>EMF image</_comment>
4406     <acronym>EMF</acronym>
4407     <expanded-acronym>Enhanced MetaFile</expanded-acronym>
4408     <glob pattern="*.emf"/>
4409     <magic priority="50">
4410       <match type="little32" offset="0" value="0x00000001">
4411         <match type="little32" offset="40" value="0x464D4520">
4412           <match type="little32" offset="44" value="0x00010000">
4413             <match type="little16" offset="58" value="0x0000"/>
4414           </match>
4415         </match>
4416       </match>
4417     </magic>
4418   </mime-type>
4419   <mime-type type="image/x-wmf">
4420     <_comment>WMF image</_comment>
4421     <acronym>WMF</acronym>
4422     <expanded-acronym>Windows Metafile</expanded-acronym>
4423     <magic priority="50">
4424       <!-- Placeable Metafile Header !-->
4425       <match type="little32" offset="0" value="0x9AC6CDD7">
4426         <!-- Followed by the standard Windows Metafile Header !-->
4427         <match type="little16" offset="22" value="0x0001">
4428           <match type="little16" offset="24" value="0x0009"/>
4429         </match>
4430       </match>
4431       <!-- or just the standard Windows Metafile Header !-->
4432       <match type="little16" offset="0" value="0x0001">
4433         <match type="little16" offset="2" value="0x0009"/>
4434       </match>
4435     </magic>
4436     <glob pattern="*.wmf"/>
4437   </mime-type>
4438   <mime-type type="image/x-xbitmap">
4439     <_comment>XBM image</_comment>
4440     <acronym>XBM</acronym>
4441     <expanded-acronym>X BitMap</expanded-acronym>
4442     <glob pattern="*.xbm"/>
4443   </mime-type>
4444   <mime-type type="image/x-xcf">
4445     <_comment>GIMP image</_comment>
4446     <glob pattern="*.xcf"/>
4447     <magic priority="50">
4448       <match type="string" value="gimp xcf file" offset="0"/>
4449     </magic>
4450   </mime-type>
4451   <mime-type type="image/x-xfig">
4452     <_comment>XFig image</_comment>
4453     <glob pattern="*.fig"/>
4454     <magic priority="50">
4455       <match type="string" value="#FIG" offset="0"/>
4456     </magic>
4457   </mime-type>
4458   <mime-type type="image/x-xpixmap">
4459     <_comment>XPM image</_comment>
4460     <acronym>XPM</acronym>
4461     <expanded-acronym>X PixMap</expanded-acronym>
4462     <magic priority="50">
4463       <match type="string" value="/* XPM" offset="0"/>
4464     </magic>
4465     <glob pattern="*.xpm"/>
4466   </mime-type>
4467   <mime-type type="image/x-xwindowdump">
4468     <_comment>X window image</_comment>
4469     <glob pattern="*.xwd"/>
4470   </mime-type>
4471   <mime-type type="inode/blockdevice">
4472     <_comment>block device</_comment>
4473   </mime-type>
4474   <mime-type type="inode/chardevice">
4475     <_comment>character device</_comment>
4476   </mime-type>
4477   <mime-type type="inode/directory">
4478     <_comment>folder</_comment>
4479     <alias type="x-directory/normal"/>
4480   </mime-type>
4481   <mime-type type="inode/fifo">
4482     <_comment>pipe</_comment>
4483   </mime-type>
4484   <mime-type type="inode/mount-point">
4485     <_comment>mount point</_comment>
4486     <sub-class-of type="inode/directory"/>
4487   </mime-type>
4488   <mime-type type="inode/socket">
4489     <_comment>socket</_comment>
4490   </mime-type>
4491   <mime-type type="inode/symlink">
4492     <_comment>symbolic link</_comment>
4493   </mime-type>
4494   <mime-type type="message/delivery-status">
4495     <_comment>mail delivery report</_comment>
4496     <generic-icon name="text-x-generic"/>
4497     <sub-class-of type="text/plain"/>
4498   </mime-type>
4499   <mime-type type="message/disposition-notification">
4500     <_comment>mail disposition report</_comment>
4501     <generic-icon name="text-x-generic"/>
4502     <sub-class-of type="text/plain"/>
4503   </mime-type>
4504   <mime-type type="message/external-body">
4505     <_comment>reference to remote file</_comment>
4506     <generic-icon name="text-x-generic"/>
4507   </mime-type>
4508   <mime-type type="message/news">
4509     <_comment>Usenet news message</_comment>
4510     <generic-icon name="text-x-generic"/>
4511     <sub-class-of type="text/plain"/>
4512     <magic priority="50">
4513       <match type="string" value="Article" offset="0"/>
4514       <match type="string" value="Path:" offset="0"/>
4515       <match type="string" value="Xref:" offset="0"/>
4516     </magic>
4517   </mime-type>
4518   <mime-type type="message/partial">
4519     <_comment>partial email message</_comment>
4520     <generic-icon name="text-x-generic"/>
4521     <sub-class-of type="text/plain"/>
4522   </mime-type>
4523   <mime-type type="message/rfc822">
4524     <_comment>email message</_comment>
4525     <generic-icon name="text-x-generic"/>
4526     <sub-class-of type="text/plain"/>
4527     <magic priority="50">
4528       <match type="string" value="#! rnews" offset="0"/>
4529       <match type="string" value="Forward to" offset="0"/>
4530       <match type="string" value="From:" offset="0"/>
4531       <match type="string" value="N#! rnews" offset="0"/>
4532       <match type="string" value="Pipe to" offset="0"/>
4533       <match type="string" value="Received:" offset="0"/>
4534       <match type="string" value="Relay-Version:" offset="0"/>
4535       <match type="string" value="Return-Path:" offset="0"/>
4536       <match type="string" value="Return-path:" offset="0"/>
4537       <match type="string" value="Subject: " offset="0"/>
4538     </magic>
4539     <glob pattern="*.eml"/>
4540   </mime-type>
4541   <mime-type type="message/x-gnu-rmail">
4542     <_comment>GNU mail message</_comment>
4543     <generic-icon name="text-x-generic"/>
4544     <glob pattern="RMAIL"/>
4545   </mime-type>
4546   <mime-type type="model/vrml">
4547     <_comment>VRML document</_comment>
4548     <acronym>VRML</acronym>
4549     <expanded-acronym>Virtual Reality Modeling Language</expanded-acronym>
4550     <generic-icon name="x-office-document"/>
4551     <sub-class-of type="text/plain"/>
4552     <glob pattern="*.vrm"/>
4553     <glob pattern="*.vrml"/>
4554     <glob pattern="*.wrl"/>
4555   </mime-type>
4556   <mime-type type="multipart/alternative">
4557     <_comment>message in several formats</_comment>
4558   </mime-type>
4559   <mime-type type="multipart/appledouble">
4560     <_comment>Macintosh AppleDouble-encoded file</_comment>
4561   </mime-type>
4562   <mime-type type="multipart/digest">
4563     <_comment>message digest</_comment>
4564   </mime-type>
4565   <mime-type type="multipart/encrypted">
4566     <_comment>encrypted message</_comment>
4567   </mime-type>
4568   <mime-type type="multipart/mixed">
4569     <_comment>compound documents</_comment>
4570   </mime-type>
4571   <mime-type type="multipart/related">
4572     <_comment>compound document</_comment>
4573   </mime-type>
4574   <mime-type type="multipart/report">
4575     <_comment>mail system report</_comment>
4576   </mime-type>
4577   <mime-type type="multipart/signed">
4578     <_comment>signed message</_comment>
4579   </mime-type>
4580   <mime-type type="multipart/x-mixed-replace">
4581     <_comment>stream of data (server push)</_comment>
4582   </mime-type>
4583   <mime-type type="text/calendar">
4584     <_comment>VCS/ICS calendar</_comment>
4585     <acronym>VCS/ICS</acronym>
4586     <expanded-acronym>vCalendar/iCalendar</expanded-acronym>
4587     <sub-class-of type="text/plain"/>
4588     <alias type="text/x-vcalendar"/>
4589     <magic priority="50">
4590       <match type="string" value="BEGIN:VCALENDAR" offset="0"/>
4591       <match type="string" value="begin:vcalendar" offset="0"/>
4592     </magic>
4593     <glob pattern="*.vcs"/>
4594     <glob pattern="*.ics"/>
4595   </mime-type>
4596   <mime-type type="text/css">
4597     <_comment>CSS stylesheet</_comment>
4598     <acronym>CSS</acronym>
4599     <expanded-acronym>Cascading Style Sheets</expanded-acronym>
4600     <sub-class-of type="text/x-csrc"/>
4601     <glob pattern="*.css"/>
4602     <glob pattern="*.CSSL"/>
4603   </mime-type>
4604   <mime-type type="text/vcard">
4605     <_comment>electronic business card</_comment>
4606     <alias type="text/directory"/>
4607     <alias type="text/x-vcard"/>
4608     <sub-class-of type="text/plain"/>
4609     <magic priority="50">
4610       <match type="string" value="BEGIN:VCARD" offset="0"/>
4611       <match type="string" value="begin:vcard" offset="0"/>
4612     </magic>
4613     <glob pattern="*.vcard"/>
4614     <glob pattern="*.vcf"/>
4615     <glob pattern="*.vct"/>
4616     <glob pattern="*.gcrd"/>
4617   </mime-type>
4618   <mime-type type="text/x-txt2tags">
4619     <_comment>txt2tags document</_comment>
4620     <sub-class-of type="text/plain"/>
4621     <magic priority="60">
4622       <match type="string" value="%!postproc" offset="0"/>
4623       <match type="string" value="%!encoding" offset="0"/>
4624     </magic>
4625     <glob pattern="*.t2t"/>
4626   </mime-type>
4627   <mime-type type="text/x-verilog">
4628     <_comment>Verilog source code</_comment>
4629     <sub-class-of type="text/plain"/>
4630     <glob pattern="*.v"/>
4631   </mime-type>
4632   <mime-type type="text/x-svhdr">
4633     <_comment>SystemVerilog header</_comment>
4634     <sub-class-of type="text/x-verilog"/>
4635     <glob pattern="*.svh"/>
4636   </mime-type>
4637   <mime-type type="text/x-svsrc">
4638     <_comment>SystemVerilog source code</_comment>
4639     <sub-class-of type="text/x-verilog"/>
4640     <glob pattern="*.sv"/>
4641   </mime-type>
4642   <mime-type type="text/x-vhdl">
4643     <_comment>VHDL source code</_comment>
4644     <acronym>VHDL</acronym>
4645     <expanded-acronym>Very-High-Speed Integrated Circuit Hardware Description Language</expanded-acronym>
4646     <sub-class-of type="text/plain"/>
4647     <glob pattern="*.vhd"/>
4648     <glob pattern="*.vhdl"/>
4649   </mime-type>
4650   <mime-type type="text/enriched">
4651     <_comment>enriched text document</_comment>
4652     <sub-class-of type="text/plain"/>
4653   </mime-type>
4654   <mime-type type="text/htmlh">
4655     <_comment>help page</_comment>
4656     <sub-class-of type="text/plain"/>
4657   </mime-type>
4658   <mime-type type="text/plain">
4659     <_comment>plain text document</_comment>
4660     <magic priority="50">
4661       <match type="string" value="This is TeX," offset="0"/>
4662       <match type="string" value="This is METAFONT," offset="0"/>
4663     </magic>
4664     <glob pattern="*.txt"/>
4665     <glob pattern="*.asc"/>
4666     <glob pattern="*,v"/>
4667   </mime-type>
4668   <mime-type type="application/rdf+xml">
4669     <_comment>RDF file</_comment>
4670     <acronym>RDF</acronym>
4671     <expanded-acronym>Resource Description Framework</expanded-acronym>
4672     <alias type="text/rdf"/>
4673     <sub-class-of type="application/xml"/>
4674     <glob pattern="*.rdf"/>
4675     <glob pattern="*.rdfs"/>
4676     <glob pattern="*.owl"/>
4677     <root-XML namespaceURI="http://www.w3.org/1999/02/22-rdf-syntax-ns#" localName="RDF"/>
4678   </mime-type>
4679   <mime-type type="text/rfc822-headers">
4680     <_comment>email headers</_comment>
4681     <sub-class-of type="text/plain"/>
4682   </mime-type>
4683   <mime-type type="text/richtext">
4684     <_comment>rich text document</_comment>
4685     <sub-class-of type="text/plain"/>
4686     <glob pattern="*.rtx"/>
4687   </mime-type>
4688   <mime-type type="application/rss+xml">
4689     <_comment>RSS summary</_comment>
4690     <acronym>RSS</acronym>
4691     <expanded-acronym>RDF Site Summary</expanded-acronym>
4692     <alias type="text/rss"/>
4693     <sub-class-of type="application/xml"/>
4694     <generic-icon name="text-html"/>
4695     <glob pattern="*.rss"/>
4696     <magic priority="70">
4697       <match type="string" value="&lt;rss " offset="0:256"/>
4698       <match type="string" value="&lt;RSS " offset="0:256"/>
4699     </magic>
4700   </mime-type>
4701   <mime-type type="application/atom+xml">
4702     <_comment>Atom syndication feed</_comment>
4703     <sub-class-of type="application/xml"/>
4704     <generic-icon name="text-html"/>
4705     <glob pattern="*.atom"/>
4706     <magic priority="70">
4707       <match type="string" value="&lt;feed " offset="0:256"/>
4708     </magic>
4709     <root-XML namespaceURI="http://www.w3.org/2005/Atom" localName="feed"/>
4710   </mime-type>
4711   <mime-type type="text/x-opml+xml">
4712     <_comment>OPML syndication feed</_comment>
4713     <sub-class-of type="application/xml"/>
4714     <alias type="text/x-opml"/>
4715     <generic-icon name="text-html"/>
4716     <glob pattern="*.opml"/>
4717     <magic priority="70">
4718       <match type="string" value="&lt;opml " offset="0:256"/>
4719     </magic>
4720   </mime-type>
4721   <mime-type type="text/sgml">
4722     <_comment>SGML document</_comment>
4723     <acronym>SGML</acronym>
4724     <expanded-acronym>Standard Generalized Markup Language</expanded-acronym>
4725     <sub-class-of type="text/plain"/>
4726     <glob pattern="*.sgml"/>
4727     <glob pattern="*.sgm"/>
4728   </mime-type>
4729   <mime-type type="text/spreadsheet">
4730     <_comment>spreadsheet interchange document</_comment>
4731     <sub-class-of type="text/plain"/>
4732     <magic priority="50">
4733       <match type="string" value="ID;" offset="0"/>
4734     </magic>
4735     <glob pattern="*.sylk"/>
4736     <glob pattern="*.slk"/>
4737   </mime-type>
4738   <mime-type type="text/tab-separated-values">
4739     <_comment>TSV document</_comment>
4740     <acronym>TSV</acronym>
4741     <expanded-acronym>Tab Separated Values</expanded-acronym>
4742     <sub-class-of type="text/plain"/>
4743     <glob pattern="*.tsv"/>
4744   </mime-type>
4745   <mime-type type="text/vnd.graphviz">
4746     <_comment>Graphviz DOT graph</_comment>
4747     <generic-icon name="x-office-document"/>
4748     <magic priority="50">
4749       <match type="string" value="digraph " offset="0"/>
4750       <match type="string" value="strict digraph " offset="0"/>
4751       <match type="string" value="graph " offset="0"/>
4752       <match type="string" value="strict graph " offset="0"/>
4753     </magic>
4754     <glob pattern="*.gv"/>
4755     <glob pattern="*.dot"/>
4756   </mime-type>
4757   <mime-type type="text/vnd.sun.j2me.app-descriptor">
4758     <_comment>JAD document</_comment>
4759     <acronym>JAD</acronym>
4760     <expanded-acronym>Java Application Descriptor</expanded-acronym>
4761     <magic priority="50">
4762       <match type="string" value="MIDlet-" offset="0"/>
4763     </magic>
4764     <glob pattern="*.jad"/>
4765   </mime-type>
4766   <mime-type type="text/vnd.wap.wml">
4767     <_comment>WML document</_comment>
4768     <acronym>WML</acronym>
4769     <expanded-acronym>Wireless Markup Language</expanded-acronym>
4770     <sub-class-of type="application/xml"/>
4771     <glob pattern="*.wml"/>
4772   </mime-type>
4773   <mime-type type="text/vnd.wap.wmlscript">
4774     <_comment>WMLScript program</_comment>
4775     <glob pattern="*.wmls"/>
4776   </mime-type>
4777   <mime-type type="application/x-ace">
4778     <_comment>ACE archive</_comment>
4779     <generic-icon name="package-x-generic"/>
4780     <magic priority="50">
4781       <match type="string" value="**ACE**" offset="7"/>
4782     </magic>
4783     <glob pattern="*.ace"/>
4784   </mime-type>
4785   <mime-type type="text/x-adasrc">
4786     <_comment>Ada source code</_comment>
4787     <sub-class-of type="text/plain"/>
4788     <glob pattern="*.adb"/>
4789     <glob pattern="*.ads"/>
4790   </mime-type>
4791   <mime-type type="text/x-authors">
4792     <_comment>author list</_comment>
4793     <sub-class-of type="text/plain"/>
4794     <glob pattern="AUTHORS"/>
4795   </mime-type>
4796   <mime-type type="text/x-bibtex">
4797     <_comment>BibTeX document</_comment>
4798     <sub-class-of type="text/plain"/>
4799     <magic>
4800       <match type="string" value="% This file was created with JabRef" offset="0"/>
4801     </magic>
4802     <glob pattern="*.bib"/>
4803   </mime-type>
4804   <mime-type type="text/x-c++hdr">
4805     <_comment>C++ header</_comment>
4806     <sub-class-of type="text/x-chdr"/>
4807     <glob pattern="*.hh"/>
4808     <glob pattern="*.hp"/>
4809     <glob pattern="*.hpp"/>
4810     <glob pattern="*.h++"/>
4811     <glob pattern="*.hxx"/>
4812   </mime-type>
4813   <mime-type type="text/x-c++src">
4814     <_comment>C++ source code</_comment>
4815     <sub-class-of type="text/x-csrc"/>
4816     <glob pattern="*.cpp"/>
4817     <glob pattern="*.cxx"/>
4818     <glob pattern="*.cc"/>
4819     <glob pattern="*.C" case-sensitive="true"/>
4820     <glob pattern="*.c++"/>
4821   </mime-type>
4822   <mime-type type="text/x-changelog">
4823     <_comment>ChangeLog document</_comment>
4824     <sub-class-of type="text/plain"/>
4825     <glob pattern="ChangeLog"/>
4826   </mime-type>
4827   <mime-type type="text/x-chdr">
4828     <_comment>C header</_comment>
4829     <sub-class-of type="text/x-csrc"/>
4830     <glob pattern="*.h"/>
4831   </mime-type>
4832   <mime-type type="text/x-cmake">
4833     <_comment>CMake source code</_comment>
4834     <glob pattern="*.cmake"/>
4835     <glob pattern="CMakeLists.txt"/>
4836     <sub-class-of type="text/plain"/>
4837   </mime-type>
4838   <mime-type type="text/csv">
4839     <_comment>CSV document</_comment>
4840     <acronym>CSV</acronym>
4841     <expanded-acronym>Comma Separated Values</expanded-acronym>
4842     <alias type="text/x-comma-separated-values"/>
4843     <alias type="text/x-csv"/>
4844     <sub-class-of type="text/plain"/>
4845     <glob pattern="*.csv"/>
4846   </mime-type>
4847   <mime-type type="text/x-copying">
4848     <_comment>license terms</_comment>
4849     <sub-class-of type="text/plain"/>
4850     <glob pattern="COPYING"/>
4851   </mime-type>
4852   <mime-type type="text/x-credits">
4853     <_comment>author credits</_comment>
4854     <sub-class-of type="text/plain"/>
4855     <glob pattern="CREDITS"/>
4856   </mime-type>
4857   <mime-type type="text/x-csrc">
4858     <_comment>C source code</_comment>
4859     <sub-class-of type="text/plain"/>
4860     <alias type="text/x-c"/>
4861     <glob pattern="*.c" case-sensitive="true"/>
4862     <magic priority="30">
4863       <match type="string" value="/*" offset="0"/>
4864       <match type="string" value="//" offset="0"/>
4865       <match type="string" value="#include" offset="0"/>
4866     </magic>
4867   </mime-type>
4868   <mime-type type="text/x-csharp">
4869     <_comment>C# source code</_comment>
4870     <sub-class-of type="text/x-csrc"/>
4871     <glob pattern="*.cs"/>
4872   </mime-type>
4873   <mime-type type="text/x-vala">
4874     <_comment>Vala source code</_comment>
4875     <sub-class-of type="text/x-csrc"/>
4876     <glob pattern="*.vala"/>
4877     <glob pattern="*.vapi"/>
4878   </mime-type>
4879   <mime-type type="text/x-ooc">
4880     <_comment>OOC source code</_comment>
4881     <acronym>OOC</acronym>
4882     <expanded-acronym>Out Of Class</expanded-acronym>
4883     <sub-class-of type="text/x-csrc"/>
4884     <glob pattern="*.ooc"/>
4885   </mime-type>
4886   <mime-type type="text/x-dcl">
4887     <_comment>DCL script</_comment>
4888     <acronym>DCL</acronym>
4889     <expanded-acronym>Data Conversion Laboratory</expanded-acronym>
4890     <sub-class-of type="text/plain"/>
4891     <glob pattern="*.dcl"/>
4892   </mime-type>
4893   <mime-type type="text/x-dsl">
4894     <_comment>DSSSL document</_comment>
4895     <acronym>DSSSL</acronym>
4896     <expanded-acronym>Document Style Semantics and Specification Language</expanded-acronym>
4897     <sub-class-of type="text/plain"/>
4898     <glob pattern="*.dsl"/>
4899   </mime-type>
4900   <mime-type type="text/x-dsrc">
4901     <_comment>D source code</_comment>
4902     <sub-class-of type="text/x-csrc"/>
4903     <glob pattern="*.d"/>
4904   </mime-type>
4905   <mime-type type="application/xml-dtd">
4906     <_comment>DTD file</_comment>
4907     <acronym>DTD</acronym>
4908     <expanded-acronym>Document Type Definition</expanded-acronym>
4909     <sub-class-of type="text/plain"/>
4910     <generic-icon name="text-x-generic"/>
4911     <glob pattern="*.dtd"/>
4912     <alias type="text/x-dtd"/>
4913   </mime-type>
4914   <mime-type type="text/x-eiffel">
4915     <_comment>Eiffel source code</_comment>
4916     <sub-class-of type="text/plain"/>
4917     <glob pattern="*.e"/>
4918     <glob pattern="*.eif"/>
4919   </mime-type>
4920   <mime-type type="text/x-emacs-lisp">
4921     <_comment>Emacs Lisp source code</_comment>
4922     <sub-class-of type="text/plain"/>
4923     <magic priority="50">
4924       <match type="string" value="\012(" offset="0"/>
4925       <match type="string" value=";ELC\023\000\000\000" offset="0"/>
4926     </magic>
4927     <glob pattern="*.el"/>
4928   </mime-type>
4929   <mime-type type="text/x-erlang">
4930     <_comment>Erlang source code</_comment>
4931     <sub-class-of type="text/plain"/>
4932     <glob pattern="*.erl"/>
4933   </mime-type>
4934   <mime-type type="text/x-fortran">
4935     <_comment>Fortran source code</_comment>
4936     <sub-class-of type="text/plain"/>
4937     <glob pattern="*.f"/>
4938     <glob pattern="*.f90"/>
4939     <glob pattern="*.f95"/>
4940     <glob pattern="*.for"/>
4941   </mime-type>
4942   <mime-type type="text/x-gettext-translation">
4943     <_comment>translation file</_comment>
4944     <sub-class-of type="text/plain"/>
4945     <glob pattern="*.po"/>
4946     <alias type="text/x-po"/>
4947     <alias type="application/x-gettext"/>
4948   </mime-type>
4949   <mime-type type="text/x-gettext-translation-template">
4950     <_comment>translation template</_comment>
4951     <sub-class-of type="text/plain"/>
4952     <glob pattern="*.pot"/>
4953     <alias type="text/x-pot"/>
4954   </mime-type>
4955   <mime-type type="text/html">
4956     <_comment>HTML document</_comment>
4957     <acronym>HTML</acronym>
4958     <expanded-acronym>HyperText Markup Language</expanded-acronym>
4959     <sub-class-of type="text/plain"/>
4960     <magic priority="50">
4961       <match type="string" value="&lt;!DOCTYPE HTML" offset="0:256"/>
4962       <match type="string" value="&lt;!doctype html" offset="0:256"/>
4963       <match type="string" value="&lt;HEAD" offset="0:256"/>
4964       <match type="string" value="&lt;head" offset="0:256"/>
4965       <match type="string" value="&lt;TITLE" offset="0:256"/>
4966       <match type="string" value="&lt;title" offset="0:256"/>
4967       <match type="string" value="&lt;HTML" offset="0:256"/>
4968       <match type="string" value="&lt;html" offset="0:256"/>
4969       <match type="string" value="&lt;SCRIPT" offset="0:256"/>
4970       <match type="string" value="&lt;script" offset="0:256"/>
4971       <match type="string" value="&lt;BODY" offset="0"/>
4972       <match type="string" value="&lt;body" offset="0"/>
4973       <match type="string" value="&lt;!--" offset="0"/>
4974       <match type="string" value="&lt;h1" offset="0"/>
4975       <match type="string" value="&lt;H1" offset="0"/>
4976       <match type="string" value="&lt;!doctype HTML" offset="0"/>
4977       <match type="string" value="&lt;!DOCTYPE html" offset="0"/>
4978     </magic>
4979     <glob pattern="*.html"/>
4980     <glob pattern="*.htm"/>
4981   </mime-type>
4982   <mime-type type="text/cache-manifest">
4983     <_comment>Web application cache manifest</_comment>
4984     <sub-class-of type="text/plain"/>
4985     <magic>
4986       <match type="string" value="CACHE MANIFEST" offset="0">
4987         <match type="string" value="\x20" offset="14"/>
4988         <match type="string" value="\x09" offset="14"/>
4989         <match type="string" value="\x0a" offset="14"/>
4990         <match type="string" value="\x0d" offset="14"/>
4991       </match>
4992     </magic>
4993     <glob pattern="*.manifest"/>
4994   </mime-type>
4995   <mime-type type="text/x-google-video-pointer">
4996     <_comment>Google Video Pointer</_comment>
4997     <magic priority="50">
4998       <match type="string" value="#.download.the.free.Google.Video.Player" offset="0"/>
4999       <match type="string" value="# download the free Google Video Player" offset="0"/>
5000     </magic>
5001     <glob pattern="*.gvp"/>
5002     <alias type="text/google-video-pointer"/>
5003   </mime-type>
5004   <mime-type type="text/x-haskell">
5005     <_comment>Haskell source code</_comment>
5006     <sub-class-of type="text/plain"/>
5007     <glob pattern="*.hs"/>
5008   </mime-type>
5009   <mime-type type="text/x-idl">
5010     <_comment>IDL document</_comment>
5011     <acronym>IDL</acronym>
5012     <expanded-acronym>Interface Definition Language</expanded-acronym>
5013     <sub-class-of type="text/plain"/>
5014     <glob pattern="*.idl"/>
5015   </mime-type>
5016   <mime-type type="text/x-install">
5017     <_comment>installation instructions</_comment>
5018     <sub-class-of type="text/plain"/>
5019     <glob pattern="INSTALL"/>
5020   </mime-type>
5021   <mime-type type="text/x-java">
5022     <_comment>Java source code</_comment>
5023     <sub-class-of type="text/x-csrc"/>
5024     <glob pattern="*.java"/>
5025   </mime-type>
5026   <mime-type type="text/x-ldif">
5027     <_comment>LDIF address book</_comment>
5028     <acronym>LDIF</acronym>
5029     <expanded-acronym>LDAP Data Interchange Format</expanded-acronym>
5030     <sub-class-of type="text/plain"/>
5031     <magic priority="50">
5032       <match type="string" value="dn: cn=" offset="0"/>
5033       <match type="string" value="dn: mail=" offset="0"/>
5034     </magic>
5035     <glob pattern="*.ldif"/>
5036   </mime-type>
5037   <mime-type type="text/x-lilypond">
5038     <_comment>Lilypond music sheet</_comment>
5039     <glob pattern="*.ly"/>
5040     <sub-class-of type="text/plain"/>
5041   </mime-type>
5042   <mime-type type="text/x-literate-haskell">
5043     <_comment>LHS source code</_comment>
5044     <acronym>LHS</acronym>
5045     <expanded-acronym>Literate Haskell source code</expanded-acronym>
5046     <sub-class-of type="text/plain"/>
5047     <glob pattern="*.lhs"/>
5048   </mime-type>
5049   <mime-type type="text/x-log">
5050     <_comment>application log</_comment>
5051     <sub-class-of type="text/plain"/>
5052     <glob pattern="*.log"/>
5053   </mime-type>
5054   <mime-type type="text/x-makefile">
5055     <_comment>Makefile</_comment>
5056     <sub-class-of type="text/plain"/>
5057     <glob pattern="makefile"/>
5058     <glob pattern="GNUmakefile"/>
5059     <glob weight="10" pattern="Makefile.*"/>
5060     <magic priority="50">
5061       <match type="string" value="#!/usr/bin/make" offset="0"/>
5062       <match type="string" value="#! /usr/bin/make" offset="0"/>
5063     </magic>
5064   </mime-type>
5065   <mime-type type="text/x-markdown">
5066     <_comment>Markdown document</_comment>
5067     <sub-class-of type="text/plain"/>
5068     <glob pattern="*.md"/>
5069     <glob pattern="*.mkd"/>
5070     <glob pattern="*.markdown"/>
5071   </mime-type>
5072   <mime-type type="text/x-moc">
5073     <_comment>Qt MOC file</_comment>
5074     <acronym>Qt MOC</acronym>
5075     <expanded-acronym>Qt Meta Object Compiler</expanded-acronym>
5076     <sub-class-of type="text/plain"/>
5077     <glob pattern="*.moc"/>
5078   </mime-type>
5079   <mime-type type="text/x-ms-regedit">
5080     <_comment>Windows Registry extract</_comment>
5081     <sub-class-of type="text/plain"/>
5082     <magic priority="50">
5083       <match type="string" value="REGEDIT" offset="0"/>
5084       <match type="string" value="Windows Registry Editor Version 5.00" offset="0"/>
5085       <match type="string" value="\xff\xfeW\x00i\x00n\x00d\x00o\x00w\x00s\x00 \x00R\x00e\x00g\x00i\x00s\x00t\x00r\x00y\x00 \x00E\x00d\x00i\x00t\x00o\x00r\x00" offset="0"/>
5086     </magic>
5087     <glob pattern="*.reg"/>
5088   </mime-type>
5089   <mime-type type="text/x-mof">
5090     <_comment>Managed Object Format</_comment>
5091     <sub-class-of type="text/x-csrc"/>
5092     <glob pattern="*.mof"/>
5093   </mime-type>
5094   <mime-type type="text/x-mup">
5095     <_comment>Mup publication</_comment>
5096     <sub-class-of type="text/plain"/>
5097     <magic priority="50">
5098       <match type="string" value="//!Mup" offset="0"/>
5099     </magic>
5100     <glob pattern="*.mup"/>
5101     <glob pattern="*.not"/>
5102   </mime-type>
5103   <mime-type type="text/x-objcsrc">
5104     <_comment>Objective-C source code</_comment>
5105     <sub-class-of type="text/x-csrc"/>
5106     <magic priority="30">
5107       <match type="string" value="#import" offset="0"/>
5108     </magic>
5109     <glob pattern="*.m"/>
5110   </mime-type>
5111   <mime-type type="text/x-ocaml">
5112     <_comment>OCaml source code</_comment>
5113     <glob pattern="*.ml"/>
5114     <glob pattern="*.mli"/>
5115   </mime-type>
5116   <mime-type type="text/x-matlab">
5117     <_comment>MATLAB script/function</_comment>
5118     <sub-class-of type="text/plain"/>
5119     <magic priority="10">
5120       <match type="string" value="%" offset="0"/>
5121     </magic>
5122     <magic priority="10">
5123       <match type="string" value="##" offset="0"/>
5124     </magic>
5125     <magic priority="50">
5126       <match type="string" value="function" offset="0"/>
5127     </magic>
5128     <glob pattern="*.m"/>
5129     <alias type="text/x-octave"/>
5130   </mime-type>
5131   <mime-type type="text/x-pascal">
5132     <_comment>Pascal source code</_comment>
5133     <sub-class-of type="text/plain"/>
5134     <glob pattern="*.p"/>
5135     <glob pattern="*.pas"/>
5136   </mime-type>
5137   <mime-type type="text/x-patch">
5138     <_comment>differences between files</_comment>
5139     <alias type="text/x-diff"/>
5140     <sub-class-of type="text/plain"/>
5141     <magic priority="50">
5142       <match type="string" value="diff\t" offset="0"/>
5143       <match type="string" value="diff " offset="0"/>
5144       <match type="string" value="***\t" offset="0"/>
5145       <match type="string" value="*** " offset="0"/>
5146       <match type="string" value="=== " offset="0"/>
5147       <match type="string" value="--- " offset="0"/>
5148       <match type="string" value="Only in\t" offset="0"/>
5149       <match type="string" value="Only in " offset="0"/>
5150       <match type="string" value="Common subdirectories: " offset="0"/>
5151       <match type="string" value="Index:" offset="0"/>
5152     </magic>
5153     <glob pattern="*.diff"/>
5154     <glob pattern="*.patch"/>
5155   </mime-type>
5156   <mime-type type="text/x-go">
5157     <_comment>Go source code</_comment>
5158     <sub-class-of type="text/plain"/>
5159     <glob pattern="*.go"/>
5160   </mime-type>
5161   <mime-type type="text/x-python">
5162     <_comment>Python script</_comment>
5163     <sub-class-of type='application/x-executable'/>
5164     <sub-class-of type="text/plain"/>
5165     <magic priority="50">
5166       <match type="string" value="#!/bin/python" offset="0"/>
5167       <match type="string" value="#! /bin/python" offset="0"/>
5168       <match type="string" value='eval \"exec /bin/python' offset="0"/>
5169       <match type="string" value="#!/usr/bin/python" offset="0"/>
5170       <match type="string" value="#! /usr/bin/python" offset="0"/>
5171       <match type="string" value='eval \"exec /usr/bin/python' offset="0"/>
5172       <match type="string" value="#!/usr/local/bin/python" offset="0"/>
5173       <match type="string" value="#! /usr/local/bin/python" offset="0"/>
5174       <match type="string" value='eval \"exec /usr/local/bin/python' offset="0"/>
5175       <match type="string" value='/bin/env python' offset="1:16"/>
5176     </magic>
5177     <glob pattern="*.py"/>
5178     <glob pattern="*.wsgi"/>
5179   </mime-type>
5180   <mime-type type="text/x-lua">
5181     <_comment>Lua script</_comment>
5182     <sub-class-of type='application/x-executable'/>
5183     <sub-class-of type="text/plain"/>
5184     <magic priority="50">
5185       <match type="string" value="/bin/lua" offset="0"/>
5186       <match type="string" value="/bin/env lua" offset="0"/>
5187     </magic>
5188     <glob pattern="*.lua"/>
5189   </mime-type>
5190   <mime-type type="text/x-readme">
5191     <_comment>README document</_comment>
5192     <sub-class-of type="text/plain"/>
5193     <glob weight="10" pattern="README*"/>
5194   </mime-type>
5195   <mime-type type="text/x-nfo">
5196     <_comment>NFO document</_comment>
5197     <sub-class-of type="text/x-readme"/>
5198     <glob pattern="*.nfo"/>
5199   </mime-type>
5200   <mime-type type="text/x-rpm-spec">
5201     <_comment>RPM spec file</_comment>
5202     <acronym>RPM</acronym>
5203     <expanded-acronym>Red Hat Package Manager</expanded-acronym>
5204     <sub-class-of type="text/plain"/>
5205     <glob pattern="*.spec"/>
5206     <magic priority="50">
5207       <match type="string" value="Summary: " offset="0"/>
5208       <match type="string" value="%define " offset="0"/>
5209     </magic>
5210   </mime-type>
5211   <mime-type type="text/x-scala">
5212     <_comment>Scala source code</_comment>
5213     <sub-class-of type="text/plain"/>
5214     <glob pattern="*.scala"/>
5215   </mime-type>
5216   <mime-type type="text/x-scheme">
5217     <_comment>Scheme source code</_comment>
5218     <sub-class-of type="text/plain"/>
5219     <glob pattern="*.scm"/>
5220     <glob pattern="*.ss"/>
5221   </mime-type>
5222   <mime-type type="text/x-setext">
5223     <_comment>Setext document</_comment>
5224     <sub-class-of type="text/plain"/>
5225     <glob pattern="*.etx"/>
5226   </mime-type>
5227   <mime-type type="text/x-sql">
5228     <_comment>SQL code</_comment>
5229     <sub-class-of type="text/plain"/>
5230     <glob pattern="*.sql"/>
5231   </mime-type>
5232   <mime-type type="text/x-tcl">
5233     <_comment>Tcl script</_comment>
5234     <sub-class-of type="text/plain"/>
5235     <glob pattern="*.tcl"/>
5236     <glob pattern="*.tk"/>
5237   </mime-type>
5238   <mime-type type="text/x-tex">
5239     <_comment>TeX document</_comment>
5240     <sub-class-of type="text/plain"/>
5241     <alias type="application/x-tex"/>
5242     <glob pattern="*.tex"/>
5243     <glob pattern="*.ltx"/>
5244     <glob pattern="*.sty"/>
5245     <glob pattern="*.cls"/>
5246     <glob pattern="*.dtx"/>
5247     <glob pattern="*.ins"/>
5248     <glob pattern="*.latex"/>
5249     <magic priority="10">
5250       <match type="string" value="%" offset="0"/>
5251     </magic>
5252     <magic priority="50">
5253       <match type="string" value="documentclass" offset="1"/>
5254     </magic>
5255   </mime-type>
5256   <mime-type type="text/x-texinfo">
5257     <_comment>TeXInfo document</_comment>
5258     <sub-class-of type="text/plain"/>
5259     <glob pattern="*.texi"/>
5260     <glob pattern="*.texinfo"/>
5261   </mime-type>
5262   <mime-type type="text/x-troff-me">
5263     <_comment>Troff ME input document</_comment>
5264     <sub-class-of type="text/plain"/>
5265     <glob pattern="*.me"/>
5266   </mime-type>
5267   <mime-type type="text/x-troff-mm">
5268     <_comment>Troff MM input document</_comment>
5269     <sub-class-of type="text/plain"/>
5270     <glob pattern="*.mm"/>
5271   </mime-type>
5272   <mime-type type="text/x-troff-ms">
5273     <_comment>Troff MS input document</_comment>
5274     <sub-class-of type="text/plain"/>
5275     <glob pattern="*.ms"/>
5276   </mime-type>
5277   <mime-type type="text/x-uil">
5278     <_comment>X-Motif UIL table</_comment>
5279     <sub-class-of type="text/plain"/>
5280     <glob pattern="*.uil"/>
5281   </mime-type>
5282   <mime-type type="text/x-uri">
5283     <_comment>resource location</_comment>
5284     <sub-class-of type="text/plain"/>
5285     <!-- Note: text/uri-list is reserved by the XDND protocol! -->
5286   </mime-type>
5287   <mime-type type="text/x-xmi">
5288     <_comment>XMI file</_comment>
5289     <acronym>XMI</acronym>
5290     <expanded-acronym>XML Metadata Interchange</expanded-acronym>
5291     <sub-class-of type="application/xml"/>
5292     <glob pattern="*.xmi"/>
5293     <root-XML namespaceURI="http://schema.omg.org/spec/XMI/2.0" localName="XMI"/>
5294     <root-XML namespaceURI="http://schema.omg.org/spec/XMI/2.1" localName="XMI"/>
5295   </mime-type>
5296   <mime-type type="text/x-xslfo">
5297     <_comment>XSL FO file</_comment>
5298     <acronym>XSL FO</acronym>
5299     <expanded-acronym>XSL Formatting Objects</expanded-acronym>
5300     <sub-class-of type="application/xml"/>
5301     <glob pattern="*.fo"/>
5302     <glob pattern="*.xslfo"/>
5303     <root-XML namespaceURI="http://www.w3.org/1999/XSL/Format" localName="root"/>
5304   </mime-type>
5305   <mime-type type="text/x-iptables">
5306     <_comment>iptables configuration file</_comment>
5307     <sub-class-of type="text/plain"/>
5308     <magic priority="50">
5309       <match type="string" value="/etc/sysconfig/iptables" offset="0:256"/>
5310       <match type="string" value="*filter" offset="0:256">
5311         <match type="string" value=":INPUT" offset="0:256">
5312           <match type="string" value=":FORWARD" offset="0:256">
5313             <match type="string" value=":OUTPUT" offset="0:256"/>
5314           </match>
5315         </match>
5316       </match>
5317       <match type="string" value="-A INPUT" offset="0:256">
5318         <match type="string" value="-A FORWARD" offset="0:256">
5319           <match type="string" value="-A OUTPUT" offset="0:256"/>
5320         </match>
5321       </match>
5322       <match type="string" value="-P INPUT" offset="0:256">
5323         <match type="string" value="-P FORWARD" offset="0:256">
5324           <match type="string" value="-P OUTPUT" offset="0:256"/>
5325         </match>
5326       </match>
5327     </magic>
5328     <glob pattern="*.iptables"/>
5329   </mime-type>
5330   <mime-type type="application/xslt+xml">
5331     <_comment>XSLT stylesheet</_comment>
5332     <acronym>XSLT</acronym>
5333     <expanded-acronym>eXtensible Stylesheet Language Transformation</expanded-acronym>
5334     <generic-icon name="text-x-generic"/>
5335     <magic priority="50">
5336       <match type="string" value="&lt;xsl:stylesheet" offset="0:256"/>
5337     </magic>
5338     <glob pattern="*.xsl"/>
5339     <glob pattern="*.xslt"/>
5340     <root-XML namespaceURI="http://www.w3.org/1999/XSL/Transform" localName="stylesheet"/>
5341     <sub-class-of type="application/xml"/>
5342   </mime-type>
5343   <mime-type type="text/xmcd">
5344     <_comment>XMCD CD database</_comment>
5345     <sub-class-of type="text/plain"/>
5346     <magic priority="50">
5347       <match type="string" value="# xmcd" offset="0"/>
5348     </magic>
5349   </mime-type>
5350   <mime-type type="application/xml">
5351     <_comment>XML document</_comment>
5352     <acronym>XML</acronym>
5353     <expanded-acronym>eXtensible Markup Language</expanded-acronym>
5354     <sub-class-of type="text/plain"/>
5355     <generic-icon name="text-html"/>
5356     <magic priority="40">
5357       <match type="string" value="&lt;?xml" offset="0"/>
5358       <match type="string" value="&lt;!--" offset="0"/>
5359     </magic>
5360     <glob pattern="*.xml"/>
5361     <glob pattern="*.xbl"/>
5362     <glob pattern="*.xsd"/>
5363     <glob pattern="*.rng"/>
5364     <alias type="text/xml"/>
5365   </mime-type>
5366   <mime-type type="application/xml-external-parsed-entity">
5367     <_comment>XML entities document</_comment>
5368     <acronym>XML</acronym>
5369     <expanded-acronym>eXtensible Markup Language</expanded-acronym>
5370     <sub-class-of type="application/xml"/>
5371     <generic-icon name="text-html"/>
5372     <glob pattern="*.ent"/>
5373     <alias type="text/xml-external-parsed-entity"/>
5374   </mime-type>
5375   <mime-type type="video/dv">
5376     <_comment>DV video</_comment>
5377     <acronym>DV</acronym>
5378     <expanded-acronym>Digital Video</expanded-acronym>
5379     <magic priority="50">
5380       <match type="big32" value="0x1f070000" mask="0xffffff00" offset="0"/>
5381     </magic>
5382     <glob pattern="*.dv"/>
5383   </mime-type>
5384   <mime-type type="video/isivideo">
5385     <_comment>ISI video</_comment>
5386   </mime-type>
5387   <mime-type type="video/mp2t">
5388     <_comment>MPEG-2 transport stream</_comment>
5389     <acronym>MPEG-2 TS</acronym>
5390     <expanded-acronym>Moving Picture Experts Group 2 Transport Stream</expanded-acronym>
5391     <magic priority="50">
5392       <match type="big32" value="0x47400010" mask="0xff4000df" offset="0"/>
5393     </magic>
5394     <glob pattern="*.m2t"/>
5395     <glob pattern="*.m2ts"/>
5396     <glob pattern="*.ts"/>
5397     <glob pattern="*.mts"/>
5398     <glob pattern="*.cpi"/>
5399     <glob pattern="*.clpi"/>
5400     <glob pattern="*.mpl"/>
5401     <glob pattern="*.mpls"/>
5402     <glob pattern="*.bdm"/>
5403     <glob pattern="*.bdmv"/>
5404   </mime-type>
5405   <mime-type type="video/mpeg">
5406     <_comment>MPEG video</_comment>
5407     <acronym>MPEG</acronym>
5408     <expanded-acronym>Moving Picture Experts Group</expanded-acronym>
5409     <alias type="video/x-mpeg"/>
5410     <alias type="video/x-mpeg2"/>
5411     <magic priority="50">
5412       <match type="string" value="\x47\x3f\xff\x10" offset="0"/>
5413       <match type="big32" value="0x000001b3" offset="0"/>
5414       <match type="big32" value="0x000001ba" offset="0"/>
5415     </magic>
5416     <glob pattern="*.mpeg"/>
5417     <glob pattern="*.mpg"/>
5418     <glob pattern="*.mp2"/>
5419     <glob pattern="*.mpe"/>
5420     <glob pattern="*.vob"/>
5421     <glob pattern="[0-9][0-9][0-9].vdr"/>
5422   </mime-type>
5423   <mime-type type="video/vnd.mpegurl">
5424     <_comment>MPEG video (streamed)</_comment>
5425     <sub-class-of type="text/plain"/>
5426     <alias type="video/x-mpegurl"/>
5427     <magic priority="50">
5428       <match type="string" value="#EXTM4U" offset="0"/>
5429     </magic>
5430     <glob pattern="*.m1u"/>
5431     <glob pattern="*.m4u"/>
5432     <glob pattern="*.mxu"/>
5433   </mime-type>
5434   <mime-type type="video/quicktime">
5435     <_comment>QuickTime video</_comment>
5436     <magic priority="50">
5437       <match type="string" value="mdat" offset="12"/>
5438       <match type="string" value="mdat" offset="4"/>
5439       <match type="string" value="moov" offset="4"/>
5440       <match type="string" value="ftypqt" offset="4"/>
5441     </magic>
5442     <glob pattern="*.qt"/>
5443     <glob pattern="*.mov"/>
5444     <glob pattern="*.moov"/>
5445     <glob pattern="*.qtvr"/>
5446   </mime-type>
5447   <mime-type type="image/x-quicktime">
5448     <_comment>QuickTime image</_comment>
5449     <magic priority="50">
5450       <match type="string" value="idat" offset="4"/>
5451     </magic>
5452     <glob pattern="*.qtif"/>
5453     <glob pattern="*.qif"/>
5454   </mime-type>
5455   <mime-type type="video/vivo">
5456     <_comment>Vivo video</_comment>
5457     <alias type="video/vnd.vivo"/>
5458     <glob pattern="*.viv"/>
5459     <glob pattern="*.vivo"/>
5460   </mime-type>
5461   <mime-type type="video/wavelet">
5462     <_comment>Wavelet video</_comment>
5463   </mime-type>
5464   <mime-type type="video/x-anim">
5465     <_comment>ANIM animation</_comment>
5466     <glob pattern="*.anim[1-9j]"/>
5467   </mime-type>
5468   <mime-type type="video/x-flic">
5469     <_comment>FLIC animation</_comment>
5470     <alias type="video/fli"/>
5471     <alias type="video/x-fli"/>
5472     <magic priority="50">
5473       <match type="little16" value="0xAF11" offset="0"/>
5474       <match type="little16" value="0xAF12" offset="0"/>
5475     </magic>
5476     <glob pattern="*.fli"/>
5477     <glob pattern="*.flc"/>
5478   </mime-type>
5479   <mime-type type="application/x-hwp">
5480     <_comment>Haansoft Hangul document</_comment>
5481     <generic-icon name="x-office-document"/>
5482     <magic priority="50">
5483       <match type="string" value="HWP Document File" offset="0"/>
5484     </magic>
5485     <glob pattern="*.hwp"/>
5486     <alias type="application/vnd.haansoft-hwp"/>
5487   </mime-type>
5488   <mime-type type="application/x-hwt">
5489     <_comment>Haansoft Hangul document template</_comment>
5490     <generic-icon name="x-office-document"/>
5491     <glob pattern="*.hwt"/>
5492     <alias type="application/vnd.haansoft-hwt"/>
5493   </mime-type>
5494   <mime-type type="video/x-mng">
5495     <_comment>MNG animation</_comment>
5496     <acronym>MNG</acronym>
5497     <expanded-acronym>Multiple-Image Network Graphics</expanded-acronym>
5498     <glob pattern="*.mng"/>
5499   </mime-type>
5500   <mime-type type="video/x-ms-asf">
5501     <_comment>ASF video</_comment>
5502     <acronym>ASF</acronym>
5503     <expanded-acronym>Advanced Streaming Format</expanded-acronym>
5504     <alias type="video/x-ms-wm"/>
5505     <alias type="application/vnd.ms-asf"/>
5506     <glob pattern="*.asf"/>
5507     <magic priority="50">
5508       <match type="big32" value="0x3026b275" offset="0"/>
5509       <match type="string" value="[Reference]" offset="0"/>
5510     </magic>
5511   </mime-type>
5512   <mime-type type="application/x-netshow-channel">
5513     <_comment>Windows Media Station file</_comment>
5514     <sub-class-of type="video/x-ms-asf"/>
5515     <generic-icon name="video-x-generic"/>
5516     <glob pattern="*.nsc"/>
5517     <magic priority="50">
5518       <match type="string" value="[Address]" offset="0"/>
5519     </magic>
5520   </mime-type>
5521   <mime-type type="video/x-ms-wmv">
5522     <_comment>Windows Media video</_comment>
5523     <sub-class-of type="video/x-ms-asf"/>
5524     <glob pattern="*.wmv"/>
5525   </mime-type>
5526   <mime-type type="video/x-msvideo">
5527     <_comment>AVI video</_comment>
5528     <acronym>AVI</acronym>
5529     <expanded-acronym>Audio Video Interleave</expanded-acronym>
5530     <alias type="video/x-avi"/>
5531     <alias type="video/avi"/>
5532     <alias type="video/divx"/>
5533     <alias type="video/msvideo"/>
5534     <alias type="video/vnd.divx"/>
5535     <magic priority="50">
5536       <match type="string" value="RIFF" offset="0">
5537         <match type="string" value="AVI " offset="8"/>
5538       </match>
5539     </magic>
5540     <glob pattern="*.avi"/>
5541     <glob pattern="*.divx"/>
5542   </mime-type>
5543   <mime-type type="video/x-nsv">
5544     <_comment>NullSoft video</_comment>
5545     <magic priority="50">
5546       <match type="string" value="NSVf" offset="0"/>
5547     </magic>
5548     <glob pattern="*.nsv"/>
5549   </mime-type>
5550   <mime-type type="application/sdp">
5551     <_comment>SDP multicast stream file</_comment>
5552     <acronym>SDP</acronym>
5553     <expanded-acronym>Session Description Protocol</expanded-acronym>
5554     <alias type="application/x-sdp" />
5555     <alias type="application/vnd.sdp" />
5556     <generic-icon name="video-x-generic"/>
5557     <magic priority="50">
5558       <match type="string" value="v=" offset="0">
5559         <match type="string" value="s=" offset="0:256" />
5560       </match>
5561     </magic>
5562     <glob pattern="*.sdp"/>
5563   </mime-type>
5564   <mime-type type="video/x-sgi-movie">
5565     <_comment>SGI video</_comment>
5566     <magic priority="50">
5567       <match type="string" value="MOVI" offset="0"/>
5568     </magic>
5569     <glob pattern="*.movie"/>
5570   </mime-type>
5571   <mime-type type="application/vnd.emusic-emusic_package">
5572     <_comment>eMusic download package</_comment>
5573     <generic-icon name="package-x-generic"/>
5574     <magic priority="50">
5575       <match type="string" value="nF7YLao" offset="0"/>
5576     </magic>
5577     <glob pattern="*.emp"/>
5578   </mime-type>
5579   <mime-type type="application/vnd.google-earth.kml+xml">
5580     <_comment>KML geographic data</_comment>
5581     <acronym>KML</acronym>
5582     <expanded-acronym>Keyhole Markup Language</expanded-acronym>
5583     <sub-class-of type="application/xml"/>
5584     <glob pattern="*.kml"/>
5585     <root-XML namespaceURI="http://www.opengis.net/kml/2.2" localName="kml"/>
5586   </mime-type>
5587   <mime-type type="application/vnd.google-earth.kmz">
5588     <_comment>KML geographic compressed data</_comment>
5589     <acronym>KML</acronym>
5590     <expanded-acronym>Keyhole Markup Language</expanded-acronym>
5591     <sub-class-of type="application/zip"/>
5592     <glob pattern="*.kmz"/>
5593   </mime-type>
5594   <mime-type type="application/x-ica">
5595     <_comment>Citrix ICA settings file</_comment>
5596     <acronym>ICA</acronym>
5597     <expanded-acronym>Independent Computing Architecture</expanded-acronym>
5598     <sub-class-of type="text/plain"/>
5599     <generic-icon name="text-x-generic"/>
5600     <glob pattern="*.ica"/>
5601   </mime-type>
5602   <mime-type type="application/vnd.mozilla.xul+xml">
5603     <_comment>XUL interface document</_comment>
5604     <acronym>XUL</acronym>
5605     <expanded-acronym>XML User interface markup Language</expanded-acronym>
5606     <sub-class-of type="application/xml"/>
5607     <generic-icon name="x-office-document"/>
5608     <root-XML namespaceURI="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" localName="window"/>
5609     <glob pattern="*.xul"/>
5610   </mime-type>
5611   <mime-type type="application/x-xpinstall">
5612     <_comment>XPInstall installer module</_comment>
5613     <sub-class-of type="application/zip"/>
5614     <glob pattern="*.xpi"/>
5615   </mime-type>
5616   <mime-type type="application/vnd.openxmlformats-officedocument.wordprocessingml.document">
5617     <_comment>Word 2007 document</_comment>
5618     <glob pattern="*.docx"/>
5619     <sub-class-of type="application/zip"/>
5620     <generic-icon name="x-office-document"/>
5621   </mime-type>
5622   <mime-type type="application/vnd.openxmlformats-officedocument.wordprocessingml.template">
5623     <_comment>Word 2007 document template</_comment>
5624     <glob pattern="*.dotx"/>
5625     <sub-class-of type="application/zip"/>
5626     <generic-icon name="x-office-document"/>
5627   </mime-type>
5628   <mime-type type="application/vnd.openxmlformats-officedocument.presentationml.presentation">
5629     <_comment>PowerPoint 2007 presentation</_comment>
5630     <glob pattern="*.pptx"/>
5631     <sub-class-of type="application/zip"/>
5632     <generic-icon name="x-office-presentation"/>
5633   </mime-type>
5634   <mime-type type="application/vnd.openxmlformats-officedocument.presentationml.slide">
5635     <_comment>PowerPoint 2007 slide</_comment>
5636     <glob pattern="*.sldx"/>
5637     <sub-class-of type="application/zip"/>
5638     <generic-icon name="x-office-presentation"/>
5639   </mime-type>
5640   <mime-type type="application/vnd.openxmlformats-officedocument.presentationml.slideshow">
5641     <_comment>PowerPoint 2007 show</_comment>
5642     <glob pattern="*.ppsx"/>
5643     <sub-class-of type="application/zip"/>
5644     <generic-icon name="x-office-presentation"/>
5645   </mime-type>
5646   <mime-type type="application/vnd.openxmlformats-officedocument.presentationml.template">
5647     <_comment>PowerPoint 2007 presentation template</_comment>
5648     <glob pattern="*.potx"/>
5649     <sub-class-of type="application/zip"/>
5650     <generic-icon name="x-office-presentation"/>
5651   </mime-type>
5652   <mime-type type="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet">
5653     <_comment>Excel 2007 spreadsheet</_comment>
5654     <glob pattern="*.xlsx"/>
5655     <sub-class-of type="application/zip"/>
5656     <generic-icon name="x-office-spreadsheet"/>
5657   </mime-type>
5658   <mime-type type="application/vnd.openxmlformats-officedocument.spreadsheetml.template">
5659     <_comment>Excel 2007 spreadsheet template</_comment>
5660     <glob pattern="*.xltx"/>
5661     <sub-class-of type="application/zip"/>
5662     <generic-icon name="x-office-spreadsheet"/>
5663   </mime-type>
5664   <mime-type type="application/x-t602">
5665     <_comment>T602 document</_comment>
5666     <generic-icon name="x-office-document"/>
5667     <magic priority="50">
5668       <match offset="0" type="string" value="@CT 0" />
5669       <match offset="0" type="string" value="@CT 1" />
5670       <match offset="0" type="string" value="@CT 2" />
5671     </magic>
5672     <glob pattern="*.602" />
5673   </mime-type>
5674   <mime-type type="application/x-cisco-vpn-settings">
5675     <_comment>Cisco VPN Settings</_comment>
5676     <generic-icon name="text-x-generic"/>
5677     <magic priority="50">
5678       <match type="string" value="[main]" offset="0">
5679         <match type="string" value="AuthType=" offset="0:256"/>
5680       </match>
5681     </magic>
5682     <glob pattern="*.pcf"/>
5683   </mime-type>
5684   <mime-type type="application/vnd.iccprofile">
5685     <_comment>ICC profile</_comment>
5686     <magic priority="50">
5687       <match type="string" value="acsp" offset="36"/>
5688     </magic>
5689     <glob pattern="*.icc"/>
5690     <glob pattern="*.icm"/>
5691   </mime-type>
5692   <mime-type type="application/x-it87">
5693     <_comment>IT 8.7 color calibration file</_comment>
5694     <magic priority="50">
5695       <match type="string" value="IT8.7" offset="0"/>
5696     </magic>
5697     <sub-class-of type="text/plain"/>
5698     <generic-icon name="text-x-generic"/>
5699     <glob pattern="*.it87"/>
5700   </mime-type>
5701
5702   <!-- Tree content-types -->
5703   <mime-type type="x-content/image-dcf">
5704     <!-- http://en.wikipedia.org/wiki/Design_rule_for_Camera_File_system -->
5705     <_comment>digital photos</_comment>
5706     <treemagic>
5707       <treematch path="dcim" type="directory" non-empty="true"/>
5708     </treemagic>
5709   </mime-type>
5710
5711   <mime-type type="x-content/video-vcd">
5712     <!-- TRANSLATORS: This is a brand-name, not a generic term. Please see
5713          http://en.wikipedia.org/wiki/Video_CD
5714          http://www.herongyang.com/CD-DVD/VCD-Movie-File-Directory-Structure.html -->
5715     <_comment>Video CD</_comment>
5716     <treemagic>
5717       <treematch path="mpegav/AVSEQ01.DAT" type="file" />
5718     </treemagic>
5719   </mime-type>
5720
5721   <mime-type type="x-content/video-svcd">
5722     <!-- TRANSLATORS: This is a brand-name, not a generic term. Please see
5723          http://en.wikipedia.org/wiki/Super_Video_CD
5724          http://everything2.com/index.pl?node_id=1009222 -->
5725     <_comment>Super Video CD</_comment>
5726     <treemagic>
5727       <treematch path="MPEG2/AVSEQ01.MPG" type="file" />
5728     </treemagic>
5729   </mime-type>
5730
5731   <mime-type type="x-content/video-dvd">
5732     <!-- http://en.wikipedia.org/wiki/DVD-Video -->
5733     <_comment>video DVD</_comment>
5734     <treemagic>
5735       <treematch path="VIDEO_TS/VIDEO_TS.IFO" type="file" />
5736       <treematch path="VIDEO_TS/VIDEO_TS.IFO;1" type="file" />
5737       <treematch path="VIDEO_TS.IFO" type="file" />
5738       <treematch path="VIDEO_TS.IFO;1" type="file" />
5739     </treemagic>
5740   </mime-type>
5741
5742   <mime-type type="x-content/audio-cdda">
5743     <!-- http://en.wikipedia.org/wiki/Red_Book_(audio_CD_standard) -->
5744     <_comment>audio CD</_comment>
5745   </mime-type>
5746
5747   <mime-type type="x-content/blank-cd">
5748     <!-- http://en.wikipedia.org/wiki/Compact_Disc -->
5749     <_comment>blank CD disc</_comment>
5750   </mime-type>
5751
5752   <mime-type type="x-content/blank-dvd">
5753     <!-- http://en.wikipedia.org/wiki/DVD -->
5754     <_comment>blank DVD disc</_comment>
5755   </mime-type>
5756
5757   <mime-type type="x-content/blank-bd">
5758     <!-- http://en.wikipedia.org/wiki/Blu-ray_Disc -->
5759     <_comment>blank Blu-ray disc</_comment>
5760   </mime-type>
5761
5762   <mime-type type="x-content/blank-hddvd">
5763     <!-- http://en.wikipedia.org/wiki/HD_DVD -->
5764     <_comment>blank HD DVD disc</_comment>
5765   </mime-type>
5766
5767   <mime-type type="x-content/audio-dvd">
5768     <!-- http://en.wikipedia.org/wiki/DVD-Audio -->
5769     <_comment>audio DVD</_comment>
5770     <treemagic>
5771       <treematch path="AUDIO_TS/AUDIO_TS.IFO" type="file" />
5772       <treematch path="AUDIO_TS/AUDIO_TS.IFO;1" type="file" />
5773     </treemagic>
5774   </mime-type>
5775
5776   <mime-type type="x-content/video-bluray">
5777     <!-- http://en.wikipedia.org/wiki/Blu-ray_Disc
5778          http://www.blu-raydisc.com/Section-13470/Section-13890/Index.html -->
5779     <_comment>Blu-ray video disc</_comment>
5780     <treemagic>
5781       <treematch path="BDAV" type="directory" non-empty="true"/>
5782       <treematch path="BDMV" type="directory" non-empty="true"/>
5783     </treemagic>
5784   </mime-type>
5785
5786   <mime-type type="x-content/video-hddvd">
5787     <!-- http://en.wikipedia.org/wiki/HD_DVD
5788          http://www.dvdafteredit.com/wiki/The_HVDVD_TS_Folder -->
5789     <_comment>HD DVD video disc</_comment>
5790     <treemagic>
5791       <treematch path="HVDVD_TS/HV000I01.IFO" type="file" />
5792       <treematch path="HVDVD_TS/HV001I01.IFO" type="file" />
5793       <treematch path="HVDVD_TS/HVA00001.VTI" type="file" />
5794     </treemagic>
5795   </mime-type>
5796
5797   <mime-type type="x-content/ebook-reader">
5798     <!-- see fd.o hal spec -->
5799     <_comment>e-book reader</_comment>
5800   </mime-type>
5801
5802   <mime-type type="x-content/image-picturecd">
5803     <!-- TRANSLATORS: This is a brand-name, not a generic term. Please see
5804          http://en.wikipedia.org/wiki/Picture_CD
5805          http://www.re.org/kristin/picturecd.html  -->
5806     <_comment>Picture CD</_comment>
5807     <treemagic>
5808       <treematch path="PICTURES" type="directory" non-empty="true" match-case="true"/>
5809     </treemagic>
5810   </mime-type>
5811
5812   <mime-type type="x-content/audio-player">
5813     <!-- see fd.o hal spec -->
5814     <_comment>portable audio player</_comment>
5815   </mime-type>
5816
5817   <mime-type type="x-content/software">
5818     <!-- http://standards.freedesktop.org/autostart-spec/autostart-spec-latest.html
5819          http://bugzilla.gnome.org/show_bug.cgi?id=509823#c3 -->
5820     <_comment>software</_comment>
5821   </mime-type>
5822
5823   <mime-type type="x-content/unix-software">
5824     <!-- http://standards.freedesktop.org/autostart-spec/autostart-spec-latest.html
5825          http://bugzilla.gnome.org/show_bug.cgi?id=509823#c3 -->
5826     <_comment>UNIX software</_comment>
5827     <sub-class-of type="x-content/software"/>
5828     <treemagic>
5829       <treematch path=".autorun" type="file" match-case="true" />
5830       <treematch path="autorun" type="file" match-case="true" />
5831       <treematch path="autorun.sh" type="file" match-case="true" />
5832     </treemagic>
5833   </mime-type>
5834
5835   <mime-type type="x-content/win32-software">
5836     <!-- http://standards.freedesktop.org/autostart-spec/autostart-spec-latest.html
5837          http://bugzilla.gnome.org/show_bug.cgi?id=509823#c3 -->
5838     <_comment>Windows software</_comment>
5839     <sub-class-of type="x-content/software"/>
5840     <treemagic>
5841       <treematch path="autorun.exe" type="file" executable="true" />
5842       <treematch path="autorun.inf" type="file" />
5843     </treemagic>
5844   </mime-type>
5845
5846 </mime-info>