From faeb96cb019b1a82068f779c1e4949fdfabb3e7f Mon Sep 17 00:00:00 2001 From: dockes Date: Tue, 6 Feb 2007 18:01:16 +0000 Subject: [PATCH] added config+filter for man pages --- src/sampleconf/mimeconf | 3 ++- src/sampleconf/mimemap | 15 ++++++++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/sampleconf/mimeconf b/src/sampleconf/mimeconf index 9f96b1b2..a4bd6ba7 100644 --- a/src/sampleconf/mimeconf +++ b/src/sampleconf/mimeconf @@ -1,4 +1,4 @@ -# @(#$Id: mimeconf,v 1.24 2007-01-24 11:00:01 dockes Exp $ (C) 2004 J.F.Dockes +# @(#$Id: mimeconf,v 1.25 2007-02-06 18:01:16 dockes Exp $ (C) 2004 J.F.Dockes # Recoll : associations of mime types to processing filters. # There are different sections for decompression, 'interning' for indexing @@ -51,6 +51,7 @@ text/plain = internal text/rtf = exec rclrtf text/x-gaim-log = exec rclgaim text/x-mail = internal +text/x-man = exec rclman ## ############################################# # Icons to be used in the result list if required by gui config diff --git a/src/sampleconf/mimemap b/src/sampleconf/mimemap index 0c7f64eb..abd90830 100644 --- a/src/sampleconf/mimemap +++ b/src/sampleconf/mimemap @@ -1,4 +1,4 @@ -# @(#$Id: mimemap,v 1.20 2007-01-24 11:00:01 dockes Exp $ (C) 2004 J.F.Dockes +# @(#$Id: mimemap,v 1.21 2007-02-06 18:01:16 dockes Exp $ (C) 2004 J.F.Dockes # Recoll: associations of file name extensions to mime types .txt = text/plain @@ -80,3 +80,16 @@ recoll_noindex = .tar.gz .tgz .tar.bz2 .tbz .log.gz .md5 .map \ # Special handling of .txt files inside ~/.gaim directory [~/.gaim] .txt = text/x-gaim-log + +# Manual files. You may want to adjust the location for your system +# We can't use the default text/troff type because this doesn't say +# what macro set to use (groff -man) +[/usr/share/man] +.1 = text/x-man +.2 = text/x-man +.3 = text/x-man +.4 = text/x-man +.5 = text/x-man +.6 = text/x-man +.7 = text/x-man +.8 = text/x-man