diff --git a/src/filters/rclaptosidman b/src/filters/rclaptosidman index 14e50a5b..661329b7 100755 --- a/src/filters/rclaptosidman +++ b/src/filters/rclaptosidman @@ -1,11 +1,12 @@ #!/bin/sh -# @(#$Id: rclaptosidman,v 1.1 2008-06-09 09:12:05 dockes Exp $ (C) 2004 J.F.Dockes +# @(#$Id: rclaptosidman,v 1.1 2010-12-11 12:40:05 dockes Exp $ (C) 2004 J.F.Dockes # Parts taken from Estraier: #================================================================ # Estraier: a personal full-text search system # Copyright (C) 2003-2004 Mikio Hirabayashi #================================================================ #================================================================ +# rclaptosidman # Strip the menu part from aptosid manual pages to improve search precision #================================================================ @@ -50,17 +51,17 @@ iscmd() checkcmds() { for cmd in $*;do - if iscmd $cmd - then + if iscmd $cmd + then a=1 - else + else senderror HELPERNOTFOUND $cmd fi done } # show help message -if test $# -ne 1 -o "$1" = "--help" +if test $# -ne 1 -o "$1" = "--help" then echo "Convert a $filetype file to HTML text for Recoll indexing." echo "Usage: $progname [infile]" diff --git a/src/qtgui/mtpics/aptosid-book.png b/src/qtgui/mtpics/aptosid-book.png new file mode 100755 index 00000000..7a1a22ea Binary files /dev/null and b/src/qtgui/mtpics/aptosid-book.png differ diff --git a/src/sampleconf/mimeconf b/src/sampleconf/mimeconf index d6655745..490ee319 100644 --- a/src/sampleconf/mimeconf +++ b/src/sampleconf/mimeconf @@ -156,8 +156,8 @@ text/plain = txt text/x-c = source text/x-c++ = source text/x-fictionbook = document +text/x-html-aptosid-man = aptosid-book text/x-html-sidux-man = sidux-book -text/x-html-aptosid-man = aptosid-manual text/x-mail = message text/x-man = document application/x-chm = document @@ -195,8 +195,8 @@ text = \ text/x-c \ text/x-c++ \ text/x-fictionbook \ - text/x-html-sidux-man \ text/x-html-aptosid-man \ + text/x-html-sidux-man \ text/x-man \ text/x-python \ text/x-shellscript diff --git a/src/sampleconf/mimemap b/src/sampleconf/mimemap index 6f1aae0e..0841f82c 100644 --- a/src/sampleconf/mimemap +++ b/src/sampleconf/mimemap @@ -128,14 +128,16 @@ recoll_noindex = .tar.gz .tgz .tar.bz2 .tbz .log.gz .md5 .map \ [~/.purple] .txt = text/x-purple-log -# Special handling of sidux/aptosid manual menu system -[/usr/share/sidux-manual] -.htm = text/x-html-sidux-man -.html = text/x-html-sidux-man +# Special handling of aptosid manual menu system [/usr/share/aptosid-manual] .htm = text/x-html-aptosid-man .html = text/x-html-aptosid-man +# Special handling of sidux manual menu system +[/usr/share/sidux-manual] +.htm = text/x-html-sidux-man +.html = text/x-html-sidux-man + # 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)