source: trunk/Packages/CoolWeb/Common/UMIMEType.pas

Last change on this file was 5, checked in by chronos, 12 years ago
  • Added: Required packages.
File size: 20.6 KB
Line 
1unit UMIMEType;
2
3{$mode Delphi}{$H+}
4
5interface
6
7uses
8 Classes, SysUtils;
9
10function GetMIMEType(FileExtension: string): string;
11
12var
13 MIMETypeList: TStringList;
14
15implementation
16
17function GetMIMEType(FileExtension: string): string;
18begin
19 Result := MIMETypeList.Values[FileExtension];
20 if Result = '' then Result := 'application/octet-stream';
21end;
22
23initialization
24
25MIMETypeList := TStringList.Create;
26with MIMETypeList do begin
27 Values['html'] := 'text/html';
28 Values['png'] := 'image/png';
29 Values['htm'] := 'text/html';
30 Values['txt'] := 'text/text';
31 Values['xml'] := 'text/xml';
32 Values['jpeg'] := 'image/jpeg';
33 Values['jpg'] := 'image/jpeg';
34 Values['bmp'] := 'image/bmp';
35 Values['css'] := 'text/css';
36end;
37
38finalization
39
40MIMETypeList.Destroy;
41
42end.
43
44(*
45 Add('3dm', 'x-world/x-3dmf');
46 Add('3dmf', 'x-world/x-3dmf');
47 Add('a application/octet-stream');
48 Add('aab application/x-authorware-bin
49 Add('aam application/x-authorware-map');
50 Add('aas application/x-authorware-seg');
51 Add('abc text/vnd.abc');
52 Add('acgi text/html');
53 Add('afl video/animaflex');
54 Add('ai application/postscript');
55 Add('aif audio/aiff');
56 Add('aif audio/x-aiff');
57 Add('aifc audio/aiff');
58 Add('aifc audio/x-aiff');
59 Add('aiff audio/aiff');
60 Add('aiff audio/x-aiff');
61 Add('aim application/x-aim');
62 Add('aip text/x-audiosoft-intra');
63 Add('ani application/x-navi-animation');
64 Add('aos application/x-nokia-9000-communicator-add-on-software');
65 Add('aps application/mime');
66 Add('arc application/octet-stream');
67 Add('arj application/arj');
68 Add('arj application/octet-stream');
69 Add('art image/x-jg');
70 Add('asf video/x-ms-asf');
71 Add('asm text/x-asm');
72 Add('asp text/asp');
73 Add('asx application/x-mplayer2');
74 Add('asx video/x-ms-asf');
75 Add('asx video/x-ms-asf-plugin');
76 Add('au audio/basic');
77 Add('au audio/x-au');
78 Add('avi application/x-troff-msvideo');
79 Add('avi video/avi');
80 Add('avi video/msvideo');
81 Add('avi video/x-msvideo');
82 Add('avs video/avs-video');
83 Add('bcpio application/x-bcpio');
84 Add('bin application/mac-binary');
85 Add('bin application/macbinary');
86 Add('bin application/octet-stream
87 Add('bin application/x-binary
88 Add('bin application/x-macbinary
89 Add('bm image/bmp
90 Add('bmp image/bmp
91 Add('bmp image/x-windows-bmp
92 Add('boo application/book
93 Add('book application/book
94 Add('boz application/x-bzip2
95 Add('bsh application/x-bsh
96 Add('bz application/x-bzip
97 Add('bz2 application/x-bzip2
98 Add('c text/plain
99 Add('c text/x-c
100 Add('c++ text/plain
101 Add('cat application/vnd Add('ms-pki Add('seccat
102 Add('cc text/plain
103 Add('cc text/x-c
104 Add('ccad application/clariscad
105 Add('cco application/x-cocoa
106 Add('cdf application/cdf
107 Add('cdf application/x-cdf
108 Add('cdf application/x-netcdf
109 Add('cer application/pkix-cert
110 Add('cer application/x-x509-ca-cert
111 Add('cha application/x-chat
112 Add('chat application/x-chat
113 Add('class application/java
114 Add('class application/java-byte-code
115 Add('class application/x-java-class
116 Add('com application/octet-stream
117 Add('com text/plain
118 Add('conf text/plain
119 Add('cpio application/x-cpio
120 Add('cpp text/x-c
121 Add('cpt application/mac-compactpro
122 Add('cpt application/x-compactpro
123 Add('cpt application/x-cpt
124 Add('crl application/pkcs-crl
125 Add('crl application/pkix-crl
126 Add('crt application/pkix-cert
127 Add('crt application/x-x509-ca-cert
128 Add('crt application/x-x509-user-cert
129 Add('csh application/x-csh
130 Add('csh text/x-script Add('csh
131 Add('css application/x-pointplus
132 Add('css text/css
133 Add('cxx text/plain
134 Add('dcr application/x-director
135 Add('deepv application/x-deepv
136 Add('def text/plain
137 Add('der application/x-x509-ca-cert
138 Add('dif video/x-dv
139 Add('dir application/x-director
140 Add('dl video/dl
141 Add('dl video/x-dl
142 Add('doc application/msword
143 Add('dot application/msword
144 Add('dp application/commonground
145 Add('drw application/drafting
146 Add('dump application/octet-stream
147 Add('dv video/x-dv
148 Add('dvi application/x-dvi
149 Add('dwf drawing/x-dwf (old)
150 Add('dwf model/vnd Add('dwf
151 Add('dwg application/acad
152 Add('dwg image/vnd Add('dwg
153 Add('dwg image/x-dwg
154 Add('dxf application/dxf
155 Add('dxf image/vnd Add('dwg
156 Add('dxf image/x-dwg
157 Add('dxr application/x-director
158 Add('el text/x-script Add('elisp
159 Add('elc application/x-bytecode Add('elisp (compiled elisp)
160 Add('elc application/x-elc
161 Add('env application/x-envoy
162 Add('eps application/postscript
163 Add('es application/x-esrehber
164 Add('etx text/x-setext
165 Add('evy application/envoy
166 Add('evy application/x-envoy
167 Add('exe application/octet-stream
168 Add('f text/plain
169 Add('f text/x-fortran
170 Add('f77 text/x-fortran
171 Add('f90 text/plain
172 Add('f90 text/x-fortran
173 Add('fdf application/vnd Add('fdf
174 Add('fif application/fractals
175 Add('fif image/fif
176 Add('fli video/fli
177 Add('fli video/x-fli
178 Add('flo image/florian
179 Add('flx text/vnd Add('fmi Add('flexstor
180 Add('fmf video/x-atomic3d-feature
181 Add('for text/plain
182 Add('for text/x-fortran
183 Add('fpx image/vnd Add('fpx
184 Add('fpx image/vnd Add('net-fpx
185 Add('frl application/freeloader
186 Add('funk audio/make
187 Add('g text/plain
188 Add('g3 image/g3fax
189 Add('gif image/gif
190 Add('gl video/gl
191 Add('gl video/x-gl
192 Add('gsd audio/x-gsm
193 Add('gsm audio/x-gsm
194 Add('gsp application/x-gsp
195 Add('gss application/x-gss
196 Add('gtar application/x-gtar
197 Add('gz application/x-compressed
198 Add('gz application/x-gzip
199 Add('gzip application/x-gzip
200 Add('gzip multipart/x-gzip
201 Add('h text/plain
202 Add('h text/x-h
203 Add('hdf application/x-hdf
204 Add('help application/x-helpfile
205 Add('hgl application/vnd Add('hp-hpgl
206 Add('hh text/plain
207 Add('hh text/x-h
208 Add('hlb text/x-script
209 Add('hlp application/hlp
210 Add('hlp application/x-helpfile
211 Add('hlp application/x-winhelp
212 Add('hpg application/vnd Add('hp-hpgl
213 Add('hpgl application/vnd Add('hp-hpgl
214 Add('hqx application/binhex
215 Add('hqx application/binhex4
216 Add('hqx application/mac-binhex
217 Add('hqx application/mac-binhex40
218 Add('hqx application/x-binhex40
219 Add('hqx application/x-mac-binhex40
220 Add('hta application/hta
221 Add('htc text/x-component
222 Add('htm text/html
223 Add('html text/html
224 Add('htmls text/html
225 Add('htt text/webviewhtml
226 Add('htx text/html
227 Add('ice x-conference/x-cooltalk
228 Add('ico image/x-icon
229 Add('idc text/plain
230 Add('ief image/ief
231 Add('iefs image/ief
232 Add('iges application/iges
233 Add('iges model/iges
234 Add('igs application/iges
235 Add('igs model/iges
236 Add('ima application/x-ima
237 Add('imap application/x-httpd-imap
238 Add('inf application/inf
239 Add('ins application/x-internett-signup
240 Add('ip application/x-ip2
241 Add('isu video/x-isvideo
242 Add('it audio/it
243 Add('iv application/x-inventor
244 Add('ivr i-world/i-vrml
245 Add('ivy application/x-livescreen
246 Add('jam audio/x-jam
247 Add('jav text/plain
248 Add('jav text/x-java-source
249 Add('java text/plain
250 Add('java text/x-java-source
251 Add('jcm application/x-java-commerce
252 Add('jfif image/jpeg
253 Add('jfif image/pjpeg
254 Add('jfif-tbnl image/jpeg
255 Add('jpe image/jpeg
256 Add('jpe image/pjpeg
257 Add('jpeg image/jpeg
258 Add('jpeg image/pjpeg
259 Add('jpg image/jpeg
260 Add('jpg image/pjpeg
261 Add('jps image/x-jps
262 Add('js application/x-javascript
263 Add('jut image/jutvision
264 Add('kar audio/midi
265 Add('kar music/x-karaoke
266 Add('ksh application/x-ksh
267 Add('ksh text/x-script Add('ksh
268 Add('la audio/nspaudio
269 Add('la audio/x-nspaudio
270 Add('lam audio/x-liveaudio
271 Add('latex application/x-latex
272 Add('lha application/lha
273 Add('lha application/octet-stream
274 Add('lha application/x-lha
275 Add('lhx application/octet-stream
276 Add('list text/plain
277 Add('lma audio/nspaudio
278 Add('lma audio/x-nspaudio
279 Add('log text/plain
280 Add('lsp application/x-lisp
281 Add('lsp text/x-script Add('lisp
282 Add('lst text/plain
283 Add('lsx text/x-la-asf
284 Add('ltx application/x-latex
285 Add('lzh application/octet-stream
286 Add('lzh application/x-lzh
287 Add('lzx application/lzx
288 Add('lzx application/octet-stream
289 Add('lzx application/x-lzx
290 Add('m text/plain
291 Add('m text/x-m
292 Add('m1v video/mpeg
293 Add('m2a audio/mpeg
294 Add('m2v video/mpeg
295 Add('m3u audio/x-mpequrl
296 Add('man application/x-troff-man
297 Add('map application/x-navimap
298 Add('mar text/plain
299 Add('mbd application/mbedlet
300 Add('mc$ application/x-magic-cap-package-1 Add('0
301 Add('mcd application/mcad
302 Add('mcd application/x-mathcad
303 Add('mcf image/vasa
304 Add('mcf text/mcf
305 Add('mcp application/netmc
306 Add('me application/x-troff-me
307 Add('mht message/rfc822
308 Add('mhtml message/rfc822
309 Add('mid application/x-midi
310 Add('mid audio/midi
311 Add('mid audio/x-mid
312 Add('mid audio/x-midi
313 Add('mid music/crescendo
314 Add('mid x-music/x-midi
315 Add('midi application/x-midi
316 Add('midi audio/midi
317 Add('midi audio/x-mid
318 Add('midi audio/x-midi
319 Add('midi music/crescendo
320 Add('midi x-music/x-midi
321 Add('mif application/x-frame
322 Add('mif application/x-mif
323 Add('mime message/rfc822
324 Add('mime www/mime
325 Add('mjf audio/x-vnd Add('audioexplosion Add('mjuicemediafile
326 Add('mjpg video/x-motion-jpeg
327 Add('mm application/base64
328 Add('mm application/x-meme
329 Add('mme application/base64
330 Add('mod audio/mod
331 Add('mod audio/x-mod
332 Add('moov video/quicktime
333 Add('mov video/quicktime
334 Add('movie video/x-sgi-movie
335 Add('mp2 audio/mpeg
336 Add('mp2 audio/x-mpeg
337 Add('mp2 video/mpeg
338 Add('mp2 video/x-mpeg
339 Add('mp2 video/x-mpeq2a
340 Add('mp3 audio/mpeg3
341 Add('mp3 audio/x-mpeg-3
342 Add('mp3 video/mpeg
343 Add('mp3 video/x-mpeg
344 Add('mpa audio/mpeg
345 Add('mpa video/mpeg
346 Add('mpc application/x-project
347 Add('mpe video/mpeg
348 Add('mpeg video/mpeg
349 Add('mpg audio/mpeg
350 Add('mpg video/mpeg
351 Add('mpga audio/mpeg
352 Add('mpp application/vnd Add('ms-project
353 Add('mpt application/x-project
354 Add('mpv application/x-project
355 Add('mpx application/x-project
356 Add('mrc application/marc
357 Add('ms application/x-troff-ms
358 Add('mv video/x-sgi-movie
359 Add('my audio/make
360 Add('mzz application/x-vnd Add('audioexplosion Add('mzz
361 Add('nap image/naplps
362 Add('naplps image/naplps
363 Add('nc application/x-netcdf
364 Add('ncm application/vnd Add('nokia Add('configuration-message
365 Add('nif image/x-niff
366 Add('niff image/x-niff
367 Add('nix application/x-mix-transfer
368 Add('nsc application/x-conference
369 Add('nvd application/x-navidoc
370 Add('o application/octet-stream
371 Add('oda application/oda
372 Add('omc application/x-omc
373 Add('omcd application/x-omcdatamaker
374 Add('omcr application/x-omcregerator
375 Add('p text/x-pascal
376 Add('p10 application/pkcs10
377 Add('p10 application/x-pkcs10
378 Add('p12 application/pkcs-12
379 Add('p12 application/x-pkcs12
380 Add('p7a application/x-pkcs7-signature
381 Add('p7c application/pkcs7-mime
382 Add('p7c application/x-pkcs7-mime
383 Add('p7m application/pkcs7-mime
384 Add('p7m application/x-pkcs7-mime
385 Add('p7r application/x-pkcs7-certreqresp
386 Add('p7s application/pkcs7-signature
387 Add('part application/pro_eng
388 Add('pas text/pascal
389 Add('pbm image/x-portable-bitmap
390 Add('pcl application/vnd Add('hp-pcl
391 Add('pcl application/x-pcl
392 Add('pct image/x-pict
393 Add('pcx image/x-pcx
394 Add('pdb chemical/x-pdb
395 Add('pdf application/pdf
396 Add('pfunk audio/make
397 Add('pfunk audio/make Add('my Add('funk
398 Add('pgm image/x-portable-graymap
399 Add('pgm image/x-portable-greymap
400 Add('pic image/pict
401 Add('pict image/pict
402 Add('pkg application/x-newton-compatible-pkg
403 Add('pko application/vnd Add('ms-pki Add('pko
404 Add('pl text/plain
405 Add('pl text/x-script Add('perl
406 Add('plx application/x-pixclscript
407 Add('pm image/x-xpixmap
408 Add('pm text/x-script Add('perl-module
409 Add('pm4 application/x-pagemaker
410 Add('pm5 application/x-pagemaker
411 Add('png image/png
412 Add('pnm application/x-portable-anymap
413 Add('pnm image/x-portable-anymap
414 Add('pot application/mspowerpoint
415 Add('pot application/vnd Add('ms-powerpoint
416 Add('pov model/x-pov
417 Add('ppa application/vnd Add('ms-powerpoint
418 Add('ppm image/x-portable-pixmap
419 Add('pps application/mspowerpoint
420 Add('pps application/vnd Add('ms-powerpoint
421 Add('ppt application/mspowerpoint
422 Add('ppt application/powerpoint
423 Add('ppt application/vnd Add('ms-powerpoint
424 Add('ppt application/x-mspowerpoint
425 Add('ppz application/mspowerpoint
426 Add('pre application/x-freelance
427 Add('prt application/pro_eng
428 Add('ps application/postscript
429 Add('psd application/octet-stream
430 Add('pvu paleovu/x-pv
431 Add('pwz application/vnd Add('ms-powerpoint
432 Add('py text/x-script Add('phyton
433 Add('pyc applicaiton/x-bytecode Add('python
434 Add('qcp audio/vnd Add('qcelp
435 Add('qd3 x-world/x-3dmf
436 Add('qd3d x-world/x-3dmf
437 Add('qif image/x-quicktime
438 Add('qt video/quicktime
439 Add('qtc video/x-qtc
440 Add('qti image/x-quicktime
441 Add('qtif image/x-quicktime
442 Add('ra audio/x-pn-realaudio
443 Add('ra audio/x-pn-realaudio-plugin
444 Add('ra audio/x-realaudio
445 Add('ram audio/x-pn-realaudio
446 Add('ras application/x-cmu-raster
447 Add('ras image/cmu-raster
448 Add('ras image/x-cmu-raster
449 Add('rast image/cmu-raster
450 Add('rexx text/x-script Add('rexx
451 Add('rf image/vnd Add('rn-realflash
452 Add('rgb image/x-rgb
453 Add('rm application/vnd Add('rn-realmedia
454 Add('rm audio/x-pn-realaudio
455 Add('rmi audio/mid
456 Add('rmm audio/x-pn-realaudio
457 Add('rmp audio/x-pn-realaudio
458 Add('rmp audio/x-pn-realaudio-plugin
459 Add('rng application/ringing-tones
460 Add('rng application/vnd Add('nokia Add('ringing-tone
461 Add('rnx application/vnd Add('rn-realplayer
462 Add('roff application/x-troff
463 Add('rp image/vnd Add('rn-realpix
464 Add('rpm audio/x-pn-realaudio-plugin
465 Add('rt text/richtext
466 Add('rt text/vnd Add('rn-realtext
467 Add('rtf application/rtf
468 Add('rtf application/x-rtf
469 Add('rtf text/richtext
470 Add('rtx application/rtf
471 Add('rtx text/richtext
472 Add('rv video/vnd Add('rn-realvideo
473 Add('s text/x-asm
474 Add('s3m audio/s3m
475 Add('saveme application/octet-stream
476 Add('sbk application/x-tbook
477 Add('scm application/x-lotusscreencam
478 Add('scm text/x-script Add('guile
479 Add('scm text/x-script Add('scheme
480 Add('scm video/x-scm
481 Add('sdml text/plain
482 Add('sdp application/sdp
483 Add('sdp application/x-sdp
484 Add('sdr application/sounder
485 Add('sea application/sea
486 Add('sea application/x-sea
487 Add('set application/set
488 Add('sgm text/sgml
489 Add('sgm text/x-sgml
490 Add('sgml text/sgml
491 Add('sgml text/x-sgml
492 Add('sh application/x-bsh
493 Add('sh application/x-sh
494 Add('sh application/x-shar
495 Add('sh text/x-script Add('sh
496 Add('shar application/x-bsh
497 Add('shar application/x-shar
498 Add('shtml text/html
499 Add('shtml text/x-server-parsed-html
500 Add('sid audio/x-psid
501 Add('sit application/x-sit
502 Add('sit application/x-stuffit
503 Add('skd application/x-koan
504 Add('skm application/x-koan
505 Add('skp application/x-koan
506 Add('skt application/x-koan
507 Add('sl application/x-seelogo
508 Add('smi application/smil
509 Add('smil application/smil
510 Add('snd audio/basic
511 Add('snd audio/x-adpcm
512 Add('sol application/solids
513 Add('spc application/x-pkcs7-certificates
514 Add('spc text/x-speech
515 Add('spl application/futuresplash
516 Add('spr application/x-sprite
517 Add('sprite application/x-sprite
518 Add('src application/x-wais-source
519 Add('ssi text/x-server-parsed-html
520 Add('ssm application/streamingmedia
521 Add('sst application/vnd Add('ms-pki Add('certstore
522 Add('step application/step
523 Add('stl application/sla
524 Add('stl application/vnd Add('ms-pki Add('stl
525 Add('stl application/x-navistyle
526 Add('stp application/step
527 Add('sv4cpio application/x-sv4cpio
528 Add('sv4crc application/x-sv4crc
529 Add('svf image/vnd Add('dwg
530 Add('svf image/x-dwg
531 Add('svr application/x-world
532 Add('svr x-world/x-svr
533 Add('swf application/x-shockwave-flash
534 Add('t application/x-troff
535 Add('talk text/x-speech
536 Add('tar application/x-tar
537 Add('tbk application/toolbook
538 Add('tbk application/x-tbook
539 Add('tcl application/x-tcl
540 Add('tcl text/x-script Add('tcl
541 Add('tcsh text/x-script Add('tcsh
542 Add('tex application/x-tex
543 Add('texi application/x-texinfo
544 Add('texinfo application/x-texinfo
545 Add('text application/plain
546 Add('text text/plain
547 Add('tgz application/gnutar
548 Add('tgz application/x-compressed
549 Add('tif image/tiff
550 Add('tif image/x-tiff
551 Add('tiff image/tiff
552 Add('tiff image/x-tiff
553 Add('tr application/x-troff
554 Add('tsi audio/tsp-audio
555 Add('tsp application/dsptype
556 Add('tsp audio/tsplayer
557 Add('tsv text/tab-separated-values
558 Add('turbot image/florian
559 Add('txt text/plain
560 Add('uil text/x-uil
561 Add('uni text/uri-list
562 Add('unis text/uri-list
563 Add('unv application/i-deas
564 Add('uri text/uri-list
565 Add('uris text/uri-list
566 Add('ustar application/x-ustar
567 Add('ustar multipart/x-ustar
568 Add('uu application/octet-stream
569 Add('uu text/x-uuencode
570 Add('uue text/x-uuencode
571 Add('vcd application/x-cdlink
572 Add('vcs text/x-vcalendar
573 Add('vda application/vda
574 Add('vdo video/vdo
575 Add('vew application/groupwise
576 Add('viv video/vivo
577 Add('viv video/vnd Add('vivo
578 Add('vivo video/vivo
579 Add('vivo video/vnd Add('vivo
580 Add('vmd application/vocaltec-media-desc
581 Add('vmf application/vocaltec-media-file
582 Add('voc audio/voc
583 Add('voc audio/x-voc
584 Add('vos video/vosaic
585 Add('vox audio/voxware
586 Add('vqe audio/x-twinvq-plugin
587 Add('vqf audio/x-twinvq
588 Add('vql audio/x-twinvq-plugin
589 Add('vrml application/x-vrml
590 Add('vrml model/vrml
591 Add('vrml x-world/x-vrml
592 Add('vrt x-world/x-vrt
593 Add('vsd application/x-visio
594 Add('vst application/x-visio
595 Add('vsw application/x-visio
596 Add('w60 application/wordperfect6 Add('0
597 Add('w61 application/wordperfect6 Add('1
598 Add('w6w application/msword
599 Add('wav audio/wav
600 Add('wav audio/x-wav
601 Add('wb1 application/x-qpro
602 Add('wbmp image/vnd Add('wap Add('wbmp
603 Add('web application/vnd Add('xara
604 Add('wiz application/msword
605 Add('wk1 application/x-123
606 Add('wmf windows/metafile
607 Add('wml text/vnd Add('wap Add('wml
608 Add('wmlc application/vnd Add('wap Add('wmlc
609 Add('wmls text/vnd Add('wap Add('wmlscript
610 Add('wmlsc application/vnd Add('wap Add('wmlscriptc
611 Add('word application/msword
612 Add('wp application/wordperfect
613 Add('wp5 application/wordperfect
614 Add('wp5 application/wordperfect6 Add('0
615 Add('wp6 application/wordperfect
616 Add('wpd application/wordperfect
617 Add('wpd application/x-wpwin
618 Add('wq1 application/x-lotus
619 Add('wri application/mswrite
620 Add('wri application/x-wri
621 Add('wrl application/x-world
622 Add('wrl model/vrml
623 Add('wrl x-world/x-vrml
624 Add('wrz model/vrml
625 Add('wrz x-world/x-vrml
626 Add('wsc text/scriplet
627 Add('wsrc application/x-wais-source
628 Add('wtk application/x-wintalk
629 Add('xbm image/x-xbitmap
630 Add('xbm image/x-xbm
631 Add('xbm image/xbm
632 Add('xdr video/x-amt-demorun
633 Add('xgz xgl/drawing
634 Add('xif image/vnd Add('xiff
635 Add('xl application/excel
636 Add('xla application/excel
637 Add('xla application/x-excel
638 Add('xla application/x-msexcel
639 Add('xlb application/excel
640 Add('xlb application/vnd Add('ms-excel
641 Add('xlb application/x-excel
642 Add('xlc application/excel
643 Add('xlc application/vnd Add('ms-excel
644 Add('xlc application/x-excel
645 Add('xld application/excel
646 Add('xld application/x-excel
647 Add('xlk application/excel
648 Add('xlk application/x-excel
649 Add('xll application/excel
650 Add('xll application/vnd Add('ms-excel
651 Add('xll application/x-excel
652 Add('xlm application/excel
653 Add('xlm application/vnd Add('ms-excel
654 Add('xlm application/x-excel
655 Add('xls application/excel
656 Add('xls application/vnd Add('ms-excel
657 Add('xls application/x-excel
658 Add('xls application/x-msexcel
659 Add('xlt application/excel');
660 Add('xlt application/x-excel');
661 Add('xlv application/x-excel');
662 Add('xlw application/excel');
663 Add('xlw application/vnd.ms-excel');
664 Add('xlw application/x-excel');
665 Add('xlw application/x-msexcel');
666 Add('xm audio/xm');
667 Add('xml application/xml');
668 Add('xml text/xml');
669 Add('xmz xgl/movie');
670 Add('xpix application/x-vnd.ls-xpix');
671 Add('xpm image/x-xpixmap');
672 Add('xpm image/xpm');
673 Add('x-png image/png');
674 Add('xsr video/x-amt-showrun');
675 Add('xwd image/x-xwd');
676 Add('xwd image/x-xwindowdump');
677 Add('xyz chemical/x-pdb');
678 Add('z application/x-compress');
679 Add('z application/x-compressed');
680 Add('zip application/x-compressed');
681 Add('zip application/x-zip-compressed');
682 Add('zip application/zip');
683 Add('zip multipart/x-zip');
684 Add('zoo application/octet-stream');
685 Add('zsh text/x-script.zsh');
686end;
687*)
Note: See TracBrowser for help on using the repository browser.