freedesktop.org.xml.in 265 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
85
86
87
88
  <mime-type type="application/x-atari-2600-rom">
    <_comment>Atari 2600</_comment>
    <generic-icon name="application-x-executable"/>
    <glob pattern="*.a26"/>
  </mime-type>
89
90
91
92
93
94
95
96
  <mime-type type="application/x-atari-7800-rom">
    <_comment>Atari 7800</_comment>
    <generic-icon name="application-x-executable"/>
    <glob pattern="*.a78"/>
    <magic>
      <match type="string" value="ATARI7800" offset="1"/>
    </magic>
  </mime-type>
97
98
99
100
101
102
103
104
  <mime-type type="application/x-atari-lynx-rom">
    <_comment>Atari Lynx</_comment>
    <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</_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
297
  </mime-type>
  <mime-type type="application/pgp-signature">
298
    <_comment>detached OpenPGP signature</_comment>
299
300
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
301
302
303
    <magic priority="50">
      <match type="string" value="-----BEGIN PGP SIGNATURE-----" offset="0"/>
    </magic>
304
    <glob pattern="*.asc" weight="10"/>
305
306
307
    <glob pattern="*.sig"/>
    <glob pattern="*.pgp"/>
    <glob pattern="*.gpg"/>
308
  </mime-type>
309
  <!-- defined in RFC 2311 -->
310
  <mime-type type="application/pkcs7-mime">
311
312
313
    <_comment>PKCS#7 Message or Certificate</_comment>
    <acronym>PKCS</acronym>
    <expanded-acronym>Public-Key Cryptography Standards</expanded-acronym>
314
    <generic-icon name="text-x-generic"/>
315
316
    <glob pattern="*.p7c"/>
    <glob pattern="*.p7m"/>
317
318
  </mime-type>
  <mime-type type="application/pkcs7-signature">
319
    <_comment>detached S/MIME signature</_comment>
320
321
    <acronym>S/MIME</acronym>
    <expanded-acronym>Secure/Multipurpose Internet Mail Extensions</expanded-acronym>
322
323
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
324
325
    <glob pattern="*.p7s"/>
  </mime-type>
Ville Skyttä's avatar
Ville Skyttä committed
326
327
  <mime-type type="application/pkcs8">
    <_comment>PKCS#8 private key</_comment>
328
329
    <acronym>PKCS</acronym>
    <expanded-acronym>Public-Key Cryptography Standards</expanded-acronym>
Ville Skyttä's avatar
Ville Skyttä committed
330
331
    <glob pattern="*.p8"/>
  </mime-type>
332
333
334
335
336
337
  <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>
338
339
  <mime-type type="application/pkcs10">
    <_comment>PKCS#10 certification request</_comment>
340
341
    <acronym>PKCS</acronym>
    <expanded-acronym>Public-Key Cryptography Standards</expanded-acronym>
342
    <generic-icon name="text-x-generic"/>
343
344
    <glob pattern="*.p10"/>
  </mime-type>
345
346
347
348
  <mime-type type="application/pkix-cert">
    <_comment>X.509 certificate</_comment>
    <glob pattern="*.cer"/>
  </mime-type>
Ville Skyttä's avatar
Ville Skyttä committed
349
350
351
352
  <mime-type type="application/pkix-crl">
    <_comment>Certificate revocation list</_comment>
    <glob pattern="*.crl"/>
  </mime-type>
Bastien Nocera's avatar
Bastien Nocera committed
353
354
355
356
  <mime-type type="application/pkix-pkipath">
    <_comment>PkiPath certification path</_comment>
    <glob pattern="*.pkipath"/>
  </mime-type>
357
  <mime-type type="application/postscript">
358
    <_comment>PS document</_comment>
359
    <acronym>PS</acronym>
360
    <expanded-acronym>PostScript</expanded-acronym>
361
362
    <sub-class-of type="text/plain"/>
    <generic-icon name="x-office-document"/>
363
364
365
366
367
368
    <magic priority="50">
      <match type="string" value="\004%!" offset="0"/>
      <match type="string" value="%!" offset="0"/>
    </magic>
    <glob pattern="*.ps"/>
  </mime-type>
369
370
  <mime-type type="application/prs.plucker">
    <_comment>Plucker document</_comment>
