12 # Our HTML parser knows to ignore PHP code.
15 # Archived HTML formats:
16 maff application/x-maff
17 mht application/x-mimearchive
18 mhtml application/x-mimearchive
21 markdown text/markdown
28 # Comma-Separated Values:
35 ps application/postscript
36 eps application/postscript
37 ai application/postscript
40 # FIXME: need to find sample documents to test all of these.
41 odt application/vnd.oasis.opendocument.text
42 ods application/vnd.oasis.opendocument.spreadsheet
43 odp application/vnd.oasis.opendocument.presentation
44 odg application/vnd.oasis.opendocument.graphics
45 odc application/vnd.oasis.opendocument.chart
46 odf application/vnd.oasis.opendocument.formula
47 odb application/vnd.oasis.opendocument.database
48 odi application/vnd.oasis.opendocument.image
49 odm application/vnd.oasis.opendocument.text-master
50 ott application/vnd.oasis.opendocument.text-template
51 ots application/vnd.oasis.opendocument.spreadsheet-template
52 otp application/vnd.oasis.opendocument.presentation-template
53 otg application/vnd.oasis.opendocument.graphics-template
54 otc application/vnd.oasis.opendocument.chart-template
55 otf application/vnd.oasis.opendocument.formula-template
56 oti application/vnd.oasis.opendocument.image-template
57 oth application/vnd.oasis.opendocument.text-web
59 # OpenOffice/StarOffice documents:
60 sxc application/vnd.sun.xml.calc
61 stc application/vnd.sun.xml.calc.template
62 sxd application/vnd.sun.xml.draw
63 std application/vnd.sun.xml.draw.template
64 sxi application/vnd.sun.xml.impress
65 sti application/vnd.sun.xml.impress.template
66 sxm application/vnd.sun.xml.math
67 sxw application/vnd.sun.xml.writer
68 sxg application/vnd.sun.xml.writer.global
69 stw application/vnd.sun.xml.writer.template
71 # MS Office 2007 formats:
73 docx application/vnd.openxmlformats-officedocument.wordprocessingml.document
75 dotx application/vnd.openxmlformats-officedocument.wordprocessingml.template
77 xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
79 xltx application/vnd.openxmlformats-officedocument.spreadsheetml.template
80 # PowerPoint 2007 presentation
81 pptx application/vnd.openxmlformats-officedocument.presentationml.presentation
82 # PowerPoint 2007 slideshow
83 ppsx application/vnd.openxmlformats-officedocument.presentationml.slideshow
84 # PowerPoint 2007 template
85 potx application/vnd.openxmlformats-officedocument.presentationml.template
86 vsdx application/vnd.ms-visio.drawing
87 vssx application/vnd.ms-visio.stencil
88 vstx application/vnd.ms-visio.template
89 # OpenXPS and MS-specific older XPS format
91 xps application/vnd.ms-xpsdocument
93 # Macro-enabled variants - these appear to be the same formats as the
94 # above. Currently we just treat them as the same mimetypes to avoid
95 # having to check for twice as many possible content-types.
96 # MS say: application/vnd.ms-word.document.macroEnabled.12
97 docm application/vnd.openxmlformats-officedocument.wordprocessingml.document
98 # MS say: application/vnd.ms-word.template.macroEnabled.12
99 dotm application/vnd.openxmlformats-officedocument.wordprocessingml.template
100 # MS say: application/vnd.ms-excel.sheet.macroEnabled.12
101 xlsm application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
102 # MS say: application/vnd.ms-excel.template.macroEnabled.12
103 xltm application/vnd.openxmlformats-officedocument.spreadsheetml.template
104 # MS say: application/vnd.ms-powerpoint.presentation.macroEnabled.12
105 pptm application/vnd.openxmlformats-officedocument.presentationml.presentation
106 # MS say: application/vnd.ms-powerpoint.slideshow.macroEnabled.12
107 ppsm application/vnd.openxmlformats-officedocument.presentationml.slideshow
108 # MS say: application/vnd.ms-powerpoint.presentation.macroEnabled.12
109 potm application/vnd.openxmlformats-officedocument.presentationml.template
110 # MS say: application/vnd.ms-visio.drawing.macroEnabled etc
111 vsdm application/vnd.ms-visio.drawing
112 vssm application/vnd.ms-visio.stencil
113 vstm application/vnd.ms-visio.template
115 # Some other word processor formats:
117 dot application/msword
118 wpd application/vnd.wordperfect
119 wps application/vnd.ms-works
121 wpt application/vnd.ms-works
123 abw application/x-abiword
125 awt application/x-abiword
126 # AbiWord compressed document
127 zabw application/x-abiword-compressed
128 # RTF -- application/rtf is also registered with IANA and understood by
129 # omindex >= 1.4.18), but libmagic seems to always report text/rtf, so
132 # Leave .doc files to libmagic, as they may actually be RTF (AbiWord
133 # actually saves RTF when asked to save as .doc, and Microsoft Word
134 # quietly loads RTF files with a .doc extension), or plain-text.
137 key application/vnd.apple.keynote
138 kth application/vnd.apple.keynote
139 apxl application/vnd.apple.keynote
140 pages application/vnd.apple.pages
141 numbers application/vnd.apple.numbers
144 vsd application/vnd.visio
145 vss application/vnd.visio
146 vst application/vnd.visio
147 vsw application/vnd.visio
150 xls application/vnd.ms-excel
151 xlb application/vnd.ms-excel
153 xlt application/vnd.ms-excel
155 xla application/vnd.ms-excel
156 # Later Microsoft Works produced XL format but with a different extension.
157 xlr application/vnd.ms-excel
158 ppt application/vnd.ms-powerpoint
159 # Powerpoint slideshow
160 pps application/vnd.ms-powerpoint
161 # Adobe PageMaker apparently uses .pub for an unrelated format, but
162 # libmagic seems to misidentify MS .pub as application/msword, so we
163 # can't just leave it to libmagic. We don't handle Adobe PageMaker
164 # files yet, so this isn't a big issue currently.
165 pub application/x-mspublisher
167 msg application/vnd.ms-outlook
169 oft application/vnd.ms-outlook
171 # Outlook saved MIME message
180 dvi application/x-dvi
188 svgz image/svg+xml-compressed
195 deb application/vnd.debian.binary-package
196 udeb application/vnd.debian.binary-package
199 rpm application/x-redhat-package-manager
202 atom application/atom+xml
204 # Extensions to quietly ignore:
232 sqlite-journal ignore