khelpcenter porting status

Ralf Habacker ralf.habacker at
Fri Feb 29 09:30:49 GMT 2008

Matt Williams schrieb:
> On Thursday 28 February 2008 15:53:19 Jos van den Oever wrote:
>> 2008/2/28, Ralf Habacker <ralf.habacker at>:
>>>  i like to inform that khelpcenter is now able to display KDE
>>>  documentations on windows systems (tested with Windows xp). There were
>>>  some issues in the kio_help slave which prevents displaying of pages and
>>>  images.
>>>  Searching through the whole documentation is disabled and *not* ported
>>>  because of the following reasons:
>>>  - the unix version of khelpcenter uses htdig as external tool for
>>>  indexing and searching which isn't ported in the kde context yet.
>>>  - For KDE 4.x strigi is used as a "buildin" desktop search engine and if
>>>  it would be able to index and search KDE docs too, htdig could be
>>>  dropped to avoid having multiple search engines in KDE 4. The strigi
>>>  homepage lists
>>>  some oasis format, so indexing xml seem to be possible, but html and
>>>  docbook are not explicit listed, so I cannot say if this would be
>>> possible.
>> We can make a dedicated analyzer for the KDE docbook format. This is
>> rather simple. To do this, one should implement a saxstreamanalyzer
>> and capture the appropriate fields. Can you paste an excerpt along
>> with a description of what parts you'd like to extract?
>> Cheers,
>> Jos
> Before this goes too far, is it not worth considering porting khelpcenter to 
> use the new QHelp API? It will immediately give us searching capabilities 
> within khelpcenter. 
This is already implemented, khelpcenter has an api to run any index and 
search engine. Currently there are perl script which wraps a call to htdig

*[Desktop Entry]

SearchCommand=${LIBEXEC_INSTALL_DIR}/ --indexdir=%d 
--config=%i --words=%w --method=%o --maxnum=%m --lang=%l
IndexCommand=${LIBEXEC_INSTALL_DIR}/ --indexdir=%d 
--docpath=%p --identifier=%i --lang=%l

[Desktop Entry]

SearchCommand=${LIBEXEC_INSTALL_DIR}/ --docbook 
--indexdir=%d --config=%i --words=%w --method=%o --maxnum=%m --lang=en
IndexCommand=${LIBEXEC_INSTALL_DIR}/ --indexdir=%d 
--docpath=%p --identifier=%i



More information about the kde-core-devel mailing list