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