Hello, in or webhelp we have been using Javascript Offline Search library for some time (http://sourceforge.net/projects/jsofflinesearch/ <http://sourceforge.net/projects/jsofflinesearch/> ) with success. You can have a look here how it works: http://www.aipsafe.cz/files/tutorial/index.html <http://www.aipsafe.cz/files/tutorial/index.html> . It is a java library which indexes set of html files and builds a javascript index. It has some nice features - you can use boolean operators or search for phrase. More importantly it also implementes basic stemming. The only issue is that it does not support other characters then basic ascii, so we had to alter the code to be able to index character with diacritics and ouput index files in UTF-8. No packages have been released yet, but you can donwload it from svn and compile it yourself. It is then easy to automate the indexing process for example using ant. The only thing you have to do is to generate a xml file with list of all resulting html files to index which is then passed to the java library. This can be done in your customization layer during docbook source files processing. If you are interested I can prepare a package (basicaly xslt template for generating files to index) to share with the DocBook community and some thorough usage info. Greetings, Pavel -----Original Message----- From: BG [mailto:[email protected]] Sent: Friday, December 12, 2008 3:49 PM To: [email protected] Subject: [docbook-apps] search engine with docbook Hi, I realize an online help (html) with docbook and I would like to integrate a search engine. Are there solutions to integrate a search engine with docbook?
Moreover I am a little amazed because having a search engine in an online help is very common, nevertheless I don't find many solutions on the subject. Thank you, BG --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
