Bug 244091

Summary: Bad result page after search in KHelpCenter
Product: [Applications] khelpcenter Reporter: Alexey Shildyakov <ashl1future>
Component: generalAssignee: Documentation Editorial Team <kde-doc-english>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Alexey Shildyakov 2010-07-10 01:16:13 UTC
Version:           unspecified (using KDE 4.4.4) 
OS:                Linux

Create of search index with the following:

Finished successfully.
document of the wrong type, root node != entrydocument of the wrong type, root node != entry(21404) KHC::IndexBuilder::sendProgressSignal: IndexBuilder::sendProgressSignal()
(21404) KHC::IndexBuilder::processCmdQueue: IndexBuilder::processCmdQueue() (21404) KHC::IndexBuilder::quit: IndexBuilder::quit()

Search, for example, "kfind" and as result see page with texts '(None of the search words were found in the top of this document.)' and bad images (4 icons for broken image) in each result:

Content-type: text/html **** apptitle (02/26/10)
 kfind (02/26/10) (None of the search words were found in the top of this document.)
  *** apptitle (01/05/08)
 konqueror (01/05/08) (None of the search words were found in the top of this document.)
  *** apptitle (02/26/10)
 dolphin (02/26/10) (None of the search words were found in the top of this document.)
   ** apptitle (08/20/08)
 khelpcenter/quickstart (08/20/08) (None of the search words were found in the top of this document.)
    * [index.html] (07/10/10)
 [index.html] (07/10/10) (None of the search words were found in the top of this document.)

Reproducible: Didn't try




Depends on bug 209415
htdig 3.2.0_beta6
Comment 1 Alexey Shildyakov 2010-07-10 01:20:01 UTC
I think it maybe due htdig limitations.
Comment 2 Pino Toscano 2016-03-12 23:24:49 UTC
Git commit 163133768d77ae16e36b31d1174d6c60d53cfdce by Pino Toscano.
Committed on 12/03/2016 at 23:01.
Pushed by pino into branch 'master'.

Remove the ht://dig support

ht://dig is basically unmantained for the past decade, and its
integration in khelpcenter has always been a sort of hack (execute
a CGI, and print its resulting HTML text).

Since Xapian is used as better solution, all of the htp://dig
supporting code can be removed completely.
Related: bug 122437, bug 125276, bug 152671, bug 158633, bug 209415, bug 255384, bug 256397, bug 277464, bug 103266, bug 112958

M  +0    -2    CMakeLists.txt
D  +0    -14   README.htdig
M  +0    -14   doc/khelpcenter/index.docbook
M  +0    -9    docmetainfo.cpp
M  +0    -3    docmetainfo.h
D  +0    -61   htmlsearch.cpp
D  +0    -51   htmlsearch.h
D  +0    -47   htmlsearch/CMakeLists.txt
D  +0    -5    htmlsearch/Messages.sh
D  +0    -23   htmlsearch/checked.xpm
D  +0    -470  htmlsearch/htmlsearch.cpp
D  +0    -254  htmlsearch/htmlsearch.desktop
D  +0    -62   htmlsearch/htmlsearch.h
D  +0    -25   htmlsearch/index.cpp
D  +0    -371  htmlsearch/kcmhtmlsearch.cpp
D  +0    -84   htmlsearch/kcmhtmlsearch.h
D  +0    -52   htmlsearch/klangcombo.cpp
D  +0    -47   htmlsearch/klangcombo.h
D  +0    -246  htmlsearch/ktagcombobox.cpp
D  +0    -92   htmlsearch/ktagcombobox.h
D  +0    -6    htmlsearch/long.html
D  +0    -4    htmlsearch/meinproc_wrapper
D  +0    -21   htmlsearch/nomatch.html
D  +0    -89   htmlsearch/progressdialog.cpp
D  +0    -32   htmlsearch/progressdialog.h
D  +0    -1    htmlsearch/short.html
D  +-    --    htmlsearch/star.png
D  +-    --    htmlsearch/star_blank.png
D  +0    -19   htmlsearch/syntax.html
D  +0    -22   htmlsearch/unchecked.xpm
D  +0    -16   htmlsearch/wrapper.html
D  +0    -156  htmlsearchconfig.cpp
D  +0    -58   htmlsearchconfig.h
M  +0    -1    kcmhelpcenter.cpp
M  +0    -2    kcmhelpcenter.h
M  +2    -14   searchhandlers/CMakeLists.txt
D  +0    -8    searchhandlers/docbook.desktop.cmake
D  +0    -8    searchhandlers/htdig.desktop.cmake
D  +0    -2    searchhandlers/htdig_long.html
D  +0    -222  searchhandlers/khc_docbookdig.pl.cmake
D  +0    -148  searchhandlers/khc_htdig.pl.cmake
D  +0    -117  searchhandlers/khc_htsearch.pl
M  +1    -2    tests/CMakeLists.txt

http://commits.kde.org/khelpcenter/163133768d77ae16e36b31d1174d6c60d53cfdce