added support for openoffice and word + optimized decomp temp dir usage

This commit is contained in:
dockes
2005-02-09 12:07:30 +00:00
parent 8f376bbe37
commit 152d47306e
19 changed files with 516 additions and 84 deletions
+25 -1
View File
@@ -1,4 +1,4 @@
# @(#$Id: mimeconf,v 1.2 2005-02-04 09:30:44 dockes Exp $ (C) 2004 J.F.Dockes
# @(#$Id: mimeconf,v 1.3 2005-02-09 12:07:30 dockes Exp $ (C) 2004 J.F.Dockes
# Recoll : associations of mime types to processing filters.
# There are different sections for decompression, 'interning' for indexing
@@ -29,6 +29,18 @@ text/plain = internal
text/html = internal
application/pdf = exec rclpdf
application/postscript = exec rclps
application/msword = exec rcldoc
application/vnd.sun.xml.calc = exec rclsoff
application/vnd.sun.xml.calc.template = exec rclsoff
application/vnd.sun.xml.draw = exec rclsoff
application/vnd.sun.xml.draw.template = exec rclsoff
application/vnd.sun.xml.impress = exec rclsoff
application/vnd.sun.xml.impress.template = exec rclsoff
application/vnd.sun.xml.math = exec rclsoff
application/vnd.sun.xml.writer = exec rclsoff
application/vnd.sun.xml.writer.global = exec rclsoff
application/vnd.sun.xml.writer.template = exec rclsoff
##
# External viewers, launched when you double-click a result entry
@@ -37,3 +49,15 @@ text/plain = xemacs %f
text/html = firefox -a firefox -remote "openFile(%u)"
application/pdf = xpdf %f
application/postscript = gv %f
application/msword = openoffice-1.1.3-swriter
application/vnd.sun.xml.calc = openoffice-1.1.3 %f
application/vnd.sun.xml.calc.template = openoffice-1.1.3 %f
application/vnd.sun.xml.draw = openoffice-1.1.3 %f
application/vnd.sun.xml.draw.template = openoffice-1.1.3 %f
application/vnd.sun.xml.impress = openoffice-1.1.3 %f
application/vnd.sun.xml.impress.template = openoffice-1.1.3 %f
application/vnd.sun.xml.math = openoffice-1.1.3 %f
application/vnd.sun.xml.writer = openoffice-1.1.3 %f
application/vnd.sun.xml.writer.global = openoffice-1.1.3 %f
application/vnd.sun.xml.writer.template = openoffice-1.1.3 %f
+21 -1
View File
@@ -1,4 +1,4 @@
# @(#$Id: mimemap,v 1.2 2005-02-04 09:30:44 dockes Exp $ (C) 2004 J.F.Dockes
# @(#$Id: mimemap,v 1.3 2005-02-09 12:07:30 dockes Exp $ (C) 2004 J.F.Dockes
# Recoll: associations of file name extensions to mime types
.txt = text/plain
@@ -20,5 +20,25 @@
.Z = application/x-gzip
.bz2 = application/x-bzip2
.doc = application/msword
.sxc = application/vnd.sun.xml.calc
.stc = application/vnd.sun.xml.calc.template
.sxd = application/vnd.sun.xml.draw
.std = application/vnd.sun.xml.draw.template
.sxi = application/vnd.sun.xml.impress
.sti = application/vnd.sun.xml.impress.template
.sxm = application/vnd.sun.xml.math
.sxw = application/vnd.sun.xml.writer
.sxg = application/vnd.sun.xml.writer.global
.stw = application/vnd.sun.xml.writer.template
.wpd = application/vnd.wordperfect
.rtf = text/rtf
# A list of stuff that we don't want to touch at all
recoll_noindex = .tar.gz .tgz .tar.bz2 .tbz
[FILE]
# This section for future non suffix-based extension (ie detect mail folders)