*** empty log message ***
This commit is contained in:
parent
b79c14d700
commit
038205ce02
@ -1,24 +1,37 @@
|
|||||||
# Processing for the different mime types. There are different sections for
|
# @(#$Id: mimeconf,v 1.2 2005-02-04 09:30:44 dockes Exp $ (C) 2004 J.F.Dockes
|
||||||
# decompression, 'interning' for indexing and preview, and external viewers
|
|
||||||
|
|
||||||
## These types need a first pass to create a temp file to work with. We use
|
# Recoll : associations of mime types to processing filters.
|
||||||
# a script because uncompress utilities usually work in place, which is not
|
# There are different sections for decompression, 'interning' for indexing
|
||||||
# suitable. The %t parameter will be changed to the name of a temporary
|
# and preview, and external viewers
|
||||||
# directory by recoll. %f is the input file. rcluncomp will output the new
|
|
||||||
# file name on stdout, and you should do the same if you write another
|
##
|
||||||
# script (have a look at rcluncomp then).
|
# Decompression: these types need a first pass to create a temp file to
|
||||||
|
# work with. We use a script because uncompress utilities usually work in
|
||||||
|
# place, which is not suitable.
|
||||||
|
#
|
||||||
|
# The %t parameter will be substituted to the name of a temporary directory
|
||||||
|
# by recoll. This directory is guaranteed empty when calling the filter
|
||||||
|
#
|
||||||
|
# The %f parameter will be substituted with the input file.
|
||||||
|
#
|
||||||
|
# The script (ie: rcluncomp) must output the uncompressed file name on
|
||||||
|
# stdout.
|
||||||
application/x-gzip = uncompress rcluncomp gunzip %f %t
|
application/x-gzip = uncompress rcluncomp gunzip %f %t
|
||||||
application/x-gzip = uncompress rcluncomp gunzip %f %t
|
application/x-gzip = uncompress rcluncomp gunzip %f %t
|
||||||
application/x-bzip2 = uncompress rcluncomp bunzip2 %f %t
|
application/x-bzip2 = uncompress rcluncomp bunzip2 %f %t
|
||||||
|
|
||||||
## Indexing and internal preview
|
##
|
||||||
|
# Filters for indexing and internal preview.
|
||||||
|
# The external (exec) filters output the document in simple html format,
|
||||||
|
# have a look at the scripts.
|
||||||
[index]
|
[index]
|
||||||
text/plain = internal
|
text/plain = internal
|
||||||
text/html = internal
|
text/html = internal
|
||||||
application/pdf = exec rclpdf
|
application/pdf = exec rclpdf
|
||||||
application/postscript = exec rclps
|
application/postscript = exec rclps
|
||||||
|
|
||||||
## External viewers
|
##
|
||||||
|
# External viewers, launched when you double-click a result entry
|
||||||
[view]
|
[view]
|
||||||
text/plain = xemacs %f
|
text/plain = xemacs %f
|
||||||
text/html = firefox -a firefox -remote "openFile(%u)"
|
text/html = firefox -a firefox -remote "openFile(%u)"
|
||||||
|
|||||||
@ -1,4 +1,6 @@
|
|||||||
|
# @(#$Id: mimemap,v 1.2 2005-02-04 09:30:44 dockes Exp $ (C) 2004 J.F.Dockes
|
||||||
|
|
||||||
|
# Recoll: associations of file name extensions to mime types
|
||||||
.txt = text/plain
|
.txt = text/plain
|
||||||
.text = text/plain
|
.text = text/plain
|
||||||
.d = text/plain
|
.d = text/plain
|
||||||
@ -19,3 +21,4 @@
|
|||||||
.bz2 = application/x-bzip2
|
.bz2 = application/x-bzip2
|
||||||
|
|
||||||
[FILE]
|
[FILE]
|
||||||
|
# This section for future non suffix-based extension (ie detect mail folders)
|
||||||
|
|||||||
@ -1,9 +1,8 @@
|
|||||||
|
# @(#$Id: recoll.conf,v 1.2 2005-02-04 09:30:44 dockes Exp $ (C) 2004 J.F.Dockes
|
||||||
|
|
||||||
topdirs = \
|
# Recoll default configuration file: this will index your home directory
|
||||||
~dockes
|
|
||||||
# /y/home/FaqsAndDocs/test/plain
|
|
||||||
# /y/home/FaqsAndDocs/test/html
|
|
||||||
|
|
||||||
|
topdirs = ~
|
||||||
|
|
||||||
mimemapfile = mimemap
|
mimemapfile = mimemap
|
||||||
mimeconffile = mimeconf
|
mimeconffile = mimeconf
|
||||||
@ -12,12 +11,10 @@ dbdir = ~/.recoll/xapiandb
|
|||||||
|
|
||||||
defaultcharset = iso-8859-1
|
defaultcharset = iso-8859-1
|
||||||
defaultlanguage = french
|
defaultlanguage = french
|
||||||
|
|
||||||
guesscharset = 0
|
guesscharset = 0
|
||||||
|
|
||||||
[/y/home/FaqsAndDocs/test/plain]
|
# You could specify different parameters for a subdirectory like this: (no
|
||||||
defaultlanguage = french
|
# tilde substitution there for now, sorry)
|
||||||
|
#[/home/me/englishdocs/plain]
|
||||||
[/y/home/FaqsAndDocs/test/html]
|
#defaultlanguage = english
|
||||||
defaultlanguage = french
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user