371
    <generic-icon name="x-office-document"/>
372
373
374
375
    <magic priority="80">
      <match type="string" value="DataPlkr" offset="60"/>
    </magic>
  </mime-type>
376
377
378
379
380
381
382
383
384
385
  <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>
386
387
  <mime-type type="application/relax-ng-compact-syntax">
    <_comment>RELAX NG XML schema</_comment>
388
389
    <acronym>RELAX NG</acronym>
    <expanded-acronym>REgular LAnguage for XML Next Generation</expanded-acronym>
390
391
392
393
394
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
    <glob pattern="*.rnc"/>
    <alias type="application/x-rnc"/>
  </mime-type>
395
  <mime-type type="application/rtf">
396
    <_comment>RTF document</_comment>
397
398
    <acronym>RTF</acronym>
    <expanded-acronym>Rich Text Format</expanded-acronym>
399
400
    <sub-class-of type="text/plain"/>
    <generic-icon name="x-office-document"/>
401
402
403
404
    <magic priority="50">
      <match type="string" value="{\\rtf" offset="0"/>
    </magic>
    <glob pattern="*.rtf"/>
405
    <alias type="text/rtf"/>
406
  </mime-type>
407
408
  <mime-type type="application/sieve">
    <_comment>Sieve mail filter script</_comment>
409
410
    <sub-class-of type="application/xml"/>
    <generic-icon name="text-x-script"/>
411
412
    <glob pattern="*.siv"/>
  </mime-type>
413
  <mime-type type="application/smil+xml">
414
    <_comment>SMIL document</_comment>
415
416
    <acronym>SMIL</acronym>
    <expanded-acronym>Synchronized Multimedia Integration Language</expanded-acronym>
417
    <sub-class-of type="application/xml"/>
418
    <alias type="application/smil"/>
419
    <generic-icon name="video-x-generic"/>
420
421
422
    <glob pattern="*.smil"/>
    <glob pattern="*.smi"/>
    <glob pattern="*.sml"/>
423
    <glob pattern="*.kino"/>
424
    <magic priority="55">
425
      <match type="string" value="&lt;smil" offset="0:256"/>
426
    </magic>
427
428
429
    <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"/>
430
  </mime-type>
Bastien Nocera's avatar
Bastien Nocera committed
431
432
433
434
435
436
437
438
439
440
  <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>
441
442
  <mime-type type="application/x-sqlite2">
    <_comment>SQLite2 database</_comment>
443
    <glob pattern="*.sqlite2"/>
444
445
    <magic>
      <match type="string" value="** This file contains an SQLite" offset="0"/>
446
447
    </magic>
  </mime-type>
448
  <mime-type type="application/vnd.sqlite3">
449
    <_comment>SQLite3 database</_comment>
450
    <glob pattern="*.sqlite3"/>
451
    <magic>
452
453
      <match type="string" value="SQLite format 3" offset="0"/>
    </magic>
454
    <alias type="application/x-sqlite3"/>
455
  </mime-type>
456
  <mime-type type="application/x-gedcom">
457
458
459
    <_comment>GEDCOM family history</_comment>
    <acronym>GEDCOM</acronym>
    <expanded-acronym>GEnealogical Data COMmunication</expanded-acronym>
460
    <generic-icon name="x-office-document"/>
461
462
463
464
465
    <magic priority="50">
      <match type="string" value="0 HEAD" offset="0"/>
    </magic>
    <glob pattern="*.ged"/>
    <glob pattern="*.gedcom"/>
466
    <alias type="text/gedcom"/>
467
  </mime-type>
468
  <mime-type type="video/x-flv">
469
    <_comment>Flash video</_comment>
470
    <generic-icon name="video-x-generic"/>
471
472
473
474
    <magic priority="50">
      <match type="string" value="FLV" offset="0"/>
    </magic>
    <glob pattern="*.flv"/>
475
    <alias type="application/x-flash-video"/>
476
    <alias type="flv-application/octet-stream"/>
477
    <alias type="video/flv"/>
478
  </mime-type>
Ville Skyttä's avatar
Ville Skyttä committed
479
480
481
482
483
484
485
486
487
  <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>
488
489
  <mime-type type="application/x-go-sgf">
    <!-- translators: a record is in this context a description of a board game
