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