freedesktop.org.xml.in 266 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
16
  <!ELEMENT acronym (#PCDATA)>
  <!ATTLIST acronym xml:lang CDATA #IMPLIED>

17
  <!-- a comment describing the respective expanded MIME type acronym. Example: "Windows Media Video" -->
18
19
20
  <!ELEMENT expanded-acronym (#PCDATA)>
  <!ATTLIST expanded-acronym xml:lang CDATA #IMPLIED>

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

24
25
  <!-- 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 -->
26
  <!ELEMENT generic-icon EMPTY>
27
  <!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>
28

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

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

  <!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>

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

  <!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>

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

  <!ELEMENT alias EMPTY>
59
  <!ATTLIST alias type CDATA #REQUIRED>
60
61

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

65
<!--
66
67
68
69
70
71
72
73
74
75
The freedesktop.org shared MIME database (this file) was created by merging
several existing MIME databases (all released under the GPL).

It comes with ABSOLUTELY NO WARRANTY, to the extent permitted by law. You may
redistribute copies of update-mime-database under the terms of the GNU General
Public License. For more information about these matters, see the file named
COPYING.

The latest version is available from:

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

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