freedesktop.org.xml.in 288 KB
Newer Older
1
2
3
4
5
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mime-info [
  <!ELEMENT mime-info (mime-type)+>
  <!ATTLIST mime-info xmlns CDATA #FIXED "http://www.freedesktop.org/standards/shared-mime-info">

Ville Skyttä's avatar
Ville Skyttä committed
6
  <!ELEMENT mime-type (comment+, (acronym,expanded-acronym)? , (icon? | generic-icon? | glob | magic | treemagic | root-XML | alias | sub-class-of)*)>
7
8
  <!ATTLIST mime-type type CDATA #REQUIRED>

9
  <!-- a comment describing a document with the respective MIME type. Example: "WMV video" -->
10
11
  <!ELEMENT comment (#PCDATA)>
  <!ATTLIST comment xml:lang CDATA #IMPLIED>
12

13
  <!-- a comment describing the respective unexpanded MIME type acronym. Example: "WMV" -->
14
15
  <!ELEMENT acronym (#PCDATA)>

16
  <!-- a comment describing the respective expanded MIME type acronym. Example: "Windows Media Video" -->
17
18
  <!ELEMENT expanded-acronym (#PCDATA)>

Ville Skyttä's avatar
Ville Skyttä committed
19
20
21
  <!ELEMENT icon EMPTY>
  <!ATTLIST icon name CDATA #REQUIRED>

22
23
  <!-- a generic icon name as per the Icon Naming Specification, only required if computing
  it from the mime-type would not work, See "generic-icon" in the Shared Mime Specification -->
24
  <!ELEMENT generic-icon EMPTY>
25
  <!ATTLIST generic-icon name (application-x-executable|audio-x-generic|folder|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) #REQUIRED>
26

27
28
  <!ELEMENT glob EMPTY>
  <!ATTLIST glob pattern CDATA #REQUIRED>
29
  <!ATTLIST glob weight CDATA "50">
30
  <!ATTLIST glob case-sensitive CDATA #IMPLIED>
31
32

  <!ELEMENT magic (match)+>
33
  <!ATTLIST magic priority CDATA "50">
34
35
36
37
38
39
40

  <!ELEMENT match (match)*>
  <!ATTLIST match offset CDATA #REQUIRED>
  <!ATTLIST match type (string|big16|big32|little16|little32|host16|host32|byte) #REQUIRED>
  <!ATTLIST match value CDATA #REQUIRED>
  <!ATTLIST match mask CDATA #IMPLIED>

41
  <!ELEMENT treemagic (treematch)+>
42
  <!ATTLIST treemagic priority CDATA "50">
43
44
45
46
47
48
49
50
51

  <!ELEMENT treematch (treematch)*>
  <!ATTLIST treematch path CDATA #REQUIRED>
  <!ATTLIST treematch type (file|directory|link) #IMPLIED>
  <!ATTLIST treematch match-case (true|false) #IMPLIED>
  <!ATTLIST treematch executable (true|false) #IMPLIED>
  <!ATTLIST treematch non-empty (true|false) #IMPLIED>
  <!ATTLIST treematch mimetype CDATA #IMPLIED>

52
  <!ELEMENT root-XML EMPTY>
53
54
  <!ATTLIST root-XML namespaceURI CDATA #REQUIRED>
  <!ATTLIST root-XML localName CDATA #REQUIRED>
55
56

  <!ELEMENT alias EMPTY>
57
  <!ATTLIST alias type CDATA #REQUIRED>
58
59

  <!ELEMENT sub-class-of EMPTY>
60
  <!ATTLIST sub-class-of type CDATA #REQUIRED>
61
62
]>

63
<!--
64
The freedesktop.org shared MIME database (this file) was created by merging
Bastien Nocera's avatar
Bastien Nocera committed
65
several existing MIME databases (all released under the GNU GPL).
66
67

It comes with ABSOLUTELY NO WARRANTY, to the extent permitted by law. You may
Bastien Nocera's avatar
Bastien Nocera committed
68
69
70
redistribute copies of freedesktop.org.xml under the terms of the GNU General
Public License version 2 or later. For more information about these matters,
see the file named COPYING.
71
72
73

The latest version is available from:

Ville Skyttä's avatar
Ville Skyttä committed
74
	http://www.freedesktop.org/wiki/Software/shared-mime-info/
75
76
77
78
79
80
81

To extend this database, users and applications should create additional
XML files in the 'packages' directory and run the update-mime-database
command to generate the output files.
-->

<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
82
  <mime-type type="application/x-atari-2600-rom">
83
    <comment>Atari 2600 ROM</comment>
84
85
86
    <generic-icon name="application-x-executable"/>
    <glob pattern="*.a26"/>
  </mime-type>
87
  <mime-type type="application/x-atari-7800-rom">
88
    <comment>Atari 7800 ROM</comment>
89
90
91
92
93
94
    <generic-icon name="application-x-executable"/>
    <glob pattern="*.a78"/>
    <magic>
      <match type="string" value="ATARI7800" offset="1"/>
    </magic>
  </mime-type>
95
  <mime-type type="application/x-atari-lynx-rom">
96
    <comment>Atari Lynx ROM</comment>
97
98
99
100
101
102
    <generic-icon name="application-x-executable"/>
    <glob pattern="*.lnx"/>
    <magic>
      <match type="string" value="LYNX" offset="0"/>
    </magic>
  </mime-type>
103
  <mime-type type="application/andrew-inset">
104
    <comment>ATK inset</comment>
105
106
    <acronym>ATK</acronym>
    <expanded-acronym>Andrew Toolkit</expanded-acronym>
Bastien Nocera's avatar
Bastien Nocera committed
107
    <generic-icon name="x-office-document"/>
108
109
    <glob pattern="*.ez"/>
  </mime-type>
Bastien Nocera's avatar
Bastien Nocera committed
110
  <mime-type type="application/epub+zip">
111
    <comment>electronic book document</comment>
112
    <sub-class-of type="application/zip"/>
113
    <generic-icon name="x-office-document"/>
114
    <magic priority="70">
Bastien Nocera's avatar
Bastien Nocera committed
115
116
117
      <match type="string" value="PK\003\004" offset="0">
        <match type="string" value="mimetype" offset="30">
          <match type="string" value="application/epub+zip" offset="38"/>
118
          <match type="string" value="application/epub+zip" offset="43"/>
Bastien Nocera's avatar
Bastien Nocera committed
119
120
121
122
123
        </match>
      </match>
    </magic>
    <glob pattern="*.epub"/>
  </mime-type>
124
125
126
127
128
129
130
  <mime-type type="application/vnd.amazon.mobi8-ebook">
    <comment>Kindle book document</comment>
    <sub-class-of type="application/x-mobipocket-ebook"/>
    <glob pattern="*.azw3"/>
    <glob pattern="*.kfx"/>
    <alias type="application/x-mobi8-ebook"/>
  </mime-type>
131
  <mime-type type="application/illustrator">
132
    <comment>Adobe Illustrator document</comment>
133
    <generic-icon name="image-x-generic"/>
134
    <glob pattern="*.ai"/>
135
    <alias type="application/vnd.adobe.illustrator"/>
136
137
  </mime-type>
  <mime-type type="application/mac-binhex40">
138
    <comment>Macintosh BinHex-encoded file</comment>
139
    <generic-icon name="package-x-generic"/>
140
    <magic>
141
142
143
      <match type="string" value="must be converted with BinHex" offset="11"/>
    </magic>
  </mime-type>
144
  <mime-type type="application/mathematica">
145
    <comment>Mathematica Notebook file</comment>
146
147
    <sub-class-of type="text/plain"/>
    <generic-icon name="x-office-document"/>
148
    <glob pattern="*.nb" />
149
    <magic>
150
151
152
153
154
155
      <match value="(************** Content-type: application/mathematica"
             type="string" offset="0" />
      <match value="This notebook can be used on any computer system with Mathematica"
             type="string" offset="100:256" />
      <match value="This is a Mathematica Notebook file.  It contains ASCII text"
             type="string" offset="10:256" />
156
    </magic>
157
    <alias type="application/x-mathematica"/>
158
  </mime-type>
159
  <mime-type type="application/mathml+xml">
160
    <comment>MathML document</comment>
161
162
163
164
165
166
167
    <acronym>MathML</acronym>
    <expanded-acronym>Mathematical Markup Language</expanded-acronym>
    <alias type="text/mathml"/>
    <sub-class-of type="application/xml"/>
    <glob pattern="*.mml"/>
    <root-XML namespaceURI="http://www.w3.org/1998/Math/MathML" localName="math"/>
  </mime-type>
168
  <mime-type type="application/mbox">
169
    <comment>mailbox file</comment>
170
    <generic-icon name="text-x-generic"/>
171
    <sub-class-of type="text/plain"/>
172
    <magic priority="20">
173
174
      <match type="string" value="From " offset="0"/>
    </magic>
175
    <glob pattern="*.mbox"/>
176
  </mime-type>
Bastien Nocera's avatar
Bastien Nocera committed
177
  <mime-type type="application/metalink+xml">
178
    <comment>Metalink file</comment>
Bastien Nocera's avatar
Bastien Nocera committed
179
    <sub-class-of type="application/xml"/>
180
    <magic>
181
      <match type="string" value="&lt;metalink version=&quot;3.0&quot;" offset="0:256"/>
Bastien Nocera's avatar
Bastien Nocera committed
182
183
    </magic>
    <glob pattern="*.metalink"/>
Ville Skyttä's avatar
Ville Skyttä committed
184
    <root-XML namespaceURI="http://www.metalinker.org/" localName="metalink"/>
Bastien Nocera's avatar
Bastien Nocera committed
185
  </mime-type>
186
  <mime-type type="application/metalink4+xml">
187
    <comment>Metalink file</comment>
188
    <sub-class-of type="application/xml"/>
189
    <magic>
190
191
192
193
194
      <match type="string" value="&lt;metalink xmlns=&quot;urn" offset="0:256"/>
    </magic>
    <glob pattern="*.meta4"/>
    <root-XML namespaceURI="urn:ietf:params:xml:ns:metalink" localName="metalink"/>
  </mime-type>
195
  <mime-type type="application/octet-stream">
196
    <comment>unknown</comment>
197
  </mime-type>
198
  <mime-type type="application/x-partial-download">
199
    <comment>Partially downloaded file</comment>
200
    <generic-icon name="package-x-generic"/>
201
202
203
204
    <glob pattern="*.wkdownload"/>
    <glob pattern="*.crdownload"/>
    <glob pattern="*.part"/>
  </mime-type>
205
  <mime-type type="application/oda">
206
    <comment>ODA document</comment>
207
208
    <acronym>ODA</acronym>
    <expanded-acronym>Office Document Architecture</expanded-acronym>
209
    <generic-icon name="x-office-document"/>
210
211
    <glob pattern="*.oda"/>
  </mime-type>
Bastien Nocera's avatar
Bastien Nocera committed
212
  <mime-type type="application/x-wwf">
213
    <comment>WWF document</comment>
Bastien Nocera's avatar
Bastien Nocera committed
214
215
216
217
218
    <generic-icon name="x-office-document"/>
    <glob pattern="*.wwf"/>
    <sub-class-of type="application/pdf"/>
    <alias type="application/wwf"/>
  </mime-type>
219
  <mime-type type="application/pdf">
220
    <comment>PDF document</comment>
221
222
    <acronym>PDF</acronym>
    <expanded-acronym>Portable Document Format</expanded-acronym>
223
    <generic-icon name="x-office-document"/>
224
    <magic>
Bastien Nocera's avatar
Bastien Nocera committed
225
      <match type="string" value="%PDF-" offset="0:1024"/>
226
227
    </magic>
    <glob pattern="*.pdf"/>
228
    <alias type="application/x-pdf"/>
229
    <alias type="image/pdf"/>
230
    <alias type="application/acrobat"/>
231
    <alias type="application/nappdf"/>
232
  </mime-type>
233
  <mime-type type="application/xspf+xml">
234
    <comment>XSPF playlist</comment>
235
236
237
238
    <acronym>XSPF</acronym>
    <expanded-acronym>XML Shareable Playlist Format</expanded-acronym>
    <sub-class-of type="application/xml"/>
    <generic-icon name="audio-x-generic"/>
239
    <magic>
240
      <match type="string" value="&lt;playlist version=&quot;1" offset="0:64"/>
241
      <match type="string" value="&lt;playlist version='1" offset="0:64"/>
242
243
    </magic>
    <glob pattern="*.xspf"/>
Ville Skyttä's avatar
Ville Skyttä committed
244
    <root-XML namespaceURI="http://xspf.org/ns/0/" localName="playlist"/>
245
    <alias type="application/x-xspf+xml"/>
246
  </mime-type>
Bastien Nocera's avatar
Bastien Nocera committed
247
  <mime-type type="application/x-windows-themepack">
248
    <comment>Microsoft Windows theme pack</comment>
Bastien Nocera's avatar
Bastien Nocera committed
249
250
251
252
    <sub-class-of type="application/vnd.ms-cab-compressed"/>
    <generic-icon name="package-x-generic"/>
    <glob pattern="*.themepack"/>
  </mime-type>
253
  <mime-type type="audio/x-amzxml">
254
    <comment>AmazonMP3 download file</comment>
255
256
    <glob pattern="*.amz"/>
  </mime-type>
Bastien Nocera's avatar
Bastien Nocera committed
257
  <mime-type type="audio/x-gsm">
258
    <comment>GSM 06.10 audio</comment>
Bastien Nocera's avatar
Bastien Nocera committed
259
260
261
262
    <acronym>GSM</acronym>
    <expanded-acronym>Global System for Mobile communications</expanded-acronym>
    <glob pattern="*.gsm"/>
  </mime-type>
263
  <mime-type type="audio/x-iriver-pla">
264
    <comment>iRiver playlist</comment>
265
    <magic>
266
267
268
269
      <match type="string" value="iriver UMS PLA" offset="4"/>
    </magic>
    <glob pattern="*.pla"/>
  </mime-type>
270
  <mime-type type="application/pgp-encrypted">
271
    <comment>PGP/MIME-encrypted message header</comment>
272
    <sub-class-of type="text/plain"/>
273
    <generic-icon name="text-x-generic"/>
274
    <magic>
275
276
277
278
      <match type="string" value="-----BEGIN PGP MESSAGE-----" offset="0"/>
    </magic>
    <glob pattern="*.pgp"/>
    <glob pattern="*.gpg"/>
279
    <glob pattern="*.asc" weight="10"/>
280
    <alias type="application/pgp"/>
281
282
  </mime-type>
  <mime-type type="application/pgp-keys">
283
    <comment>PGP keys</comment>
284
285
    <acronym>PGP</acronym>
    <expanded-acronym>Pretty Good Privacy</expanded-acronym>
286
287
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
288
    <magic>
289
290
291
292
293
294
295
296
297
      <match type="string" value="-----BEGIN PGP PUBLIC KEY BLOCK-----" offset="0"/>
      <match type="string" value="-----BEGIN PGP PRIVATE KEY BLOCK-----" offset="0"/>
      <match type="big16" value="0x9501" offset="0"/>
      <match type="big16" value="0x9500" offset="0"/>
      <match type="big16" value="0x9900" offset="0"/>
      <match type="big16" value="0x9901" offset="0"/>
    </magic>
    <glob pattern="*.skr"/>
    <glob pattern="*.pkr"/>
298
    <glob pattern="*.asc" weight="10"/>
299
300
    <glob pattern="*.pgp"/>
    <glob pattern="*.gpg"/>
301
    <glob pattern="*.key"/>
302
303
  </mime-type>
  <mime-type type="application/pgp-signature">
304
    <comment>detached OpenPGP signature</comment>
305
306
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
307
    <magic>
308
309
      <match type="string" value="-----BEGIN PGP SIGNATURE-----" offset="0"/>
    </magic>
310
    <glob pattern="*.asc" weight="10"/>
311
312
313
    <glob pattern="*.sig"/>
    <glob pattern="*.pgp"/>
    <glob pattern="*.gpg"/>
314
  </mime-type>
315
  <!-- defined in RFC 2311 -->
316
  <mime-type type="application/pkcs7-mime">
317
    <comment>PKCS#7 file</comment>
318
319
    <acronym>PKCS</acronym>
    <expanded-acronym>Public-Key Cryptography Standards</expanded-acronym>
320
    <generic-icon name="text-x-generic"/>
321
322
    <glob pattern="*.p7c"/>
    <glob pattern="*.p7m"/>
323
324
  </mime-type>
  <mime-type type="application/pkcs7-signature">
325
    <comment>detached S/MIME signature</comment>
326
327
    <acronym>S/MIME</acronym>
    <expanded-acronym>Secure/Multipurpose Internet Mail Extensions</expanded-acronym>
328
329
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
330
331
    <glob pattern="*.p7s"/>
  </mime-type>
Ville Skyttä's avatar
Ville Skyttä committed
332
  <mime-type type="application/pkcs8">
333
    <comment>PKCS#8 private key</comment>
334
335
    <acronym>PKCS</acronym>
    <expanded-acronym>Public-Key Cryptography Standards</expanded-acronym>
Ville Skyttä's avatar
Ville Skyttä committed
336
337
    <glob pattern="*.p8"/>
  </mime-type>
338
  <mime-type type="application/pkcs8-encrypted">
339
    <comment>PKCS#8 private key (encrypted)</comment>
340
341
342
343
    <acronym>PKCS</acronym>
    <expanded-acronym>Public-Key Cryptography Standards</expanded-acronym>
    <glob pattern="*.p8e"/>
  </mime-type>
344
  <mime-type type="application/pkcs10">
345
    <comment>PKCS#10 certification request</comment>
346
347
    <acronym>PKCS</acronym>
    <expanded-acronym>Public-Key Cryptography Standards</expanded-acronym>
348
    <generic-icon name="text-x-generic"/>
349
350
    <glob pattern="*.p10"/>
  </mime-type>
351
  <mime-type type="application/pkix-cert">
352
    <comment>X.509 certificate</comment>
353
354
    <magic>
      <match type="string" value="-----BEGIN CERTIFICATE-----" offset="0"/>
355
      <match type="string" value="-----BEGIN X509 CERTIFICATE-----" offset="0"/>
356
    </magic>
357
358
    <glob pattern="*.cer"/>
  </mime-type>
Ville Skyttä's avatar
Ville Skyttä committed
359
  <mime-type type="application/pkix-crl">
360
    <comment>certificate revocation list</comment>
361
362
363
    <magic>
      <match type="string" value="-----BEGIN X509 CRL-----" offset="0"/>
    </magic>
Ville Skyttä's avatar
Ville Skyttä committed
364
365
    <glob pattern="*.crl"/>
  </mime-type>
Bastien Nocera's avatar
Bastien Nocera committed
366
  <mime-type type="application/pkix-pkipath">
367
    <comment>PkiPath certification path</comment>
Bastien Nocera's avatar
Bastien Nocera committed
368
369
    <glob pattern="*.pkipath"/>
  </mime-type>
370
  <mime-type type="application/postscript">
371
    <comment>PostScript document</comment>
372
373
    <sub-class-of type="text/plain"/>
    <generic-icon name="x-office-document"/>
374
    <magic>
375
376
377
378
379
      <match type="string" value="\004%!" offset="0"/>
      <match type="string" value="%!" offset="0"/>
    </magic>
    <glob pattern="*.ps"/>
  </mime-type>
380
  <mime-type type="application/prs.plucker">
381
    <comment>Plucker document</comment>
382
    <generic-icon name="x-office-document"/>
383
384
385
386
    <magic priority="80">
      <match type="string" value="DataPlkr" offset="60"/>
    </magic>
  </mime-type>
387
  <mime-type type="application/raml+yaml">
388
    <comment>RAML document</comment>
389
390
391
392
393
394
395
396
    <acronym>RAML</acronym>
    <expanded-acronym>RESTful API Modeling Language</expanded-acronym>
    <sub-class-of type="application/x-yaml"/>
    <magic>
      <match type="string" value="#%RAML " offset="0"/>
    </magic>
    <glob pattern="*.raml"/>
  </mime-type>
397
  <mime-type type="application/relax-ng-compact-syntax">
398
    <comment>RELAX NG XML schema</comment>
399
400
    <acronym>RELAX NG</acronym>
    <expanded-acronym>REgular LAnguage for XML Next Generation</expanded-acronym>
401
402
403
404
405
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
    <glob pattern="*.rnc"/>
    <alias type="application/x-rnc"/>
  </mime-type>
406
  <mime-type type="application/rtf">
407
    <comment>RTF document</comment>
408
409
    <acronym>RTF</acronym>
    <expanded-acronym>Rich Text Format</expanded-acronym>
410
411
    <sub-class-of type="text/plain"/>
    <generic-icon name="x-office-document"/>
412
    <magic>
413
414
415
      <match type="string" value="{\\rtf" offset="0"/>
    </magic>
    <glob pattern="*.rtf"/>
416
    <alias type="text/rtf"/>
417
  </mime-type>
418
  <mime-type type="application/sieve">
419
    <comment>Sieve mail filter script</comment>
420
421
    <sub-class-of type="application/xml"/>
    <generic-icon name="text-x-script"/>
422
423
    <glob pattern="*.siv"/>
  </mime-type>
424
  <mime-type type="application/smil+xml">
425
    <comment>SMIL document</comment>
426
427
    <acronym>SMIL</acronym>
    <expanded-acronym>Synchronized Multimedia Integration Language</expanded-acronym>
428
    <sub-class-of type="application/xml"/>
429
    <alias type="application/smil"/>
430
    <generic-icon name="video-x-generic"/>
431
432
433
    <glob pattern="*.smil"/>
    <glob pattern="*.smi"/>
    <glob pattern="*.sml"/>
434
    <glob pattern="*.kino"/>
435
    <magic priority="55">
436
      <match type="string" value="&lt;smil" offset="0:256"/>
437
    </magic>
438
439
440
    <root-XML namespaceURI="http://www.w3.org/2001/SMIL20/Language" localName="smil"/>
    <root-XML namespaceURI="http://www.w3.org/2005/SMIL21/Language" localName="smil"/>
    <root-XML namespaceURI="http://www.w3.org/ns/SMIL" localName="smil"/>
441
  </mime-type>
Bastien Nocera's avatar
Bastien Nocera committed
442
  <mime-type type="application/vnd.ms-wpl">
443
    <comment>WPL playlist</comment>
Bastien Nocera's avatar
Bastien Nocera committed
444
445
446
447
448
449
450
451
    <acronym>WPL</acronym>
    <expanded-acronym>Windows Media Player Playlist</expanded-acronym>
    <generic-icon name="video-x-generic"/>
    <glob pattern="*.wpl"/>
    <magic priority="60">
      <match type="string" value="&lt;?wpl" offset="0:256"/>
    </magic>
  </mime-type>
452
  <mime-type type="application/x-sqlite2">
453
    <comment>SQLite2 database</comment>
454
    <glob pattern="*.sqlite2"/>
455
456
    <magic>
      <match type="string" value="** This file contains an SQLite" offset="0"/>
457
458
    </magic>
  </mime-type>
459
  <mime-type type="application/vnd.sqlite3">
460
    <comment>SQLite3 database</comment>
461
    <glob pattern="*.sqlite3"/>
462
    <magic>
463
464
      <match type="string" value="SQLite format 3" offset="0"/>
    </magic>
465
    <alias type="application/x-sqlite3"/>
466
  </mime-type>
467
468
469
  <mime-type type="application/x-apple-systemprofiler+xml">
    <comment>Apple System Profiler</comment>
    <sub-class-of type="application/xml"/>
470
    <magic>
471
472
473
      <match type="string" value="&lt;plist version=&quot;1.0&quot;" offset="0:256">
        <match type="string" value="&lt;key&gt;_SPCommandLineArguments&lt;/key&gt;" offset="34:384"/>
      </match>
474
475
476
477
    </magic>
    <glob pattern="*.spx" weight="40"/>
    <root-XML namespaceURI="http://www.apple.com/DTDs/PropertyList-1.0.dtd" localName="plist"/>
  </mime-type>
478
  <mime-type type="application/x-gedcom">
479
    <comment>GEDCOM family history</comment>
480
481
    <acronym>GEDCOM</acronym>
    <expanded-acronym>GEnealogical Data COMmunication</expanded-acronym>
482
    <sub-class-of type="text/plain"/>
483
    <generic-icon name="x-office-document"/>
484
    <magic>
485
486
487
488
      <match type="string" value="0 HEAD" offset="0"/>
    </magic>
    <glob pattern="*.ged"/>
    <glob pattern="*.gedcom"/>
489
    <alias type="text/gedcom"/>
490
  </mime-type>
491
  <mime-type type="video/x-flv">
492
    <comment>Flash video</comment>
493
    <generic-icon name="video-x-generic"/>
494
    <magic>
495
496
497
      <match type="string" value="FLV" offset="0"/>
    </magic>
    <glob pattern="*.flv"/>
498
    <alias type="application/x-flash-video"/>
499
    <alias type="flv-application/octet-stream"/>
500
    <alias type="video/flv"/>
501
  </mime-type>
Ville Skyttä's avatar
Ville Skyttä committed
502
  <mime-type type="video/x-javafx">
503
    <comment>JavaFX video</comment>
Ville Skyttä's avatar
Ville Skyttä committed
504
505
506
507
508
509
510
    <generic-icon name="video-x-generic"/>
    <magic priority="40">
      <match type="string" value="FLV" offset="0"/>
    </magic>
    <glob pattern="*.fxm"/>
    <sub-class-of type="video/x-flv"/>
  </mime-type>
511
512
  <mime-type type="application/x-go-sgf">
    <!-- translators: a record is in this context a description of a board game
513
514
         that has been played, and that can be played back again:
         http://www.red-bean.com/sgf/ -->
515
    <comment>SGF record</comment>
516
517
    <acronym>SGF</acronym>
    <expanded-acronym>Smart Game Format</expanded-acronym>
518
    <generic-icon name="text-x-generic"/>
519
    <glob pattern="*.sgf"/>
520
    <sub-class-of type="text/plain"/>
521
    <magic>
522
523
524
      <match type="string" value="(;FF[3]" offset="0"/>
      <match type="string" value="(;FF[4]" offset="0"/>
    </magic>
525
  </mime-type>
Michael Alexsander's avatar
Michael Alexsander committed
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
  <mime-type type="application/x-godot-project">
    <comment>Godot Engine project</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="project.godot"/>
  </mime-type>
  <mime-type type="application/x-godot-resource">
    <comment>Godot Engine resource</comment>
    <glob pattern="*.res"/>
    <glob pattern="*.tres"/>
    <magic>
      <match type="string" value="[gd_resource " offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-godot-scene">
    <comment>Godot Engine scene</comment>
    <glob pattern="*.scn"/>
    <glob pattern="*.tscn"/>
    <glob pattern="*.escn"/>
    <magic>
      <match type="string" value="[gd_scene " offset="0"/>
    </magic>
  </mime-type>
  <mime-type type="application/x-godot-shader">
    <comment>Godot Engine shader</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.gdshader"/>
  </mime-type>
  <mime-type type="application/x-gdscript">
    <comment>GDScript script</comment>
    <sub-class-of type="text/plain"/>
    <glob pattern="*.gd"/>
  </mime-type>
558
  <mime-type type="application/xliff+xml">
559
    <comment>XLIFF translation file</comment>
560
561
    <acronym>XLIFF</acronym>
    <expanded-acronym>XML Localization Interchange File Format</expanded-acronym>
562
563
    <sub-class-of type="application/xml"/>
    <generic-icon name="text-x-generic"/>
564
565
566
567
568
569
    <glob pattern="*.xlf"/>
    <glob pattern="*.xliff"/>
    <magic priority="80">
      <match type="string" value="&lt;xliff" offset="0:256"/>
    </magic>
    <root-XML namespaceURI='urn:oasis:names:tc:xliff:document:1.1' localName='xliff'/>
570
    <alias type="application/x-xliff"/>
571
  </mime-type>
Ville Skyttä's avatar
Ville Skyttä committed
572
573
574
575
576
577
578
579
  <mime-type type="application/toml">
    <comment>TOML document</comment>
    <acronym>TOML</acronym>
    <expanded-acronym>Tom's Obvious Minimal Language</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
    <glob pattern="*.toml"/>
  </mime-type>
Ville Skyttä's avatar
Ville Skyttä committed
580
  <mime-type type="application/x-yaml">
581
    <comment>YAML document</comment>
Ville Skyttä's avatar
Ville Skyttä committed
582
583
584
585
586
587
588
589
590
591
592
593
    <acronym>YAML</acronym>
    <expanded-acronym>YAML Ain't Markup Language</expanded-acronym>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
    <magic>
      <match type="string" value="%YAML" offset="0"/>
    </magic>
    <glob pattern="*.yaml"/>
    <glob pattern="*.yml"/>
    <alias type="text/yaml"/>
    <alias type="text/x-yaml"/>
  </mime-type>
594
  <mime-type type="application/vnd.corel-draw">
595
    <comment>Corel Draw drawing</comment>
596
    <generic-icon name="image-x-generic"/>
597
598
    <magic priority="80">
      <match type="string" value="CDRXvrsn" mask="0xffffff00ffffffff" offset="8"/>
599
600
    </magic>
    <glob pattern="*.cdr"/>
601
602
603
604
605
606
607
    <alias type="application/cdr"/>
    <alias type="application/coreldraw"/>
    <alias type="application/x-cdr"/>
    <alias type="application/x-coreldraw"/>
    <alias type="image/cdr"/>
    <alias type="image/x-cdr"/>
    <alias type="zz-application/zz-winassoc-cdr"/>
608
  </mime-type>
609
  <mime-type type="application/vnd.hp-hpgl">
610
    <comment>HPGL file</comment>
611
612
    <acronym>HPGL</acronym>
    <expanded-acronym>HP Graphics Language</expanded-acronym>
613
    <generic-icon name="image-x-generic"/>
614
615
616
    <glob pattern="*.hpgl"/>
  </mime-type>
  <mime-type type="application/vnd.hp-pcl">
617
    <comment>PCL file</comment>
618
619
    <acronym>PCL</acronym>
    <expanded-acronym>HP Printer Control Language</expanded-acronym>
620
    <generic-icon name="image-x-generic"/>
621
622
    <glob pattern="*.pcl"/>
  </mime-type>
623
  <mime-type type="application/vnd.lotus-1-2-3">
624
    <comment>Lotus 1-2-3 spreadsheet</comment>
625
    <generic-icon name="x-office-spreadsheet"/>
626
    <magic>
627
      <match type="string" value="\x00\x00\x02\x00\x06\x04\x06\x00\x08\x00\x00\x00\x00\x00" offset="0"/>
628
629
630
631
632
633
    </magic>
    <glob pattern="*.123"/>
    <glob pattern="*.wk1"/>
    <glob pattern="*.wk3"/>
    <glob pattern="*.wk4"/>
    <glob pattern="*.wks"/>
634
635
636
637
    <alias type="application/x-lotus123"/>
    <alias type="application/x-123"/>
    <alias type="application/lotus123"/>
    <alias type="application/wk1"/>
638
    <alias type="zz-application/zz-winassoc-123"/>
639
  </mime-type>
640
  <mime-type type="application/vnd.lotus-wordpro">
641
    <comment>Lotus Word Pro document</comment>
642
    <generic-icon name="x-office-document"/>
643
    <magic>
644
645
646
647
      <match type="string" value="WordPro" offset="0"/>
    </magic>
    <glob pattern="*.lwp"/>
  </mime-type>
648
  <mime-type type="application/vnd.ms-access">
649
    <comment>JET database</comment>
650
651
    <acronym>JET</acronym>
    <expanded-acronym>Joint Engine Technology</expanded-acronym>
652
    <generic-icon name="x-office-document"/>
653
    <magic>
654
655
656
      <match offset="0" type="string" value="\x00\x01\x00\x00Standard Jet DB" />
    </magic>
    <glob pattern="*.mdb" />
657
658
659
660
661
    <alias type="application/msaccess"/>
    <alias type="application/vnd.msaccess"/>
    <alias type="application/x-msaccess"/>
    <alias type="application/mdb"/>
    <alias type="application/x-mdb"/>
662
    <alias type="zz-application/zz-winassoc-mdb"/>
663
  </mime-type>
664
  <mime-type type="application/vnd.ms-cab-compressed">
665
    <comment>Microsoft Cabinet archive</comment>
666
    <generic-icon name="package-x-generic"/>
667
    <magic priority="60">
668
669
670
      <match offset="0" type="string" value="MSCF\0\0\0\0" />
    </magic>
    <glob pattern="*.cab"/>
671
    <alias type="zz-application/zz-winassoc-cab"/>
672
  </mime-type>
673
  <mime-type type="application/vnd.ms-excel">
674
    <comment>Excel spreadsheet</comment>
675
    <generic-icon name="x-office-spreadsheet"/>
676
    <magic>
677
678
      <match type="string" value="Microsoft Excel 5.0 Worksheet" offset="2080"/>
    </magic>
679
680
681
682
683
684
    <glob pattern="*.xls"/>
    <glob pattern="*.xlc"/>
    <glob pattern="*.xll"/>
    <glob pattern="*.xlm"/>
    <glob pattern="*.xlw"/>
    <glob pattern="*.xla"/>
685
    <glob pattern="*.xlt"/>
686
    <glob pattern="*.xld"/>
687
    <alias type="application/msexcel"/>
688
    <alias type="application/x-msexcel"/>
689
    <alias type="zz-application/zz-winassoc-xls"/>
690
  </mime-type>
691
  <mime-type type="application/vnd.ms-excel.addin.macroEnabled.12">
692
    <comment>Excel add-in</comment>
693
694
695
696
697
    <generic-icon name="x-office-spreadsheet"/>
    <glob pattern="*.xlam"/>
    <sub-class-of type="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"/>
  </mime-type>
  <mime-type type="application/vnd.ms-excel.sheet.binary.macroEnabled.12">
698
    <comment>Excel 2007 binary spreadsheet</comment>
699
700
701
702
703
    <generic-icon name="x-office-spreadsheet"/>
    <glob pattern="*.xlsb"/>
    <sub-class-of type="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"/>
  </mime-type>
  <mime-type type="application/vnd.ms-excel.sheet.macroEnabled.12">
704
    <comment>Excel spreadsheet</comment>
705
706
707
708
    <generic-icon name="x-office-spreadsheet"/>
    <glob pattern="*.xlsm"/>
    <sub-class-of type="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"/>
  </mime-type>
709
  <mime-type type="application/vnd.ms-excel.template.macroEnabled.12">
710
    <comment>Excel spreadsheet template</comment>
711
712
    <generic-icon name="x-office-spreadsheet"/>
    <glob pattern="*.xltm"/>
713
    <sub-class-of type="application/vnd.openxmlformats-officedocument.spreadsheetml.template"/>
714
  </mime-type>
715
  <mime-type type="application/vnd.ms-powerpoint">
716
    <comment>PowerPoint presentation</comment>
717
    <generic-icon name="x-office-presentation"/>
718
719
720
    <glob pattern="*.ppz"/>
    <glob pattern="*.ppt"/>
    <glob pattern="*.pps"/>
721
    <glob pattern="*.pot"/>
722
723
    <alias type="application/powerpoint"/>
    <alias type="application/mspowerpoint"/>
724
    <alias type="application/x-mspowerpoint"/>
725
  </mime-type>
726
  <mime-type type="application/vnd.ms-powerpoint.addin.macroEnabled.12">
727
    <comment>PowerPoint add-in</comment>
728
729
730
731
    <generic-icon name="x-office-presentation"/>
    <glob pattern="*.ppam"/>
  </mime-type>
  <mime-type type="application/vnd.ms-powerpoint.presentation.macroEnabled.12">
732
    <comment>PowerPoint presentation</comment>
733
734
735
736
    <generic-icon name="x-office-presentation"/>
    <glob pattern="*.pptm"/>
    <sub-class-of type="application/vnd.openxmlformats-officedocument.presentationml.presentation"/>
  </mime-type>
737
  <mime-type type="application/vnd.ms-powerpoint.slide.macroEnabled.12">
738
    <comment>PowerPoint slide</comment>
739
740
    <generic-icon name="x-office-presentation"/>
    <glob pattern="*.sldm"/>
741
    <sub-class-of type="application/vnd.openxmlformats-officedocument.presentationml.slide"/>
742
  </mime-type>
743
  <mime-type type="application/vnd.ms-powerpoint.slideshow.macroEnabled.12">
744
    <comment>PowerPoint presentation</comment>
745
746
747
748
749
    <generic-icon name="x-office-presentation"/>
    <glob pattern="*.ppsm"/>
    <sub-class-of type="application/vnd.openxmlformats-officedocument.presentationml.slideshow"/>
  </mime-type>
  <mime-type type="application/vnd.ms-powerpoint.template.macroEnabled.12">
750
    <comment>PowerPoint presentation template</comment>
751
752
    <generic-icon name="x-office-presentation"/>
    <glob pattern="*.potm"/>
753
    <sub-class-of type="application/vnd.openxmlformats-officedocument.presentationml.template"/>
754
755
  </mime-type>
    <mime-type type="application/vnd.ms-visio.drawing.main+xml">
756
    <comment>Office Open XML Visio drawing</comment>
Bastien Nocera's avatar
Bastien Nocera committed
757
    <generic-icon name="image-x-generic"/>
758
759
760
761
    <glob pattern="*.vsdx"/>
    <sub-class-of type="application/zip"/>
  </mime-type>
  <mime-type type="application/vnd.ms-visio.template.main+xml">
762
    <comment>Office Open XML Visio template</comment>
Bastien Nocera's avatar
Bastien Nocera committed
763
    <generic-icon name="image-x-generic"/>
764
765
766
767
    <glob pattern="*.vstx"/>
    <sub-class-of type="application/zip"/>
  </mime-type>
  <mime-type type="application/vnd.ms-visio.stencil.main+xml">
768
    <comment>Office Open XML Visio stencil</comment>
Bastien Nocera's avatar
Bastien Nocera committed
769
    <generic-icon name="image-x-generic"/>
770
771
772
773
    <glob pattern="*.vssx"/>
    <sub-class-of type="application/zip"/>
  </mime-type>
  <mime-type type="application/vnd.ms-visio.drawing.macroEnabled.main+xml">
774
    <comment>Office Open XML Visio drawing</comment>
Bastien Nocera's avatar
Bastien Nocera committed
775
    <generic-icon name="image-x-generic"/>
776
777
778
779
    <glob pattern="*.vsdm"/>
    <sub-class-of type="application/zip"/>
  </mime-type>
  <mime-type type="application/vnd.ms-visio.template.macroEnabled.main+xml">
780
    <comment>Office Open XML Visio template</comment>
Bastien Nocera's avatar
Bastien Nocera committed
781
    <generic-icon name="image-x-generic"/>
782
783
784
785
    <glob pattern="*.vstm"/>
    <sub-class-of type="application/zip"/>
  </mime-type>
  <mime-type type="application/vnd.ms-visio.stencil.macroEnabled.main+xml">
786
    <comment>Office Open XML Visio stencil</comment>
Bastien Nocera's avatar
Bastien Nocera committed
787
    <generic-icon name="image-x-generic"/>
788
789
    <glob pattern="*.vssm"/>
    <sub-class-of type="application/zip"/>
790
  </mime-type>
791
  <mime-type type="application/vnd.ms-word.document.macroEnabled.12">
792
    <comment>Word document</comment>
793
794
795
796
797
    <generic-icon name="x-office-document"/>
    <glob pattern="*.docm"/>
    <sub-class-of type="application/vnd.openxmlformats-officedocument.wordprocessingml.document"/>
  </mime-type>
  <mime-type type="application/vnd.ms-word.template.macroEnabled.12">
798
    <comment>Word document template</comment>
799
800
    <generic-icon name="x-office-document"/>
    <glob pattern="*.dotm"/>
801
    <sub-class-of type="application/vnd.openxmlformats-officedocument.wordprocessingml.template"/>
802
  </mime-type>
803
  <mime-type type="application/oxps">
804
805
    <comment>OpenXPS document</comment>
    <acronym>OpenXPS</acronym>
806
    <expanded-acronym>Open XML Paper Specification</expanded-acronym>
807
    <sub-class-of type="application/zip"/>
808
    <generic-icon name="x-office-document"/>
809
    <glob pattern="*.oxps"/>
810
811
812
813
814
815
816
  </mime-type>
  <mime-type type="application/vnd.ms-xpsdocument">
    <comment>XPS document</comment>
    <acronym>XPS</acronym>
    <expanded-acronym>XML Paper Specification</expanded-acronym>
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-document"/>
817
    <glob pattern="*.xps"/>
818
    <alias type="application/xps"/>
819
  </mime-type>
820
  <mime-type type="application/vnd.ms-works">
821
    <comment>Microsoft Works document</comment>
822
823
    <sub-class-of type="application/x-ole-storage"/>
    <generic-icon name="x-office-document"/>
824
825
826
827
    <glob pattern="*.wcm"/>
    <glob pattern="*.wdb"/>
    <glob pattern="*.wks"/>
    <glob pattern="*.wps"/>
Samuel Mehrbrodt's avatar
Samuel Mehrbrodt committed
828
    <glob pattern="*.xlr"/>
829
  </mime-type>
830
  <mime-type type="application/vnd.visio">
831
    <comment>Microsoft Visio document</comment>
832
833
834
835
836
837
838
    <sub-class-of type="application/x-ole-storage"/>
    <generic-icon name="x-office-document"/>
    <glob pattern="*.vsd"/>
    <glob pattern="*.vst"/>
    <glob pattern="*.vsw"/>
    <glob pattern="*.vss"/>
  </mime-type>
839
  <mime-type type="application/msword">
840
    <comment>Word document</comment>
841
842
    <sub-class-of type="application/x-ole-storage"/>
    <generic-icon name="x-office-document"/>
Bastien Nocera's avatar
Bastien Nocera committed
843
    <magic priority="60">
844
845
846
847
      <match type="string" value="\x31\xbe\x00\x00" offset="0"/>
      <match type="string" value="PO^Q`" offset="0"/>
      <match type="string" value="\376\067\0\043" offset="0"/>
      <match type="string" value="\333\245-\0\0\0" offset="0"/>
848
849
      <match type="string" value="MSWordDoc" offset="2112"/>
      <match type="string" value="MSWordDoc" offset="2108"/>
850
      <match type="string" value="Microsoft Word document data" offset="2112"/>
Bastien Nocera's avatar
Bastien Nocera committed
851
      <match type="string" value="bjbj" offset="546"/>
Bastien Nocera's avatar
Bastien Nocera committed
852
      <match type="string" value="jbjb" offset="546"/>
853
854
    </magic>
    <glob pattern="*.doc"/>
855
    <alias type="application/vnd.ms-word"/>
856
    <alias type="application/x-msword"/>