*** empty log message ***
This commit is contained in:
parent
69f56860e8
commit
b79c14d700
26
src/sampleconf/mimeconf
Normal file
26
src/sampleconf/mimeconf
Normal file
@ -0,0 +1,26 @@
|
||||
# Processing for the different mime types. There are different sections for
|
||||
# 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
|
||||
# a script because uncompress utilities usually work in place, which is not
|
||||
# suitable. The %t parameter will be changed to the name of a temporary
|
||||
# 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).
|
||||
application/x-gzip = uncompress rcluncomp gunzip %f %t
|
||||
application/x-gzip = uncompress rcluncomp gunzip %f %t
|
||||
application/x-bzip2 = uncompress rcluncomp bunzip2 %f %t
|
||||
|
||||
## Indexing and internal preview
|
||||
[index]
|
||||
text/plain = internal
|
||||
text/html = internal
|
||||
application/pdf = exec rclpdf
|
||||
application/postscript = exec rclps
|
||||
|
||||
## External viewers
|
||||
[view]
|
||||
text/plain = xemacs %f
|
||||
text/html = firefox -a firefox -remote "openFile(%u)"
|
||||
application/pdf = xpdf %f
|
||||
application/postscript = gv %f
|
||||
21
src/sampleconf/mimemap
Normal file
21
src/sampleconf/mimemap
Normal file
@ -0,0 +1,21 @@
|
||||
|
||||
.txt = text/plain
|
||||
.text = text/plain
|
||||
.d = text/plain
|
||||
|
||||
.html = text/html
|
||||
.htm = text/html
|
||||
.shtml = text/html
|
||||
.php = text/html
|
||||
|
||||
.pdf = application/pdf
|
||||
|
||||
.ps = application/postscript
|
||||
.eps = application/postscript
|
||||
.ai = application/postscript
|
||||
|
||||
.gz = application/x-gzip
|
||||
.Z = application/x-gzip
|
||||
.bz2 = application/x-bzip2
|
||||
|
||||
[FILE]
|
||||
23
src/sampleconf/recoll.conf
Normal file
23
src/sampleconf/recoll.conf
Normal file
@ -0,0 +1,23 @@
|
||||
|
||||
topdirs = \
|
||||
~dockes
|
||||
# /y/home/FaqsAndDocs/test/plain
|
||||
# /y/home/FaqsAndDocs/test/html
|
||||
|
||||
|
||||
mimemapfile = mimemap
|
||||
mimeconffile = mimeconf
|
||||
|
||||
dbdir = ~/.recoll/xapiandb
|
||||
|
||||
defaultcharset = iso-8859-1
|
||||
defaultlanguage = french
|
||||
|
||||
guesscharset = 0
|
||||
|
||||
[/y/home/FaqsAndDocs/test/plain]
|
||||
defaultlanguage = french
|
||||
|
||||
[/y/home/FaqsAndDocs/test/html]
|
||||
defaultlanguage = french
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user