From 999a405cd9d4e7474af59a374a08a8135a5cedef Mon Sep 17 00:00:00 2001 From: dockes Date: Thu, 29 Oct 2009 13:44:23 +0000 Subject: [PATCH] chm+comments --- src/sampleconf/mimeconf | 3 +++ src/sampleconf/mimemap | 9 ++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/sampleconf/mimeconf b/src/sampleconf/mimeconf index 2d3ed371..6c8fad89 100644 --- a/src/sampleconf/mimeconf +++ b/src/sampleconf/mimeconf @@ -74,6 +74,7 @@ application/x-perl = exec rcltext application/x-scribus = exec rclscribus application/x-shellscript = exec rcltext application/x-tex = exec rcltex +application/x-chm = execm rclchm application/zip = execm rclzip audio/mpeg = exec rclid3 image/gif = execm rclimg @@ -154,6 +155,7 @@ text/x-c++ = source text/x-html-sidux-man = sidux-book text/x-mail = message text/x-man = document +application/x-chm = document text/x-purple-log = pidgin text/x-python = text-x-python @@ -171,6 +173,7 @@ text = \ application/vnd.wordperfect \ application/x-abiword \ application/x-awk \ + application/x-chm \ application/x-dvi \ application/x-kword \ application/x-lyx \ diff --git a/src/sampleconf/mimemap b/src/sampleconf/mimemap index b1970ef6..de4c3769 100644 --- a/src/sampleconf/mimemap +++ b/src/sampleconf/mimemap @@ -48,6 +48,7 @@ .doc = application/msword .ppt = application/vnd.ms-powerpoint .xls = application/vnd.ms-excel +.chm = application/x-chm # OpenOffice / opendocument. We handle opendocument as old openoffice files # for now @@ -106,10 +107,12 @@ .tiff = image/tiff .tif = image/tiff -# A list of stuff that we don't want to touch at all (for now). Having the -# suffixes listed in there speeds things up a bit by avoiding +# A list of suffixes (name endings) that we don't want to touch at all. +# Having these explicitely listed speeds things up a bit by avoiding # unneeded decompression or 'file' calls. File names still get indexed if -# indexallfilenames is set +# indexallfilenames is set (so this is different from skippedNames). It's a +# bit unconsistent to have it listed among the suffix translations, but no +# problem in practice. recoll_noindex = .tar.gz .tgz .tar.bz2 .tbz .log.gz .md5 .map \ .o .lib .dll .a \ .dat .bak .rdf .log .db .msf .pid \