# README: Web-based Help from DocBook XML

. |  | | Next

# README: Web-based Help from DocBook XML

### David Cramer

`<dcramer AT motive DOT com>``<david AT thingbag DOT net>`

### Kasun Gajasinghe

`<kasunbg AT gmail DOT com>`

Copyright © 2008-2010 Kasun Gajasinghe, David Cramer

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

- Except as contained in this notice, the names of individuals credited with contribution to this software shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from the individuals in question.

- Any stylesheet derived from this Software that is publicly distributed will be identified with a different name and the version strings in any derived Software will be changed so that no possibility of confusion between the derived package and this Software will exist.

Warranty: THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL DAVID CRAMER, KASUN GAJASINGHE, OR ANY OTHER CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

This package is maintained by Kasun Gajasinghe, `<kasunbg AT gmail DOT com>` and David Cramer, `<david AT thingbag DOT net>`.

This package also includes the following software written and copyrighted by others:

- Files in `template/common/jquery` are copyrighted by JQuery under the MIT License. The file `jquery.cookie.js` Copyright (c) 2006 Klaus Hartl under the MIT license.

- Some files in the `template/content/search` and `indexer` directories were originally part of N. Quaine's htmlsearch DITA plugin. The htmlsearch DITA plugin is available from the files page of the DITA-users yahoogroup. The htmlsearch plugin was released under a BSD-style license. See `indexer/license.txt` for details.

- Stemmers from the Snowball project released under a BSD license.

- Code from the Apache Lucene search engine provides support for tokenizing Chinese, Japanese, and Korean content released under the Apache 2.0 license.

Webhelp for DocBook was developed as a Google Summer of Code project.

August 2010

List of Examples

3.1. Add new language to supportedLanguages array
3.2. initialize correct stemmer based on the `webhelp.indexer.language` specified

|  | Next

- Contents
- Search

- Introduction
- Using the package
  - Generating webhelp output
  - Using and customizing the output
    - Recommended Apache configurations
  - Building the indexer
  - Adding support for other (non-CJKV) languages
- Developer Docs
  - Design
  - Search
    - New Stemmers

Search