Optionnally show mime type icons in result list

This commit is contained in:
dockes
2005-11-16 15:07:20 +00:00
parent fb42a135e8
commit 9f52e4ce90
9 changed files with 162 additions and 20 deletions
+21 -1
View File
@@ -1,4 +1,4 @@
# @(#$Id: mimeconf,v 1.7 2005-11-10 08:46:15 dockes Exp $ (C) 2004 J.F.Dockes
# @(#$Id: mimeconf,v 1.8 2005-11-16 15:07:20 dockes Exp $ (C) 2004 J.F.Dockes
# Recoll : associations of mime types to processing filters.
# There are different sections for decompression, 'interning' for indexing
@@ -64,3 +64,23 @@ 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
# Icons to be used in the result list.
[icons]
application/msword = wordprocessing
application/pdf = pdf
application/postscript = postscript
application/vnd.sun.xml.calc = spreadsheet
application/vnd.sun.xml.calc.template = spreadsheet
application/vnd.sun.xml.draw = drawing
application/vnd.sun.xml.draw.template = drawing
application/vnd.sun.xml.impress = presentation
application/vnd.sun.xml.impress.template = presentation
application/vnd.sun.xml.writer = wordprocessing
application/vnd.sun.xml.writer.global = wordprocessing
application/vnd.sun.xml.writer.template = wordprocessing
text/html = html
text/plain = txt
text/x-mail = message
message/rfc822 = message
+9 -2
View File
@@ -1,4 +1,4 @@
# @(#$Id: recoll.conf,v 1.6 2005-11-10 08:47:49 dockes Exp $ (C) 2004 J.F.Dockes
# @(#$Id: recoll.conf,v 1.7 2005-11-16 15:07:20 dockes Exp $ (C) 2004 J.F.Dockes
# Recoll default configuration file. This should be copied to
# ~/.recoll/recoll.conf
@@ -8,7 +8,7 @@ topdirs = ~
# Wildcard expressions for names of files and directories that we should
# ignore:
skippedNames = *~ #* .deps bin CVS Cache caughtspam
skippedNames = *~ #* .* bin CVS Cache caughtspam
# Debug messages
loglevel = 4
@@ -28,6 +28,13 @@ mimemapfile = mimemap
# Name of mime-type to filter type/name map file.
mimeconffile = mimeconf
# Decide if we do show icons in the result list. This looks a bit more
# beaglish, but I'm not quite sure it's useful. If you wish to have them,
# you will have to copy the pngs from the distribution to wherever you want
# to store them (the associations are decided in mimeconf)
showicons = 1
iconsdir = ~/.recoll
# Where to store the database.
dbdir = ~/.recoll/xapiandb