490
491
         that has been played, and that can be played back again:
         http://www.red-bean.com/sgf/ -->
492
    <_comment>SGF record</_comment>
493
494
    <acronym>SGF</acronym>
    <expanded-acronym>Smart Game Format</expanded-acronym>
495
    <generic-icon name="text-x-generic"/>
496
    <glob pattern="*.sgf"/>
497
498
499
500
501
    <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>
502
  </mime-type>
503
  <mime-type type="application/xliff+xml">
504
505
506
    <_comment>XLIFF translation file</_comment>
    <acronym>XLIFF</acronym>
    <expanded-acronym>XML Localization Interchange File Format</expanded-acronym>
507
508
    <sub-class-of type="application/xml"/>
    <generic-icon name="text-x-generic"/>
509
510
511
512
513
514
    <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'/>
515
    <alias type="application/x-xliff"/>
516
  </mime-type>
Ville Skyttä's avatar
Ville Skyttä committed
517
518
519
520
521
522
523
524
525
526
527
528
529
530
  <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>
531
532
  <mime-type type="application/vnd.corel-draw">
    <_comment>Corel Draw drawing</_comment>
533
    <generic-icon name="image-x-generic"/>
534
535
    <magic priority="80">
      <match type="string" value="CDRXvrsn" mask="0xffffff00ffffffff" offset="8"/>
536
537
    </magic>
    <glob pattern="*.cdr"/>
538
539
540
541
542
543
544
    <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"/>
545
  </mime-type>
546
  <mime-type type="application/vnd.hp-hpgl">
547
    <_comment>HPGL file</_comment>
548
549
    <acronym>HPGL</acronym>
    <expanded-acronym>HP Graphics Language</expanded-acronym>
550
    <generic-icon name="image-x-generic"/>
551
552
553
    <glob pattern="*.hpgl"/>
  </mime-type>
  <mime-type type="application/vnd.hp-pcl">
554
    <_comment>PCL file</_comment>
555
556
    <acronym>PCL</acronym>
    <expanded-acronym>HP Printer Control Language</expanded-acronym>
557
    <generic-icon name="image-x-generic"/>
558
559
    <glob pattern="*.pcl"/>
  </mime-type>
560
561
  <mime-type type="application/vnd.lotus-1-2-3">
    <_comment>Lotus 1-2-3 spreadsheet</_comment>
562
    <generic-icon name="x-office-spreadsheet"/>
563
    <magic priority="50">
564
      <match type="string" value="\x00\x00\x02\x00\x06\x04\x06\x00\x08\x00\x00\x00\x00\x00" offset="0"/>
565
566
567
568
569
570
    </magic>
    <glob pattern="*.123"/>
    <glob pattern="*.wk1"/>
    <glob pattern="*.wk3"/>
    <glob pattern="*.wk4"/>
    <glob pattern="*.wks"/>
571
572
573
574
    <alias type="application/x-lotus123"/>
    <alias type="application/x-123"/>
    <alias type="application/lotus123"/>
    <alias type="application/wk1"/>
575
    <alias type="zz-application/zz-winassoc-123"/>
576
  </mime-type>
577
578
579
580
581
582
583
584
  <mime-type type="application/vnd.lotus-wordpro">
    <_comment>Lotus Word Pro</_comment>
    <generic-icon name="x-office-document"/>
    <magic priority="50">
      <match type="string" value="WordPro" offset="0"/>
    </magic>
    <glob pattern="*.lwp"/>
  </mime-type>
585
  <mime-type type="application/vnd.ms-access">
Christian Neumair's avatar
Christian Neumair committed
586
    <_comment>JET database</_comment>
587
588
    <acronym>JET</acronym>
    <expanded-acronym>Joint Engine Technology</expanded-acronym>
589
    <generic-icon name="x-office-document"/>
590
591
592
593
    <magic priority="50">
      <match offset="0" type="string" value="\x00\x01\x00\x00Standard Jet DB" />
    </magic>
    <glob pattern="*.mdb" />
594
595
596
597
598
599
    <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"/>
600
    <alias type="zz-application/zz-winassoc-mdb"/>
601
  </mime-type>
602
603
604
  <mime-type type="application/vnd.ms-cab-compressed">
    <_comment>Microsoft Cabinet archive</_comment>
    <generic-icon name="package-x-generic"/>
