mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
fix mime table for ms office / open office documents
(causing wrong parser detect in intranet mode)
This commit is contained in:
parent
7c6d6cd69a
commit
e84d94f8ca
|
@ -23,8 +23,9 @@ csv = text/csv
|
|||
db = application/octet-stream
|
||||
dll = application/octet-stream
|
||||
doc = application/msword
|
||||
docx = application/msword
|
||||
docx = application/vnd.openxmlformats-officedocument.wordprocessingml.document
|
||||
dot = application/msword
|
||||
dotx = application/vnd.openxmlformats-officedocument.wordprocessingml.template
|
||||
dvi = application/x-dvi
|
||||
eps = application/postscript
|
||||
exe = application/octet-stream
|
||||
|
@ -82,9 +83,11 @@ phtml = application/x-httpd-php
|
|||
pl = text/plain
|
||||
png = image/png
|
||||
pot = application/mspowerpoint
|
||||
potx = application/vnd.openxmlformats-officedocument.presentationml.template
|
||||
pps = application/mspowerpoint
|
||||
ppsx = application/vnd.openxmlformats-officedocument.presentationml.slideshow
|
||||
ppt = application/mspowerpoint
|
||||
pptx = application/mspowerpoint
|
||||
pptx = application/vnd.openxmlformats-officedocument.presentationml.presentation
|
||||
ppz = application/mspowerpoint
|
||||
ps = application/postscript
|
||||
py = text/html
|
||||
|
@ -128,7 +131,8 @@ wmv = video/x-ms-wmv
|
|||
xhtml = text/xhtml+xml
|
||||
xla = application/msexcel
|
||||
xls = application/msexcel
|
||||
xlsx = application/msexcel
|
||||
xlsx = application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
|
||||
xltx = application/vnd.openxmlformats-officedocument.spreadsheetml.template
|
||||
xpi = application/x-xpinstall
|
||||
xsl = text/xml
|
||||
xml = text/xml
|
||||
|
|
|
@ -178,10 +178,10 @@ public class ooxmlParser extends AbstractParser implements Parser {
|
|||
docKeywords,
|
||||
singleList(docLongTitle),
|
||||
docAuthor,
|
||||
"",
|
||||
null,
|
||||
null,
|
||||
descriptions,
|
||||
0.0f, 0.0f,
|
||||
0.0d, 0.0d,
|
||||
contentBytes,
|
||||
null,
|
||||
null,
|
||||
|
|
Loading…
Reference in New Issue
Block a user