scriptindex: Fix weird error cases
[xapian.git] / xapian-applications / omega / mimemap.tokens
blobd61f417e8534b88ac1ff6aaa6040304e16e2b07c
1 # Plain text:
2 txt             text/plain
3 text            text/plain
5 # HTML:
6 html            text/html
7 htm             text/html
8 shtml           text/html
9 shtm            text/html
10 xhtml           text/html
11 xhtm            text/html
12 # Our HTML parser knows to ignore PHP code.
13 php             text/x-php
15 # Archived HTML formats:
16 maff            application/x-maff
17 mht             application/x-mimearchive
18 mhtml           application/x-mimearchive
20 # Markdown:
21 markdown        text/markdown
22 md              text/markdown
24 # reStructured text:
25 rst             text/x-rst
26 rest            text/x-rst
28 # Comma-Separated Values:
29 csv             text/csv
31 # PDF:
32 pdf             application/pdf
34 # PostScript:
35 ps              application/postscript
36 eps             application/postscript
37 ai              application/postscript
39 # OpenDocument:
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:
72 # Word 2007
73 docx            application/vnd.openxmlformats-officedocument.wordprocessingml.document
74 # Word 2007 template
75 dotx            application/vnd.openxmlformats-officedocument.wordprocessingml.template
76 # Excel 2007
77 xlsx            application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
78 # Excel 2007 template
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
90 oxps            application/oxps
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:
116 # Word template
117 dot             application/msword
118 wpd             application/vnd.wordperfect
119 wps             application/vnd.ms-works
120 # Works template
121 wpt             application/vnd.ms-works
122 # AbiWord document
123 abw             application/x-abiword
124 # AbiWord template
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
130 # we map to that.
131 rtf             text/rtf
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.
136 # Apple iWork:
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
143 # Visio:
144 vsd             application/vnd.visio
145 vss             application/vnd.visio
146 vst             application/vnd.visio
147 vsw             application/vnd.visio
149 # Other MS formats:
150 xls             application/vnd.ms-excel
151 xlb             application/vnd.ms-excel
152 # Excel template
153 xlt             application/vnd.ms-excel
154 # Excel addon
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
166 # Outlook .msg email
167 msg             application/vnd.ms-outlook
168 # Outlook template
169 oft             application/vnd.ms-outlook
171 # Outlook saved MIME message
172 eml             message/rfc822
174 # Perl:
175 pl              text/x-perl
176 pm              text/x-perl
177 pod             text/x-perl
179 # TeX DVI:
180 dvi             application/x-dvi
182 # DjVu:
183 djv             image/vnd.djvu
184 djvu            image/vnd.djvu
186 # SVG:
187 svg             image/svg+xml
189 # vCard files:
190 vcf             text/vcard
191 vcard           text/vcard
193 # Debian packages:
194 deb             application/vnd.debian.binary-package
195 udeb            application/vnd.debian.binary-package
197 # RPM packages:
198 rpm             application/x-redhat-package-manager
200 # Atom feeds:
201 atom            application/atom+xml
203 # Extensions to quietly ignore:
204 a               ignore
205 adm             ignore
206 bin             ignore
207 com             ignore
208 css             ignore
209 cur             ignore
210 dat             ignore
211 db              ignore
212 dll             ignore
213 dylib           ignore
214 exe             ignore
215 fon             ignore
216 ico             ignore
217 jar             ignore
218 js              ignore
219 lib             ignore
220 lnk             ignore
221 msi             ignore
222 msp             ignore
223 o               ignore
224 obj             ignore
225 pyc             ignore
226 pyd             ignore
227 pyo             ignore
228 so              ignore
229 sqlite          ignore
230 sqlite3         ignore
231 sqlite-journal  ignore
232 tmp             ignore
233 ttf             ignore