605
    <magic priority="60">
606
607
608
      <match offset="0" type="string" value="MSCF\0\0\0\0" />
    </magic>
    <glob pattern="*.cab"/>
609
    <alias type="zz-application/zz-winassoc-cab"/>
610
  </mime-type>
611
  <mime-type type="application/vnd.ms-excel">
612
    <_comment>Excel spreadsheet</_comment>
613
    <generic-icon name="x-office-spreadsheet"/>
614
615
616
    <magic priority="50">
      <match type="string" value="Microsoft Excel 5.0 Worksheet" offset="2080"/>
    </magic>
617
618
619
620
621
622
    <glob pattern="*.xls"/>
    <glob pattern="*.xlc"/>
    <glob pattern="*.xll"/>
    <glob pattern="*.xlm"/>
    <glob pattern="*.xlw"/>
    <glob pattern="*.xla"/>
623
    <glob pattern="*.xlt"/>
624
    <glob pattern="*.xld"/>
625
    <alias type="application/msexcel"/>
626
    <alias type="application/x-msexcel"/>
627
    <alias type="zz-application/zz-winassoc-xls"/>
628
  </mime-type>
629
630
631
632
633
634
635
636
637
638
639
640
641
  <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">
642
    <_comment>Excel spreadsheet</_comment>
643
644
645
646
    <generic-icon name="x-office-spreadsheet"/>
    <glob pattern="*.xlsm"/>
    <sub-class-of type="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"/>
  </mime-type>
647
  <mime-type type="application/vnd.ms-excel.template.macroEnabled.12">
648
    <_comment>Excel spreadsheet template</_comment>
649
650
    <generic-icon name="x-office-spreadsheet"/>
    <glob pattern="*.xltm"/>
651
    <sub-class-of type="application/vnd.openxmlformats-officedocument.spreadsheetml.template"/>
652
  </mime-type>
653
  <mime-type type="application/vnd.ms-powerpoint">
654
    <_comment>PowerPoint presentation</_comment>
655
    <generic-icon name="x-office-presentation"/>
656
657
658
    <glob pattern="*.ppz"/>
    <glob pattern="*.ppt"/>
    <glob pattern="*.pps"/>
659
    <glob pattern="*.pot"/>
660
661
    <alias type="application/powerpoint"/>
    <alias type="application/mspowerpoint"/>
662
    <alias type="application/x-mspowerpoint"/>
663
  </mime-type>
664
665
666
667
668
669
  <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">
670
    <_comment>PowerPoint presentation</_comment>
671
672
673
674
    <generic-icon name="x-office-presentation"/>
    <glob pattern="*.pptm"/>
    <sub-class-of type="application/vnd.openxmlformats-officedocument.presentationml.presentation"/>
  </mime-type>
675
  <mime-type type="application/vnd.ms-powerpoint.slide.macroEnabled.12">
676
    <_comment>PowerPoint slide</_comment>
677
678
    <generic-icon name="x-office-presentation"/>
    <glob pattern="*.sldm"/>
679
    <sub-class-of type="application/vnd.openxmlformats-officedocument.presentationml.slide"/>
680
  </mime-type>
681
  <mime-type type="application/vnd.ms-powerpoint.slideshow.macroEnabled.12">
682
    <_comment>PowerPoint presentation</_comment>
683
684
685
686
687
    <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">
688
    <_comment>PowerPoint presentation template</_comment>
689
690
    <generic-icon name="x-office-presentation"/>
    <glob pattern="*.potm"/>
691
    <sub-class-of type="application/vnd.openxmlformats-officedocument.presentationml.template"/>
692
693
  </mime-type>
    <mime-type type="application/vnd.ms-visio.drawing.main+xml">
694
    <_comment>Office Open XML Visio Drawing</_comment>
Bastien Nocera's avatar
Bastien Nocera committed
695
    <generic-icon name="image-x-generic"/>
696
697
698
699
    <glob pattern="*.vsdx"/>
    <sub-class-of type="application/zip"/>
  </mime-type>
  <mime-type type="application/vnd.ms-visio.template.main+xml">
700
    <_comment>Office Open XML Visio Template</_comment>
Bastien Nocera's avatar
Bastien Nocera committed
701
    <generic-icon name="image-x-generic"/>
702
703
704
705
    <glob pattern="*.vstx"/>
    <sub-class-of type="application/zip"/>
  </mime-type>
  <mime-type type="application/vnd.ms-visio.stencil.main+xml">
706
    <_comment>Office Open XML Visio Stencil</_comment>
Bastien Nocera's avatar
Bastien Nocera committed
707
    <generic-icon name="image-x-generic"/>
708
709
710
711
    <glob pattern="*.vssx"/>
    <sub-class-of type="application/zip"/>
  </mime-type>
  <mime-type type="application/vnd.ms-visio.drawing.macroEnabled.main+xml">
712
    <_comment>Office Open XML Visio Drawing</_comment>
Bastien Nocera's avatar
Bastien Nocera committed
713
    <generic-icon name="image-x-generic"/>
714
715
716
717
    <glob pattern="*.vsdm"/>
    <sub-class-of type="application/zip"/>
  </mime-type>
  <mime-type type="application/vnd.ms-visio.template.macroEnabled.main+xml">
718
    <_comment>Office Open XML Visio Template</_comment>
Bastien Nocera's avatar
Bastien Nocera committed
719
    <generic-icon name="image-x-generic"/>
720
721
722
723
    <glob pattern="*.vstm"/>
    <sub-class-of type="application/zip"/>
  </mime-type>
  <mime-type type="application/vnd.ms-visio.stencil.macroEnabled.main+xml">
724
    <_comment>Office Open XML Visio Stencil</_comment>
Bastien Nocera's avatar
Bastien Nocera committed
725
    <generic-icon name="image-x-generic"/>
726
727
    <glob pattern="*.vssm"/>
    <sub-class-of type="application/zip"/>
728
  </mime-type>
729
  <mime-type type="application/vnd.ms-word.document.macroEnabled.12">
730
    <_comment>Word document</_comment>
731
732
733
734
735
    <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">
736
    <_comment>Word document template</_comment>
737
738
    <generic-icon name="x-office-document"/>
    <glob pattern="*.dotm"/>
739
    <sub-class-of type="application/vnd.openxmlformats-officedocument.wordprocessingml.template"/>
740
  </mime-type>
741
  <mime-type type="application/oxps">
742
743
    <_comment>XPS document</_comment>
    <acronym>XPS</acronym>
744
    <expanded-acronym>Open XML Paper Specification</expanded-acronym>
745
    <sub-class-of type="application/zip"/>
746
    <generic-icon name="x-office-document"/>
747
    <glob pattern="*.oxps"/>
748
    <glob pattern="*.xps"/>
749
    <alias type="application/vnd.ms-xpsdocument"/>
750
    <alias type="application/xps"/>
751
  </mime-type>
752
753
  <mime-type type="application/vnd.ms-works">
    <_comment>Microsoft Works document</_comment>
754
755
    <sub-class-of type="application/x-ole-storage"/>
    <generic-icon name="x-office-document"/>
756
757
758
759
    <glob pattern="*.wcm"/>
    <glob pattern="*.wdb"/>
    <glob pattern="*.wks"/>
    <glob pattern="*.wps"/>
Samuel Mehrbrodt's avatar
Samuel Mehrbrodt committed
760
    <glob pattern="*.xlr"/>
761
  </mime-type>
762
763
764
765
766
767
768
769
770
  <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>
771
  <mime-type type="application/msword">
772
    <_comment>Word document</_comment>
773
774
    <sub-class-of type="application/x-ole-storage"/>
    <generic-icon name="x-office-document"/>
Bastien Nocera's avatar
Bastien Nocera committed
775
    <magic priority="60">
776
777
778
779
      <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"/>
780
781
      <match type="string" value="MSWordDoc" offset="2112"/>
      <match type="string" value="MSWordDoc" offset="2108"/>
782
      <match type="string" value="Microsoft Word document data" offset="2112"/>
Bastien Nocera's avatar
Bastien Nocera committed
783
      <match type="string" value="bjbj" offset="546"/>
Bastien Nocera's avatar
Bastien Nocera committed
784
      <match type="string" value="jbjb" offset="546"/>
785
786
    </magic>
    <glob pattern="*.doc"/>
787
    <alias type="application/vnd.ms-word"/>
788
    <alias type="application/x-msword"/>
789
    <alias type="zz-application/zz-winassoc-doc"/>
790
  </mime-type>
Bastien Nocera's avatar
Bastien Nocera committed
791
792
  <mime-type type="application/msword-template">
    <_comment>Word template</_comment>
793
794
    <sub-class-of type="application/msword"/>
    <generic-icon name="x-office-document"/>
Bastien Nocera's avatar
Bastien Nocera committed
795
796
    <glob pattern="*.dot"/>
  </mime-type>
Ville Skyttä's avatar
Ville Skyttä committed
797
798
799
800
801
802
803
804
  <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
805
806
807
808
809
810
811
  <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>
812
813
814
815
816
817
818
819
820
  <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"/>
821
    <glob pattern="winmail.dat"/>
822
823
    <alias type="application/ms-tnef"/>
  </mime-type>
824
825
  <mime-type type="application/vnd.stardivision.calc">
    <_comment>StarCalc spreadsheet</_comment>
826
    <generic-icon name="x-office-spreadsheet"/>
827
828
829
830
    <glob pattern="*.sdc"/>
  </mime-type>
  <mime-type type="application/vnd.stardivision.chart">
    <_comment>StarChart chart</_comment>
831
    <generic-icon name="x-office-spreadsheet"/>
832
833
834
835
    <glob pattern="*.sds"/>
  </mime-type>
  <mime-type type="application/vnd.stardivision.draw">
    <_comment>StarDraw drawing</_comment>
836
    <generic-icon name="image-x-generic"/>
837
838
839
840
    <glob pattern="*.sda"/>
  </mime-type>
  <mime-type type="application/vnd.stardivision.impress">
    <_comment>StarImpress presentation</_comment>
841
    <generic-icon name="x-office-presentation"/>
842
843
844
845
    <glob pattern="*.sdd"/>
    <glob pattern="*.sdp"/>
  </mime-type>
  <mime-type type="application/vnd.stardivision.mail">
846
    <_comment>StarMail email</_comment>
847
848
849
    <glob pattern="*.smd"/>
  </mime-type>
  <mime-type type="application/vnd.stardivision.math">
850
    <_comment>StarMath formula</_comment>
851
    <generic-icon name="x-office-document"/>
852
853
854
855
    <glob pattern="*.smf"/>
  </mime-type>
  <mime-type type="application/vnd.stardivision.writer">
    <_comment>StarWriter document</_comment>
856
    <generic-icon name="x-office-document"/>
857
858
859
    <glob pattern="*.sdw"/>
    <glob pattern="*.vor"/>
    <glob pattern="*.sgl"/>
860
861
862
    <magic priority="90">
      <match type="string" value="StarWriter" offset="2089" />
    </magic>
863
    <alias type="application/vnd.stardivision.writer-global"/>
864
865
  </mime-type>
  <mime-type type="application/vnd.sun.xml.calc">
866
    <_comment>OpenOffice Calc spreadsheet</_comment>
867
868
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-spreadsheet"/>
869
    <magic priority="70">
870
871
872
873
874
875
      <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>
876
877
878
    <glob pattern="*.sxc"/>
  </mime-type>
  <mime-type type="application/vnd.sun.xml.calc.template">
879
    <_comment>OpenOffice Calc template</_comment>
880
881
    <sub-class-of type="application/zip"/>
    <generic-icon name="x-office-spreadsheet"/>
882
    <magic priority="70">
883
884
885
886
887
888
      <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>
889
890
891
    <glob pattern="*.stc"/>
  </mime-type>
  <mime-type type="application/vnd.sun.xml.draw">
892
    <_comment>OpenOffice Draw drawing</_comment>
893
894
    <sub-class-of type="application/zip"/>
    <generic-icon name="image-x-generic"/>
895
    <magic priority="70">
896
897
898
899
900
901
      <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.draw"/>
        </match>
      </match>
    </magic>
902
903
904
    <glob pattern="*.sxd"/>
  </mime-type>
  <mime-type type="application/vnd.sun.xml.draw.template">
905
    <_comment>OpenOffice Draw template</_comment>
906
907
    <sub-class-of type="application/zip"/>
    <generic-icon name="image-x-generic"/>
908
    <magic priority="70">
909
910
911
912
913
914
      <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.draw"/>
        </match>
      </match>
    </magic>