diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2013-03-17 20:07:05 +0000 |
---|---|---|
committer | <> | 2015-07-07 10:18:30 +0000 |
commit | 802da9dd5d4bc18f46a916eedc0c5c1980a15e59 (patch) | |
tree | f78a8637465b7a4c9624fef03d27eb7aeaa779d4 /webhelp/docs/content | |
parent | 18f63104106b81bf37ca1af774d7be38051e5444 (diff) | |
download | docbook-xsl-master.tar.gz |
Imported from /home/lorry/working-area/delta_docbook-xsl/docbook-xsl-1.78.1.tar.bz2.HEADdocbook-xsl-1.78.1master
Diffstat (limited to 'webhelp/docs/content')
26 files changed, 0 insertions, 4284 deletions
diff --git a/webhelp/docs/content/ch01.html b/webhelp/docs/content/ch01.html deleted file mode 100644 index 3ab56e7..0000000 --- a/webhelp/docs/content/ch01.html +++ /dev/null @@ -1,109 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> -<meta http-equiv="X-UA-Compatible" content="IE=7"></meta> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> -<title>Introduction</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><meta name="description" content="Overview of the package."></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="prev" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="next" href="ch02.html" title="Using the package"></link><script type="text/javascript"> - //The id for tree cookie - var treeCookieId = "treeview-1055"; - var language = "en"; - var w = new Object(); - //Localization - txt_filesfound = 'Results'; - txt_enter_at_least_1_char = "You must enter at least one character."; - txt_browser_not_supported = "JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site."; - txt_please_wait = "Please wait. Search in progress..."; - txt_results_for = "Results for: "; - </script><link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"></link><link rel="stylesheet" type="text/css" href="../common/css/positioning.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/treeview/jquery.treeview.css"></link><style type="text/css"> -noscript{ - font-weight:bold; -} -input { - margin-bottom: 5px; - margin-top: 2px; -} -.folder { - display: block; - height: 22px; - padding-left: 20px; - background: transparent url(../common/jquery/treeview/images/folder.gif) 0 0px no-repeat; -} -span.contentsTab { - padding-left: 20px; - background: url(../common/images/toc-icon.png) no-repeat 0 center; -} -span.searchTab { - padding-left: 20px; - background: url(../common/images/search-icon.png) no-repeat 0 center; -} - -/* Overide jquery treeview's defaults for ul. */ -.treeview ul { - background-color: transparent; - margin-top: 4px; -} -#webhelp-currentid { - background-color: #D8D8D8 !important; -} -.treeview .hover { color: black; } -.filetree li span a { text-decoration: none; font-size: 12px; color: #517291; } - -/* Override jquery-ui's default css customizations. These are supposed to take precedence over those.*/ -.ui-widget-content { - border: 0px; - background: none; - color: none; -} -.ui-widget-header { - color: #e9e8e9; - border-left: 1px solid #e5e5e5; - border-right: 1px solid #e5e5e5; - border-bottom: 1px solid #bbc4c5; - border-top: 4px solid #e5e5e5; - border: medium none; - background: #F4F4F4; /* old browsers */ - background: -moz-linear-gradient(top, #F4F4F4 0%, #E6E4E5 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F4F4F4), color-stop(100%,#E6E4E5)); /* webkit */ - font-weight: none; -} -.ui-widget-header a { color: none; } -.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { -border: none; background: none; font-weight: none; color: none; } -.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: black; text-decoration: none; } -.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: none; background: none; font-weight: none; color: none; } - -.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: none; background: none; font-weight: none; color: none; } -.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { - color: black; text-decoration: none; - background: #C6C6C6; /* old browsers */ - background: -moz-linear-gradient(top, #C6C6C6 0%, #D8D8D8 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#C6C6C6), color-stop(100%,#D8D8D8)); /* webkit */ - -webkit-border-radius:15px; -moz-border-radius:10px; - border: 1px solid #f1f1f1; -} -.ui-corner-all { border-radius: 0 0 0 0; } - -.ui-tabs { padding: .2em;} -.ui-tabs .ui-tabs-nav li { top: 0px; margin: -2px 0 1px; text-transform: uppercase; font-size: 10.5px;} -.ui-tabs .ui-tabs-nav li a { padding: .25em 2em .25em 1em; margin: .5em; text-shadow: 0 1px 0 rgba(255,255,255,.5); } - </style><script type="text/javascript" src="../common/browserDetect.js"></script><script type="text/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="text/javascript" src="search/l10n.js"></script><script type="text/javascript" src="search/htmlFileInfoList.js"></script><script type="text/javascript" src="search/nwSearchFnt.js"></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"></script><script type="text/javascript" src="search/index-2.js"></script><script type="text/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Introduction</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar - </a></td><td><a accesskey="p" class="navLinkPrevious" tabindex="5" href="index.html">Prev</a> - | - <a accesskey="n" class="navLinkNext" tabindex="5" href="ch02.html">Next</a></td></tr></table></div></div><div id="content"><noscript>JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site.</noscript><div class="chapter"><div xmlns="" class="titlepage"><div><div><h1 xmlns="http://www.w3.org/1999/xhtml" class="title"><a id="id375622"></a>Introduction</h1></div></div></div> -<p>A common requirement for technical publications groups is to produce a Web-based help - format that includes a table of contents pane, a search feature, and an index similar to what - you get from the Microsoft HTML Help (.chm) format or Eclipse help. If the content is help for - a Web application that is not exposed to the Internet or requires that the user be logged in, - then it is impossible to use services like Google to add search. <a id="id375647" class="indexterm"></a> - </p><div class="itemizedlist"><p class="title"><strong>Features</strong></p><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>Sophisticated CSS-based page layout</p></li><li class="listitem"><p>Client-side search.<a id="id375673" class="indexterm"></a></p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "><li class="listitem"><p>Provides full content search of the documentation. Shows the search results with - links to chunked pages, and a small description.</p></li><li class="listitem"><p>Search results scoring/rating - The results are weighted according to how many - times the words in search query appears in it, is it bold or not, is in index terms - etc. The score out of 5 is shown by small colored boxes after each - search-result.</p></li><li class="listitem"><p>Search results can include brief descriptions of the target.<a id="id375711" class="indexterm"></a></p></li><li class="listitem"><p>Stemming support for English, French, and German. Stemming support can be added - for other languages by implementing a stemmer.<a id="id375732" class="indexterm"></a></p></li><li class="listitem"><p>Support for Chinese, Japanese, and Korean languages using code from the Lucene search - engine.</p></li><li class="listitem"><p>Search highlighting shows where the searched term appears in the results. - <a id="id375759" class="indexterm"></a></p></li></ul></div></li><li class="listitem"><p>Table of contents (TOC) pane with collapsible toc tree.</p></li><li class="listitem"><p>Auto-synchronization of content pane and TOC.</p></li><li class="listitem"><p>Nicely placed small forward, backward, top links</p></li><li class="listitem"><p>TOC and search pane implemented without the use of a frameset.</p></li><li class="listitem"><p>An Ant script to generate output. You can use this - build file by importing it into your own or use it as a - model for integrating this output format into your own - build system. Alternatively, you can use this Ant script - as a template for creating your own build script or you - can use the <a class="ulink" href="http://docbkx-tools.sourceforge.net/docbkx-samples/manual.html" target="_top">Docbkx Maven plugin</a>.</p></li></ul></div></div><script type="text/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="index.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ch02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li id="webhelp-currentid"><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html> diff --git a/webhelp/docs/content/ch02.html b/webhelp/docs/content/ch02.html deleted file mode 100644 index 433184e..0000000 --- a/webhelp/docs/content/ch02.html +++ /dev/null @@ -1,93 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> -<meta http-equiv="X-UA-Compatible" content="IE=7"></meta> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> -<title>Using the package</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="prev" href="ch01.html" title="Introduction"></link><link rel="next" href="ch02s01.html" title="Generating webhelp output"></link><script type="text/javascript"> - //The id for tree cookie - var treeCookieId = "treeview-1055"; - var language = "en"; - var w = new Object(); - //Localization - txt_filesfound = 'Results'; - txt_enter_at_least_1_char = "You must enter at least one character."; - txt_browser_not_supported = "JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site."; - txt_please_wait = "Please wait. Search in progress..."; - txt_results_for = "Results for: "; - </script><link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"></link><link rel="stylesheet" type="text/css" href="../common/css/positioning.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/treeview/jquery.treeview.css"></link><style type="text/css"> -noscript{ - font-weight:bold; -} -input { - margin-bottom: 5px; - margin-top: 2px; -} -.folder { - display: block; - height: 22px; - padding-left: 20px; - background: transparent url(../common/jquery/treeview/images/folder.gif) 0 0px no-repeat; -} -span.contentsTab { - padding-left: 20px; - background: url(../common/images/toc-icon.png) no-repeat 0 center; -} -span.searchTab { - padding-left: 20px; - background: url(../common/images/search-icon.png) no-repeat 0 center; -} - -/* Overide jquery treeview's defaults for ul. */ -.treeview ul { - background-color: transparent; - margin-top: 4px; -} -#webhelp-currentid { - background-color: #D8D8D8 !important; -} -.treeview .hover { color: black; } -.filetree li span a { text-decoration: none; font-size: 12px; color: #517291; } - -/* Override jquery-ui's default css customizations. These are supposed to take precedence over those.*/ -.ui-widget-content { - border: 0px; - background: none; - color: none; -} -.ui-widget-header { - color: #e9e8e9; - border-left: 1px solid #e5e5e5; - border-right: 1px solid #e5e5e5; - border-bottom: 1px solid #bbc4c5; - border-top: 4px solid #e5e5e5; - border: medium none; - background: #F4F4F4; /* old browsers */ - background: -moz-linear-gradient(top, #F4F4F4 0%, #E6E4E5 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F4F4F4), color-stop(100%,#E6E4E5)); /* webkit */ - font-weight: none; -} -.ui-widget-header a { color: none; } -.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { -border: none; background: none; font-weight: none; color: none; } -.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: black; text-decoration: none; } -.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: none; background: none; font-weight: none; color: none; } - -.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: none; background: none; font-weight: none; color: none; } -.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { - color: black; text-decoration: none; - background: #C6C6C6; /* old browsers */ - background: -moz-linear-gradient(top, #C6C6C6 0%, #D8D8D8 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#C6C6C6), color-stop(100%,#D8D8D8)); /* webkit */ - -webkit-border-radius:15px; -moz-border-radius:10px; - border: 1px solid #f1f1f1; -} -.ui-corner-all { border-radius: 0 0 0 0; } - -.ui-tabs { padding: .2em;} -.ui-tabs .ui-tabs-nav li { top: 0px; margin: -2px 0 1px; text-transform: uppercase; font-size: 10.5px;} -.ui-tabs .ui-tabs-nav li a { padding: .25em 2em .25em 1em; margin: .5em; text-shadow: 0 1px 0 rgba(255,255,255,.5); } - </style><script type="text/javascript" src="../common/browserDetect.js"></script><script type="text/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="text/javascript" src="search/l10n.js"></script><script type="text/javascript" src="search/htmlFileInfoList.js"></script><script type="text/javascript" src="search/nwSearchFnt.js"></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"></script><script type="text/javascript" src="search/index-2.js"></script><script type="text/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Using the package</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar - </a></td><td><a accesskey="p" class="navLinkPrevious" tabindex="5" href="ch01.html">Prev</a> - | - <a accesskey="n" class="navLinkNext" tabindex="5" href="ch02s01.html">Next</a></td></tr></table></div></div><div id="content"><noscript>JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site.</noscript><div class="chapter"><div xmlns="" class="titlepage"><div><div><h1 xmlns="http://www.w3.org/1999/xhtml" class="title"><a id="id375821"></a>Using the package</h1></div></div></div> -<div class="toc"><p><strong>Table of Contents</strong></p><dl><dt><span class="section"><a href="ch02s01.html">Generating webhelp output</a></span></dt><dt><span class="section"><a href="ch02s02.html">Using and customizing the output</a></span></dt><dd><dl><dt><span class="section"><a href="ch02s02s01.html">Recommended Apache configurations</a></span></dt></dl></dd><dt><span class="section"><a href="ch02s03.html">Search indexing</a></span></dt><dt><span class="section"><a href="ch02s04.html">Adding support for other (non-CJKV) languages</a></span></dt><dt><span class="section"><a href="ch02s05.html">Adding images</a></span></dt></dl></div><p class="summary">The following sections describe how to - install and use the package on Windows. </p></div><script type="text/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch01.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ch02s01.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li id="webhelp-currentid"><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html> diff --git a/webhelp/docs/content/ch02s01.html b/webhelp/docs/content/ch02s01.html deleted file mode 100644 index 281937d..0000000 --- a/webhelp/docs/content/ch02s01.html +++ /dev/null @@ -1,199 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> -<meta http-equiv="X-UA-Compatible" content="IE=7"></meta> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> -<title>Generating webhelp output</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><meta name="description" content="Installation instructions"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="ch02.html" title="Using the package"></link><link rel="prev" href="ch02.html" title="Using the package"></link><link rel="next" href="ch02s02.html" title="Using and customizing the output"></link><script type="text/javascript"> - //The id for tree cookie - var treeCookieId = "treeview-1055"; - var language = "en"; - var w = new Object(); - //Localization - txt_filesfound = 'Results'; - txt_enter_at_least_1_char = "You must enter at least one character."; - txt_browser_not_supported = "JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site."; - txt_please_wait = "Please wait. Search in progress..."; - txt_results_for = "Results for: "; - </script><link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"></link><link rel="stylesheet" type="text/css" href="../common/css/positioning.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/treeview/jquery.treeview.css"></link><style type="text/css"> -noscript{ - font-weight:bold; -} -input { - margin-bottom: 5px; - margin-top: 2px; -} -.folder { - display: block; - height: 22px; - padding-left: 20px; - background: transparent url(../common/jquery/treeview/images/folder.gif) 0 0px no-repeat; -} -span.contentsTab { - padding-left: 20px; - background: url(../common/images/toc-icon.png) no-repeat 0 center; -} -span.searchTab { - padding-left: 20px; - background: url(../common/images/search-icon.png) no-repeat 0 center; -} - -/* Overide jquery treeview's defaults for ul. */ -.treeview ul { - background-color: transparent; - margin-top: 4px; -} -#webhelp-currentid { - background-color: #D8D8D8 !important; -} -.treeview .hover { color: black; } -.filetree li span a { text-decoration: none; font-size: 12px; color: #517291; } - -/* Override jquery-ui's default css customizations. These are supposed to take precedence over those.*/ -.ui-widget-content { - border: 0px; - background: none; - color: none; -} -.ui-widget-header { - color: #e9e8e9; - border-left: 1px solid #e5e5e5; - border-right: 1px solid #e5e5e5; - border-bottom: 1px solid #bbc4c5; - border-top: 4px solid #e5e5e5; - border: medium none; - background: #F4F4F4; /* old browsers */ - background: -moz-linear-gradient(top, #F4F4F4 0%, #E6E4E5 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F4F4F4), color-stop(100%,#E6E4E5)); /* webkit */ - font-weight: none; -} -.ui-widget-header a { color: none; } -.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { -border: none; background: none; font-weight: none; color: none; } -.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: black; text-decoration: none; } -.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: none; background: none; font-weight: none; color: none; } - -.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: none; background: none; font-weight: none; color: none; } -.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { - color: black; text-decoration: none; - background: #C6C6C6; /* old browsers */ - background: -moz-linear-gradient(top, #C6C6C6 0%, #D8D8D8 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#C6C6C6), color-stop(100%,#D8D8D8)); /* webkit */ - -webkit-border-radius:15px; -moz-border-radius:10px; - border: 1px solid #f1f1f1; -} -.ui-corner-all { border-radius: 0 0 0 0; } - -.ui-tabs { padding: .2em;} -.ui-tabs .ui-tabs-nav li { top: 0px; margin: -2px 0 1px; text-transform: uppercase; font-size: 10.5px;} -.ui-tabs .ui-tabs-nav li a { padding: .25em 2em .25em 1em; margin: .5em; text-shadow: 0 1px 0 rgba(255,255,255,.5); } - </style><script type="text/javascript" src="../common/browserDetect.js"></script><script type="text/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="text/javascript" src="search/l10n.js"></script><script type="text/javascript" src="search/htmlFileInfoList.js"></script><script type="text/javascript" src="search/nwSearchFnt.js"></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"></script><script type="text/javascript" src="search/index-2.js"></script><script type="text/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Using the package</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar - </a></td><td><a accesskey="p" class="navLinkPrevious" tabindex="5" href="ch02.html">Prev</a> - | - <a accesskey="u" class="navLinkUp" tabindex="5" href="ch02.html">Up</a> - | - <a accesskey="n" class="navLinkNext" tabindex="5" href="ch02s02.html">Next</a></td></tr></table></div></div><div id="content"><noscript>JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site.</noscript><div class="section"><div xmlns="" class="titlepage"><div><div><h2 xmlns="http://www.w3.org/1999/xhtml" class="title" style="clear: both"><a id="id375833"></a>Generating webhelp output</h2></div></div></div> -<div class="procedure"><a id="id375868"></a><p class="title"><strong>Procedure 1. To install the package on Windows</strong></p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>The examples in this procedure assume a Windows installation, but the process is the - same in other environments, <span class="foreignphrase"><em class="foreignphrase">mutatis mutandis</em></span>.</p><p>In addition to using the ant - <code class="filename">build.xml</code> provided, you can also - use the <a class="ulink" href="http://docbkx-tools.sourceforge.net/docbkx-samples/manual.html" target="_top">Docbkx Maven plugin</a> to generate - webhelp.</p></div><ol class="procedure" type="1"><li class="step"><p>If necessary, install <a class="ulink" href="http://www.java.com/en/download/manual.jsp" target="_top">Java - 1.6</a> or higher.</p><ol type="a" class="substeps"><li class="step"><p>Confirm that Java is installed and in your <code class="envar">PATH</code> by typing the - following at a command prompt: </p><pre class="programlisting">java -version</pre><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>To build the indexer, you must have the JDK.</p></div></li></ol></li><li class="step"><p>If necessary, install <a class="ulink" href="http://ant.apache.org/bindownload.cgi" target="_top">Apache - Ant</a> 1.8.0 or higher. See <a class="ulink" href="http://ant.apache.org/manual/install.html" target="_top">Ant installation instructions</a>.</p><ol type="a" class="substeps"><li class="step"><p>Unzip the Ant binary distribution to a convenient location on your system. For - example: <code class="filename">c:\Program Files</code>.</p></li><li class="step"><p>Set the environment variable <code class="envar">ANT_HOME</code> to the top-level Ant - directory. For example: <code class="filename">c:\Program Files\apache-ant-1.8.0</code>. </p><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p>See <a class="ulink" href="http://support.microsoft.com/kb/310519" target="_top">How To Manage - Environment Variables in Windows XP</a> for information on setting - environment variables.</p></div></li><li class="step"><p>Add the Ant <code class="filename">bin</code> directory to your <code class="envar">PATH</code>. For - example: <code class="filename">c:\Program Files\apache-ant-1.8.0\bin</code></p></li><li class="step"><p>Confirm that Ant is installed by typing the following at a command prompt: - </p><pre class="programlisting">ant -version</pre><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>If you see a message about the file <code class="filename">tools.jar</code> being - missing, you can safely ignore it.</p></div></li></ol></li><li class="step"><p>Download <a class="ulink" href="http://prdownloads.sourceforge.net/saxon/saxon6-5-5.zip" target="_top">Saxon - 6.5.x</a> and unzip the distribution to a convenient location on your file system. - You will use the path to <code class="filename">saxon.jar</code> in <a class="xref" href="ch02s01.html#edit-build-properties" title="Step 4">Step 4</a> below.</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>The <code class="filename">build.xml</code> has only been tested with Saxon 6.5, though - it could be adapted to work with other XSLT processors. However, when you generate - output, the Saxon jar must <span class="bold"><strong>not</strong></span> be in your - <code class="envar">CLASSPATH</code>.</p></div></li><li class="step"><a id="edit-build-properties"></a><p>In a text editor, edit the - <code class="filename">build.properties</code> file in the - webhelp directory and make the changes indicated by the comments.</p><div class="important" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Important</h3><p>You must set appropriate values for - <code class="code">xslt-processor-classpath</code>, - <code class="code">xercesImpl.jar</code>, and - <code class="code">xml-apis.jar</code>.</p></div><p>See the DocBook <a class="ulink" href="../../../doc/html/webhelp.html" target="_top">reference - documentation</a> for detailed information about the - available webhelp and other parameters. Note that not all - DocBook parameters are passed in to the xsls by the - <code class="filename">build.xml</code> by default. You may need - to modify the <code class="filename">build.xml</code> to pass in - some DocBook - parameters.</p><pre class="programlisting"> -# The path (relative to the build.xml file) to your input document. -# To use your own input document, create a build.xml file of your own -# and import this build.xml. -input-xml=docsrc/readme.xml - -# The directory in which to put the output files. -# This directory is created if it does not exist. -output-dir=docs - -# If you are using a customization layer that imports webhelp.xsl, use -# this property to point to it. -stylesheet-path=${ant.file.dir}/xsl/webhelp.xsl - -# If your document has image directories that need to be copied -# to the output directory, you can list patterns here. -# See the Ant documentation for fileset for documentation -# on patterns. -#input-images-dirs=images/**,figures/**,graphics/** - -# By default, the ant script assumes your images are stored -# in the same directory as the input-xml. If you store your -# image directories in another directory, specify it here. -# and uncomment this line. -#input-images-basedir=/path/to/image/location - -# Modify the follosing so that they point to your local -# copy of the jars indicated: -# * Saxon 6.5 jar -# * Xerces 2: xercesImpl.jar -# * xml-commons: xml-apis.jar -xslt-processor-classpath=/usr/share/java/saxon-6.5.5.jar -xercesImpl.jar=/usr/share/java/xercesImpl.jar -xml-apis.jar=/usr/share/java/xml-apis.jar - -# For non-ns version only, this validates the document -# against a dtd. -validate-against-dtd=true - -# The extension for files to be indexed (html/htm/xhtml etc.) -html.extension=html - -# Set this to false if you don't need a search tab. -webhelp.include.search.tab=true - -# indexer-language is used to tell the search indexer which language -# the docbook is written. This will be used to identify the correct -# stemmer, and punctuations that differs from language to language. -# see the documentation for details. en=English, fr=French, de=German, -# zh=Chinese, ja=Japanese etc. -webhelp.indexer.language=en - -# Enables/Disables stemming -# Stemming allows better querying for the search -enable.stemming=true - -# Set admon.graphics to 1 to user graphics for note, tip, etc. -admon.graphics=0 -suppress.footer.navigation=0</pre></li><li class="step"><p>Test the package by running the command <code class="code">ant webhelp - -Doutput-dir=test-ouput</code> at the command line in the webhelp directory. It should - generate a copy of this documentation in the <code class="filename">doc</code> - directory. Type <code class="code">start test-output\index.html</code> to open the output in a - browser. Once you have confirmed that the process worked, you can delete the <code class="filename">test-output</code> directory. </p><div class="important" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Important</h3><p>The Saxon 6.5 jar should <span class="emphasis"><em>not</em></span> be in your - <code class="envar">CLASSPATH</code> when you generate the webhelp output. If you have any - problems, try running ant with an empty <code class="envar">CLASSPATH</code>.</p></div></li><li class="step"><p>To process your own document, simply refer to this package from another - <code class="filename">build.xml</code> in arbitrary location on your system:</p><ol type="a" class="substeps"><li class="step"><p>Create a new <code class="filename">build.xml</code> file that defines the name of your - source file, the desired output directory, and imports the - <code class="filename">build.xml</code> from this package. For example: - </p><pre class="programlisting"><project> - <property name="input-xml" value="<em class="replaceable"><code>path-to/yourfile.xml</code></em>"/> - <property name="input-images-dirs" value="<em class="replaceable"><code>images/** figures/** graphics/**</code></em>"/> - <property name="output-dir" value="<em class="replaceable"><code>path-to/desired-output-dir</code></em>"/> - <import file="<em class="replaceable"><code>path-to/docbook-webhelp/</code></em>build.xml"/> -</project></pre></li><li class="step"><p>From the directory containing your newly created <code class="filename">build.xml</code> - file, type <code class="code">ant webhelp</code> to build your document.</p></li></ol></li></ol></div></div><script type="text/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch02s02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li id="webhelp-currentid"><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html> diff --git a/webhelp/docs/content/ch02s02.html b/webhelp/docs/content/ch02s02.html deleted file mode 100644 index 27231c1..0000000 --- a/webhelp/docs/content/ch02s02.html +++ /dev/null @@ -1,112 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> -<meta http-equiv="X-UA-Compatible" content="IE=7"></meta> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> -<title>Using and customizing the output</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="ch02.html" title="Using the package"></link><link rel="prev" href="ch02s01.html" title="Generating webhelp output"></link><link rel="next" href="ch02s02s01.html" title="Recommended Apache configurations"></link><script type="text/javascript"> - //The id for tree cookie - var treeCookieId = "treeview-1055"; - var language = "en"; - var w = new Object(); - //Localization - txt_filesfound = 'Results'; - txt_enter_at_least_1_char = "You must enter at least one character."; - txt_browser_not_supported = "JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site."; - txt_please_wait = "Please wait. Search in progress..."; - txt_results_for = "Results for: "; - </script><link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"></link><link rel="stylesheet" type="text/css" href="../common/css/positioning.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/treeview/jquery.treeview.css"></link><style type="text/css"> -noscript{ - font-weight:bold; -} -input { - margin-bottom: 5px; - margin-top: 2px; -} -.folder { - display: block; - height: 22px; - padding-left: 20px; - background: transparent url(../common/jquery/treeview/images/folder.gif) 0 0px no-repeat; -} -span.contentsTab { - padding-left: 20px; - background: url(../common/images/toc-icon.png) no-repeat 0 center; -} -span.searchTab { - padding-left: 20px; - background: url(../common/images/search-icon.png) no-repeat 0 center; -} - -/* Overide jquery treeview's defaults for ul. */ -.treeview ul { - background-color: transparent; - margin-top: 4px; -} -#webhelp-currentid { - background-color: #D8D8D8 !important; -} -.treeview .hover { color: black; } -.filetree li span a { text-decoration: none; font-size: 12px; color: #517291; } - -/* Override jquery-ui's default css customizations. These are supposed to take precedence over those.*/ -.ui-widget-content { - border: 0px; - background: none; - color: none; -} -.ui-widget-header { - color: #e9e8e9; - border-left: 1px solid #e5e5e5; - border-right: 1px solid #e5e5e5; - border-bottom: 1px solid #bbc4c5; - border-top: 4px solid #e5e5e5; - border: medium none; - background: #F4F4F4; /* old browsers */ - background: -moz-linear-gradient(top, #F4F4F4 0%, #E6E4E5 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F4F4F4), color-stop(100%,#E6E4E5)); /* webkit */ - font-weight: none; -} -.ui-widget-header a { color: none; } -.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { -border: none; background: none; font-weight: none; color: none; } -.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: black; text-decoration: none; } -.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: none; background: none; font-weight: none; color: none; } - -.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: none; background: none; font-weight: none; color: none; } -.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { - color: black; text-decoration: none; - background: #C6C6C6; /* old browsers */ - background: -moz-linear-gradient(top, #C6C6C6 0%, #D8D8D8 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#C6C6C6), color-stop(100%,#D8D8D8)); /* webkit */ - -webkit-border-radius:15px; -moz-border-radius:10px; - border: 1px solid #f1f1f1; -} -.ui-corner-all { border-radius: 0 0 0 0; } - -.ui-tabs { padding: .2em;} -.ui-tabs .ui-tabs-nav li { top: 0px; margin: -2px 0 1px; text-transform: uppercase; font-size: 10.5px;} -.ui-tabs .ui-tabs-nav li a { padding: .25em 2em .25em 1em; margin: .5em; text-shadow: 0 1px 0 rgba(255,255,255,.5); } - </style><script type="text/javascript" src="../common/browserDetect.js"></script><script type="text/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="text/javascript" src="search/l10n.js"></script><script type="text/javascript" src="search/htmlFileInfoList.js"></script><script type="text/javascript" src="search/nwSearchFnt.js"></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"></script><script type="text/javascript" src="search/index-2.js"></script><script type="text/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Using the package</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar - </a></td><td><a accesskey="p" class="navLinkPrevious" tabindex="5" href="ch02s01.html">Prev</a> - | - <a accesskey="u" class="navLinkUp" tabindex="5" href="ch02.html">Up</a> - | - <a accesskey="n" class="navLinkNext" tabindex="5" href="ch02s02s01.html">Next</a></td></tr></table></div></div><div id="content"><noscript>JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site.</noscript><div class="section"><div xmlns="" class="titlepage"><div><div><h2 xmlns="http://www.w3.org/1999/xhtml" class="title" style="clear: both"><a id="id376328"></a>Using and customizing the output</h2></div></div></div> -<div class="toc"><dl><dt><span class="section"><a href="ch02s02s01.html">Recommended Apache configurations</a></span></dt></dl></div><p>To deep link to a topic inside the help set, simply link directly to the page. This help - system uses no frameset, so nothing further is necessary. </p><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p>See <a class="ulink" href="http://www.sagehill.net/docbookxsl/Chunking.html" target="_top">Chunking into - multiple HTML files</a> in Bob Stayton's <a class="ulink" href="http://www.sagehill.net/docbookxsl/index.html" target="_top">DocBook XSL: The Complete - Guide</a> for information on controlling output file names and which files are - chunked in DocBook.</p></div><p>When you perform a search, the results can include brief summaries. These are populated - in one of two ways:</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>By adding <code class="sgmltag-element">role="summary"</code> to a <code class="sgmltag-element">para</code> or - <code class="sgmltag-element">phrase</code> in the <code class="sgmltag-element">chapter</code> or - <code class="sgmltag-element">section</code>.</p></li><li class="listitem"><p>By adding an <code class="sgmltag-element">abstract</code> to the <code class="sgmltag-element">chapterinfo</code> or - <code class="sgmltag-element">sectioninfo</code> element.</p></li></ul></div><p>To customize the look and feel of the help, study the following css files:</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><code class="filename">docs/common/css/positioning.css</code>: This handles the Positioning - of DIVs in appropriate positions. For example, it causes the - <code class="code">leftnavigation</code> div to appear on the left, the header on top, and so on. - Use this if you need to change the relative positions or need to change the - width/height etc.</p></li><li class="listitem"><p><code class="filename">docs/common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css</code>: - This is the theming part which adds colors and stuff. This is a default theme comes - with <a class="ulink" href="http://jqueryui.com/download" target="_top">jqueryui</a> unchanged. You can get - any theme based your interest from this. (Themes are on right navigation bar.) Then - replace the css theme folder (theme-redmond) with it, and change the xsl to point to - the new css.</p></li><li class="listitem"><p><code class="filename">docs/common/jquery/treeview/jquery.treeview.css</code>: This styles - the toc Tree. Generally, you don't have to edit this file.</p></li></ul></div></div><script type="text/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s01.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch02s02s01.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li id="webhelp-currentid"><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html> diff --git a/webhelp/docs/content/ch02s02s01.html b/webhelp/docs/content/ch02s02s01.html deleted file mode 100644 index f4fc2d0..0000000 --- a/webhelp/docs/content/ch02s02s01.html +++ /dev/null @@ -1,135 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> -<meta http-equiv="X-UA-Compatible" content="IE=7"></meta> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> -<title>Recommended Apache configurations</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="ch02s02.html" title="Using and customizing the output"></link><link rel="prev" href="ch02s02.html" title="Using and customizing the output"></link><link rel="next" href="ch02s03.html" title="Search indexing"></link><script type="text/javascript"> - //The id for tree cookie - var treeCookieId = "treeview-1055"; - var language = "en"; - var w = new Object(); - //Localization - txt_filesfound = 'Results'; - txt_enter_at_least_1_char = "You must enter at least one character."; - txt_browser_not_supported = "JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site."; - txt_please_wait = "Please wait. Search in progress..."; - txt_results_for = "Results for: "; - </script><link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"></link><link rel="stylesheet" type="text/css" href="../common/css/positioning.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/treeview/jquery.treeview.css"></link><style type="text/css"> -noscript{ - font-weight:bold; -} -input { - margin-bottom: 5px; - margin-top: 2px; -} -.folder { - display: block; - height: 22px; - padding-left: 20px; - background: transparent url(../common/jquery/treeview/images/folder.gif) 0 0px no-repeat; -} -span.contentsTab { - padding-left: 20px; - background: url(../common/images/toc-icon.png) no-repeat 0 center; -} -span.searchTab { - padding-left: 20px; - background: url(../common/images/search-icon.png) no-repeat 0 center; -} - -/* Overide jquery treeview's defaults for ul. */ -.treeview ul { - background-color: transparent; - margin-top: 4px; -} -#webhelp-currentid { - background-color: #D8D8D8 !important; -} -.treeview .hover { color: black; } -.filetree li span a { text-decoration: none; font-size: 12px; color: #517291; } - -/* Override jquery-ui's default css customizations. These are supposed to take precedence over those.*/ -.ui-widget-content { - border: 0px; - background: none; - color: none; -} -.ui-widget-header { - color: #e9e8e9; - border-left: 1px solid #e5e5e5; - border-right: 1px solid #e5e5e5; - border-bottom: 1px solid #bbc4c5; - border-top: 4px solid #e5e5e5; - border: medium none; - background: #F4F4F4; /* old browsers */ - background: -moz-linear-gradient(top, #F4F4F4 0%, #E6E4E5 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F4F4F4), color-stop(100%,#E6E4E5)); /* webkit */ - font-weight: none; -} -.ui-widget-header a { color: none; } -.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { -border: none; background: none; font-weight: none; color: none; } -.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: black; text-decoration: none; } -.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: none; background: none; font-weight: none; color: none; } - -.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: none; background: none; font-weight: none; color: none; } -.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { - color: black; text-decoration: none; - background: #C6C6C6; /* old browsers */ - background: -moz-linear-gradient(top, #C6C6C6 0%, #D8D8D8 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#C6C6C6), color-stop(100%,#D8D8D8)); /* webkit */ - -webkit-border-radius:15px; -moz-border-radius:10px; - border: 1px solid #f1f1f1; -} -.ui-corner-all { border-radius: 0 0 0 0; } - -.ui-tabs { padding: .2em;} -.ui-tabs .ui-tabs-nav li { top: 0px; margin: -2px 0 1px; text-transform: uppercase; font-size: 10.5px;} -.ui-tabs .ui-tabs-nav li a { padding: .25em 2em .25em 1em; margin: .5em; text-shadow: 0 1px 0 rgba(255,255,255,.5); } - </style><script type="text/javascript" src="../common/browserDetect.js"></script><script type="text/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="text/javascript" src="search/l10n.js"></script><script type="text/javascript" src="search/htmlFileInfoList.js"></script><script type="text/javascript" src="search/nwSearchFnt.js"></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"></script><script type="text/javascript" src="search/index-2.js"></script><script type="text/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Using and customizing the output</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar - </a></td><td><a accesskey="p" class="navLinkPrevious" tabindex="5" href="ch02s02.html">Prev</a> - | - <a accesskey="u" class="navLinkUp" tabindex="5" href="ch02s02.html">Up</a> - | - <a accesskey="n" class="navLinkNext" tabindex="5" href="ch02s03.html">Next</a></td></tr></table></div></div><div id="content"><noscript>JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site.</noscript><div class="section"><div xmlns="" class="titlepage"><div><div><h3 xmlns="http://www.w3.org/1999/xhtml" class="title"><a id="id376463"></a>Recommended Apache configurations</h3></div></div></div> -<p>If you are serving a long document from an Apache web server, we recommend you make - the following additions or changes to your <code class="filename">httpd.conf</code> or - <code class="filename">.htaccess</code> file. <em><span class="remark">TODO: Explain what each thing - does.</span></em></p><pre class="programlisting">AddDefaultCharSet UTF-8 # <a id="AddDefaultCharSet"></a><span><img src="../common/images/callouts/1.png" alt="1" border="0"></img></span> - - # 480 weeks - <FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$"> # <a id="CachingSettings"></a><span><img src="../common/images/callouts/2.png" alt="2" border="0"></img></span> - Header set Cache-Control "max-age=290304000, public" - </FilesMatch> - - # 2 DAYS - <FilesMatch "\.(xml|txt)$"> - Header set Cache-Control "max-age=172800, public, must-revalidate" - </FilesMatch> - - # 2 HOURS - <FilesMatch "\.(html|htm)$"> - Header set Cache-Control "max-age=7200, must-revalidate" - </FilesMatch> - - # compress text, html, javascript, css, xml: - AddOutputFilterByType DEFLATE text/plain # <a id="CompressSetting"></a><span><img src="../common/images/callouts/3.png" alt="3" border="0"></img></span> - AddOutputFilterByType DEFLATE text/html - AddOutputFilterByType DEFLATE text/xml - AddOutputFilterByType DEFLATE text/css - AddOutputFilterByType DEFLATE application/xml - AddOutputFilterByType DEFLATE application/xhtml+xml - AddOutputFilterByType DEFLATE application/rss+xml - AddOutputFilterByType DEFLATE application/javascript - AddOutputFilterByType DEFLATE application/x-javascript - - # Or, compress certain file types by extension: - <Files *.html> - SetOutputFilter DEFLATE - </Files> - </pre><div class="calloutlist"><table border="0" summary="Callout list"><tr><td width="5%" valign="top" align="left"><p><a href="#AddDefaultCharSet"><span><img src="../common/images/callouts/1.png" alt="1" border="0"></img></span></a> </p></td><td valign="top" align="left"><p>See <a class="ulink" href="http://www.sagehill.net/docbookxsl/SpecialChars.html" target="_top">Odd - characters in HTML output</a> in Bob Stayton's book <em class="citetitle">DocBook XSL: - The Complete Guide</em> for more information about this setting.</p></td></tr><tr><td width="5%" valign="top" align="left"><p><a href="#CachingSettings"><span><img src="../common/images/callouts/2.png" alt="2" border="0"></img></span></a> </p></td><td valign="top" align="left"><p>These lines and those that follow cause the browser to cache various resources - such as bitmaps and JavaScript files. Note that caching JavaScript files could cause - your users to have stale search indexes if you update your document since the search - index is stored in JavaScript files.</p></td></tr><tr><td width="5%" valign="top" align="left"><p><a href="#CompressSetting"><span><img src="../common/images/callouts/3.png" alt="3" border="0"></img></span></a> </p></td><td valign="top" align="left"><p>These lines cause the the server to compress html, css, and JavaScript files and - the brower to uncompress them to improve download performance.</p></td></tr></table></div></div><script type="text/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02s02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch02s03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li id="webhelp-currentid"><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html> diff --git a/webhelp/docs/content/ch02s03.html b/webhelp/docs/content/ch02s03.html deleted file mode 100644 index 60f8784..0000000 --- a/webhelp/docs/content/ch02s03.html +++ /dev/null @@ -1,119 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> -<meta http-equiv="X-UA-Compatible" content="IE=7"></meta> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> -<title>Search indexing</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="ch02.html" title="Using the package"></link><link rel="prev" href="ch02s02s01.html" title="Recommended Apache configurations"></link><link rel="next" href="ch02s04.html" title="Adding support for other (non-CJKV) languages"></link><script type="text/javascript"> - //The id for tree cookie - var treeCookieId = "treeview-1055"; - var language = "en"; - var w = new Object(); - //Localization - txt_filesfound = 'Results'; - txt_enter_at_least_1_char = "You must enter at least one character."; - txt_browser_not_supported = "JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site."; - txt_please_wait = "Please wait. Search in progress..."; - txt_results_for = "Results for: "; - </script><link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"></link><link rel="stylesheet" type="text/css" href="../common/css/positioning.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/treeview/jquery.treeview.css"></link><style type="text/css"> -noscript{ - font-weight:bold; -} -input { - margin-bottom: 5px; - margin-top: 2px; -} -.folder { - display: block; - height: 22px; - padding-left: 20px; - background: transparent url(../common/jquery/treeview/images/folder.gif) 0 0px no-repeat; -} -span.contentsTab { - padding-left: 20px; - background: url(../common/images/toc-icon.png) no-repeat 0 center; -} -span.searchTab { - padding-left: 20px; - background: url(../common/images/search-icon.png) no-repeat 0 center; -} - -/* Overide jquery treeview's defaults for ul. */ -.treeview ul { - background-color: transparent; - margin-top: 4px; -} -#webhelp-currentid { - background-color: #D8D8D8 !important; -} -.treeview .hover { color: black; } -.filetree li span a { text-decoration: none; font-size: 12px; color: #517291; } - -/* Override jquery-ui's default css customizations. These are supposed to take precedence over those.*/ -.ui-widget-content { - border: 0px; - background: none; - color: none; -} -.ui-widget-header { - color: #e9e8e9; - border-left: 1px solid #e5e5e5; - border-right: 1px solid #e5e5e5; - border-bottom: 1px solid #bbc4c5; - border-top: 4px solid #e5e5e5; - border: medium none; - background: #F4F4F4; /* old browsers */ - background: -moz-linear-gradient(top, #F4F4F4 0%, #E6E4E5 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F4F4F4), color-stop(100%,#E6E4E5)); /* webkit */ - font-weight: none; -} -.ui-widget-header a { color: none; } -.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { -border: none; background: none; font-weight: none; color: none; } -.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: black; text-decoration: none; } -.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: none; background: none; font-weight: none; color: none; } - -.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: none; background: none; font-weight: none; color: none; } -.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { - color: black; text-decoration: none; - background: #C6C6C6; /* old browsers */ - background: -moz-linear-gradient(top, #C6C6C6 0%, #D8D8D8 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#C6C6C6), color-stop(100%,#D8D8D8)); /* webkit */ - -webkit-border-radius:15px; -moz-border-radius:10px; - border: 1px solid #f1f1f1; -} -.ui-corner-all { border-radius: 0 0 0 0; } - -.ui-tabs { padding: .2em;} -.ui-tabs .ui-tabs-nav li { top: 0px; margin: -2px 0 1px; text-transform: uppercase; font-size: 10.5px;} -.ui-tabs .ui-tabs-nav li a { padding: .25em 2em .25em 1em; margin: .5em; text-shadow: 0 1px 0 rgba(255,255,255,.5); } - </style><script type="text/javascript" src="../common/browserDetect.js"></script><script type="text/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="text/javascript" src="search/l10n.js"></script><script type="text/javascript" src="search/htmlFileInfoList.js"></script><script type="text/javascript" src="search/nwSearchFnt.js"></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"></script><script type="text/javascript" src="search/index-2.js"></script><script type="text/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Using the package</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar - </a></td><td><a accesskey="p" class="navLinkPrevious" tabindex="5" href="ch02s02s01.html">Prev</a> - | - <a accesskey="u" class="navLinkUp" tabindex="5" href="ch02.html">Up</a> - | - <a accesskey="n" class="navLinkNext" tabindex="5" href="ch02s04.html">Next</a></td></tr></table></div></div><div id="content"><noscript>JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site.</noscript><div class="section"><div xmlns="" class="titlepage"><div><div><h2 xmlns="http://www.w3.org/1999/xhtml" class="title" style="clear: both"><a id="id376572"></a>Search indexing</h2></div></div></div> -<p>Run <span class="command"><strong>ant index</strong></span> in the webhelp directory to index the content. Running - <span class="command"><strong>ant webhelp</strong></span> will do the indexing as part of the process as well.</p><p>Here's some detailed information about invoking the indexer. The indexing process is - pretty smooth, so probably you doesn't need to be concerned with following details. Webhelp - Ant script does all the needed bits.</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>Following should be in the CLASSPATH.</p><p> - </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "><li class="listitem"><p><code class="filename">webhelpindexer.jar</code>, - <code class="filename">lucene-analyzers-3.0.0.jar</code>, - <code class="filename">lucene-core-3.0.0.jar</code> - These three are available in the - extensions/ directory of docsbook-xsl-1.76.1, and is automatically fetched to the - webhelp's Ant script. Go for a XSL snapshot if you can which contains the latest - version http://docbook.sourceforge.net/snapshot/</p></li><li class="listitem"><p><code class="filename">xercesImpl.jar</code>, <code class="filename"> xml-apis.jar</code> - - These two comes by default with Ant 1.8.0 or prior versions. These are available - under /usr/share/java directory of Linux distributions as well. Else, you may have - to download, and put them to <code class="filename">jre/lib/endorsed</code>.</p></li></ul></div><p> - </p></li><li class="listitem"><p>The main class is <code class="classname">com.nexwave.nquindexer.IndexerMain</code> for the - version 1.76.1+. It's <code class="classname">com.nexwave.nquindexer.IndexerTask</code> for the - versions 1.76.0 and 1.76.1.</p><p> - </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "><li class="listitem"><p>Needs two parameters as command-line arguments:</p><p> - </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: square; "><li class="listitem"><p>The folder where the files to be indexed reside</p></li></ul></div><p> - </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: square; "><li class="listitem"><p>(Optional) language. defaults to "en". See build.properties for - details</p></li></ul></div><p> - </p></li></ul></div><p> - </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>We have changed the way we invoke the webhelp indexer from the Ant Task to - <code class="code">indexertask</code> to direct invocation. This seems to have remove the - <code class="envar">CLASSPATH</code> issue some people were having.</p></div><p> - </p></li></ul></div><a id="id376733" class="indexterm"></a><a id="id376745" class="indexterm"></a><p class="summary">To build the indexer, you must have installed the JDK version 1.5 or - higher and set the <code class="envar">ANT_HOME</code> environment variable. </p><a id="id376768" class="indexterm"></a><a id="id376777" class="indexterm"></a></div><script type="text/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s02s01.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch02s04.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li id="webhelp-currentid"><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html> diff --git a/webhelp/docs/content/ch02s04.html b/webhelp/docs/content/ch02s04.html deleted file mode 100644 index 7f657f6..0000000 --- a/webhelp/docs/content/ch02s04.html +++ /dev/null @@ -1,101 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> -<meta http-equiv="X-UA-Compatible" content="IE=7"></meta> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> -<title>Adding support for other (non-CJKV) languages</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="ch02.html" title="Using the package"></link><link rel="prev" href="ch02s03.html" title="Search indexing"></link><link rel="next" href="ch02s05.html" title="Adding images"></link><script type="text/javascript"> - //The id for tree cookie - var treeCookieId = "treeview-1055"; - var language = "en"; - var w = new Object(); - //Localization - txt_filesfound = 'Results'; - txt_enter_at_least_1_char = "You must enter at least one character."; - txt_browser_not_supported = "JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site."; - txt_please_wait = "Please wait. Search in progress..."; - txt_results_for = "Results for: "; - </script><link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"></link><link rel="stylesheet" type="text/css" href="../common/css/positioning.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/treeview/jquery.treeview.css"></link><style type="text/css"> -noscript{ - font-weight:bold; -} -input { - margin-bottom: 5px; - margin-top: 2px; -} -.folder { - display: block; - height: 22px; - padding-left: 20px; - background: transparent url(../common/jquery/treeview/images/folder.gif) 0 0px no-repeat; -} -span.contentsTab { - padding-left: 20px; - background: url(../common/images/toc-icon.png) no-repeat 0 center; -} -span.searchTab { - padding-left: 20px; - background: url(../common/images/search-icon.png) no-repeat 0 center; -} - -/* Overide jquery treeview's defaults for ul. */ -.treeview ul { - background-color: transparent; - margin-top: 4px; -} -#webhelp-currentid { - background-color: #D8D8D8 !important; -} -.treeview .hover { color: black; } -.filetree li span a { text-decoration: none; font-size: 12px; color: #517291; } - -/* Override jquery-ui's default css customizations. These are supposed to take precedence over those.*/ -.ui-widget-content { - border: 0px; - background: none; - color: none; -} -.ui-widget-header { - color: #e9e8e9; - border-left: 1px solid #e5e5e5; - border-right: 1px solid #e5e5e5; - border-bottom: 1px solid #bbc4c5; - border-top: 4px solid #e5e5e5; - border: medium none; - background: #F4F4F4; /* old browsers */ - background: -moz-linear-gradient(top, #F4F4F4 0%, #E6E4E5 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F4F4F4), color-stop(100%,#E6E4E5)); /* webkit */ - font-weight: none; -} -.ui-widget-header a { color: none; } -.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { -border: none; background: none; font-weight: none; color: none; } -.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: black; text-decoration: none; } -.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: none; background: none; font-weight: none; color: none; } - -.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: none; background: none; font-weight: none; color: none; } -.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { - color: black; text-decoration: none; - background: #C6C6C6; /* old browsers */ - background: -moz-linear-gradient(top, #C6C6C6 0%, #D8D8D8 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#C6C6C6), color-stop(100%,#D8D8D8)); /* webkit */ - -webkit-border-radius:15px; -moz-border-radius:10px; - border: 1px solid #f1f1f1; -} -.ui-corner-all { border-radius: 0 0 0 0; } - -.ui-tabs { padding: .2em;} -.ui-tabs .ui-tabs-nav li { top: 0px; margin: -2px 0 1px; text-transform: uppercase; font-size: 10.5px;} -.ui-tabs .ui-tabs-nav li a { padding: .25em 2em .25em 1em; margin: .5em; text-shadow: 0 1px 0 rgba(255,255,255,.5); } - </style><script type="text/javascript" src="../common/browserDetect.js"></script><script type="text/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="text/javascript" src="search/l10n.js"></script><script type="text/javascript" src="search/htmlFileInfoList.js"></script><script type="text/javascript" src="search/nwSearchFnt.js"></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"></script><script type="text/javascript" src="search/index-2.js"></script><script type="text/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Using the package</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar - </a></td><td><a accesskey="p" class="navLinkPrevious" tabindex="5" href="ch02s03.html">Prev</a> - | - <a accesskey="u" class="navLinkUp" tabindex="5" href="ch02.html">Up</a> - | - <a accesskey="n" class="navLinkNext" tabindex="5" href="ch02s05.html">Next</a></td></tr></table></div></div><div id="content"><noscript>JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site.</noscript><div class="section"><div xmlns="" class="titlepage"><div><div><h2 xmlns="http://www.w3.org/1999/xhtml" class="title" style="clear: both"><a id="id376790"></a>Adding support for other (non-CJKV) languages</h2></div></div></div> -<p>To support stemming for a language, the search mechanism requires a stemmer implemented - in both Java and JavaScript. The Java version is used by the indexer and the JavaScript - verison is used to stem the user's input on the search form. Currently the search mechanism - supports stemming for English and German. In addition, Java stemmers are included for the - following languages. Therefore, to support these languages, you only need to implement the - stemmer in JavaScript and add it to the template. If you do undertake this task, please - consider contributing the JavaScript version back to this project and to <a class="ulink" href="http://snowball.tartarus.org/texts/stemmersoverview.html" target="_top">Martin Porter's - project</a>.</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>Danish</p></li><li class="listitem"><p>Dutch</p></li><li class="listitem"><p>Finnish</p></li><li class="listitem"><p>Hungarian</p></li><li class="listitem"><p>Italian</p></li><li class="listitem"><p>Norwegian</p></li><li class="listitem"><p>Portuguese</p></li><li class="listitem"><p>Romanian</p></li><li class="listitem"><p>Russian</p></li><li class="listitem"><p>Spanish</p></li><li class="listitem"><p>Swedish</p></li><li class="listitem"><p>Turkish</p></li></ul></div><p><a id="id376892" class="indexterm"></a></p></div><script type="text/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s03.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch02s05.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li id="webhelp-currentid"><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html> diff --git a/webhelp/docs/content/ch02s05.html b/webhelp/docs/content/ch02s05.html deleted file mode 100644 index 5469ec3..0000000 --- a/webhelp/docs/content/ch02s05.html +++ /dev/null @@ -1,111 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> -<meta http-equiv="X-UA-Compatible" content="IE=7"></meta> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> -<title>Adding images</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="ch02.html" title="Using the package"></link><link rel="prev" href="ch02s04.html" title="Adding support for other (non-CJKV) languages"></link><link rel="next" href="ch03.html" title="Developer Docs"></link><script type="text/javascript"> - //The id for tree cookie - var treeCookieId = "treeview-1055"; - var language = "en"; - var w = new Object(); - //Localization - txt_filesfound = 'Results'; - txt_enter_at_least_1_char = "You must enter at least one character."; - txt_browser_not_supported = "JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site."; - txt_please_wait = "Please wait. Search in progress..."; - txt_results_for = "Results for: "; - </script><link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"></link><link rel="stylesheet" type="text/css" href="../common/css/positioning.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/treeview/jquery.treeview.css"></link><style type="text/css"> -noscript{ - font-weight:bold; -} -input { - margin-bottom: 5px; - margin-top: 2px; -} -.folder { - display: block; - height: 22px; - padding-left: 20px; - background: transparent url(../common/jquery/treeview/images/folder.gif) 0 0px no-repeat; -} -span.contentsTab { - padding-left: 20px; - background: url(../common/images/toc-icon.png) no-repeat 0 center; -} -span.searchTab { - padding-left: 20px; - background: url(../common/images/search-icon.png) no-repeat 0 center; -} - -/* Overide jquery treeview's defaults for ul. */ -.treeview ul { - background-color: transparent; - margin-top: 4px; -} -#webhelp-currentid { - background-color: #D8D8D8 !important; -} -.treeview .hover { color: black; } -.filetree li span a { text-decoration: none; font-size: 12px; color: #517291; } - -/* Override jquery-ui's default css customizations. These are supposed to take precedence over those.*/ -.ui-widget-content { - border: 0px; - background: none; - color: none; -} -.ui-widget-header { - color: #e9e8e9; - border-left: 1px solid #e5e5e5; - border-right: 1px solid #e5e5e5; - border-bottom: 1px solid #bbc4c5; - border-top: 4px solid #e5e5e5; - border: medium none; - background: #F4F4F4; /* old browsers */ - background: -moz-linear-gradient(top, #F4F4F4 0%, #E6E4E5 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F4F4F4), color-stop(100%,#E6E4E5)); /* webkit */ - font-weight: none; -} -.ui-widget-header a { color: none; } -.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { -border: none; background: none; font-weight: none; color: none; } -.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: black; text-decoration: none; } -.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: none; background: none; font-weight: none; color: none; } - -.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: none; background: none; font-weight: none; color: none; } -.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { - color: black; text-decoration: none; - background: #C6C6C6; /* old browsers */ - background: -moz-linear-gradient(top, #C6C6C6 0%, #D8D8D8 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#C6C6C6), color-stop(100%,#D8D8D8)); /* webkit */ - -webkit-border-radius:15px; -moz-border-radius:10px; - border: 1px solid #f1f1f1; -} -.ui-corner-all { border-radius: 0 0 0 0; } - -.ui-tabs { padding: .2em;} -.ui-tabs .ui-tabs-nav li { top: 0px; margin: -2px 0 1px; text-transform: uppercase; font-size: 10.5px;} -.ui-tabs .ui-tabs-nav li a { padding: .25em 2em .25em 1em; margin: .5em; text-shadow: 0 1px 0 rgba(255,255,255,.5); } - </style><script type="text/javascript" src="../common/browserDetect.js"></script><script type="text/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="text/javascript" src="search/l10n.js"></script><script type="text/javascript" src="search/htmlFileInfoList.js"></script><script type="text/javascript" src="search/nwSearchFnt.js"></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"></script><script type="text/javascript" src="search/index-2.js"></script><script type="text/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Using the package</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar - </a></td><td><a accesskey="p" class="navLinkPrevious" tabindex="5" href="ch02s04.html">Prev</a> - | - <a accesskey="u" class="navLinkUp" tabindex="5" href="ch02.html">Up</a> - | - <a accesskey="n" class="navLinkNext" tabindex="5" href="ch03.html">Next</a></td></tr></table></div></div><div id="content"><noscript>JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site.</noscript><div class="section"><div xmlns="" class="titlepage"><div><div><h2 xmlns="http://www.w3.org/1999/xhtml" class="title" style="clear: both"><a id="id376902"></a>Adding images</h2></div></div></div> -<p>This section shows how to add images to WebHelp. For that, follow the simple procedure given.</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>Put the images in a subdirectory of your source file directory. For example - <code class="filename">docsrc/images</code>.</p></li><li class="listitem"><p>Then refer to those images from your docbook document.</p><p>Following image is from <span class="bold"><strong>webhelp/docsrs/images/sample.jpg</strong></span>. The docbook code is shown - below.</p><p> - </p><div class="figure"><a id="id376944"></a><p class="title"><strong>Figure 1. Sample Image</strong></p><div class="figure-contents"><div class="mediaobject"><img src="images/sample.jpg" alt="Sample Image"></img></div></div></div><p><br class="figure-break"></br> - </p><div class="example"><a id="id376967"></a><p class="title"><strong>Example 1. Example code for adding images. Note down the relative path used</strong></p><div class="example-contents"><pre class="programlisting"><figure> - <title>Sample</title> - <mediaobject> - <imageobject> - <imagedata fileref="<span class="bold"><strong>images/sample.jpg</strong></span>" format="JPG"/> - </imageobject> - </mediaobject> -</figure></pre></div></div><br class="example-break"></br></li><li class="listitem"><p> The <code class="filename">build.properties</code> file controls what directories are copied - over from the source tree to the output - tree:</p><pre class="programlisting"># If your document has image directories that need to be copied -# to the output directory, you can list patterns here. -# See the Ant documentation for fileset for documentation -# on patterns. -input-images-dirs=images/**,figures/**,graphics/**</pre></li></ul></div></div><script type="text/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s04.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li id="webhelp-currentid"><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html> diff --git a/webhelp/docs/content/ch03.html b/webhelp/docs/content/ch03.html deleted file mode 100644 index 1239560..0000000 --- a/webhelp/docs/content/ch03.html +++ /dev/null @@ -1,96 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> -<meta http-equiv="X-UA-Compatible" content="IE=7"></meta> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> -<title>Developer Docs</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="prev" href="ch02s05.html" title="Adding images"></link><link rel="next" href="ch03s01.html" title="Design"></link><script type="text/javascript"> - //The id for tree cookie - var treeCookieId = "treeview-1055"; - var language = "en"; - var w = new Object(); - //Localization - txt_filesfound = 'Results'; - txt_enter_at_least_1_char = "You must enter at least one character."; - txt_browser_not_supported = "JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site."; - txt_please_wait = "Please wait. Search in progress..."; - txt_results_for = "Results for: "; - </script><link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"></link><link rel="stylesheet" type="text/css" href="../common/css/positioning.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/treeview/jquery.treeview.css"></link><style type="text/css"> -noscript{ - font-weight:bold; -} -input { - margin-bottom: 5px; - margin-top: 2px; -} -.folder { - display: block; - height: 22px; - padding-left: 20px; - background: transparent url(../common/jquery/treeview/images/folder.gif) 0 0px no-repeat; -} -span.contentsTab { - padding-left: 20px; - background: url(../common/images/toc-icon.png) no-repeat 0 center; -} -span.searchTab { - padding-left: 20px; - background: url(../common/images/search-icon.png) no-repeat 0 center; -} - -/* Overide jquery treeview's defaults for ul. */ -.treeview ul { - background-color: transparent; - margin-top: 4px; -} -#webhelp-currentid { - background-color: #D8D8D8 !important; -} -.treeview .hover { color: black; } -.filetree li span a { text-decoration: none; font-size: 12px; color: #517291; } - -/* Override jquery-ui's default css customizations. These are supposed to take precedence over those.*/ -.ui-widget-content { - border: 0px; - background: none; - color: none; -} -.ui-widget-header { - color: #e9e8e9; - border-left: 1px solid #e5e5e5; - border-right: 1px solid #e5e5e5; - border-bottom: 1px solid #bbc4c5; - border-top: 4px solid #e5e5e5; - border: medium none; - background: #F4F4F4; /* old browsers */ - background: -moz-linear-gradient(top, #F4F4F4 0%, #E6E4E5 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F4F4F4), color-stop(100%,#E6E4E5)); /* webkit */ - font-weight: none; -} -.ui-widget-header a { color: none; } -.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { -border: none; background: none; font-weight: none; color: none; } -.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: black; text-decoration: none; } -.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: none; background: none; font-weight: none; color: none; } - -.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: none; background: none; font-weight: none; color: none; } -.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { - color: black; text-decoration: none; - background: #C6C6C6; /* old browsers */ - background: -moz-linear-gradient(top, #C6C6C6 0%, #D8D8D8 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#C6C6C6), color-stop(100%,#D8D8D8)); /* webkit */ - -webkit-border-radius:15px; -moz-border-radius:10px; - border: 1px solid #f1f1f1; -} -.ui-corner-all { border-radius: 0 0 0 0; } - -.ui-tabs { padding: .2em;} -.ui-tabs .ui-tabs-nav li { top: 0px; margin: -2px 0 1px; text-transform: uppercase; font-size: 10.5px;} -.ui-tabs .ui-tabs-nav li a { padding: .25em 2em .25em 1em; margin: .5em; text-shadow: 0 1px 0 rgba(255,255,255,.5); } - </style><script type="text/javascript" src="../common/browserDetect.js"></script><script type="text/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="text/javascript" src="search/l10n.js"></script><script type="text/javascript" src="search/htmlFileInfoList.js"></script><script type="text/javascript" src="search/nwSearchFnt.js"></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"></script><script type="text/javascript" src="search/index-2.js"></script><script type="text/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Developer Docs</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar - </a></td><td><a accesskey="p" class="navLinkPrevious" tabindex="5" href="ch02s05.html">Prev</a> - | - <a accesskey="n" class="navLinkNext" tabindex="5" href="ch03s01.html">Next</a></td></tr></table></div></div><div id="content"><noscript>JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site.</noscript><div class="chapter"><div xmlns="" class="titlepage"><div><div><h1 xmlns="http://www.w3.org/1999/xhtml" class="title"><a id="id377011"></a>Developer Docs</h1></div></div></div> -<div class="toc"><p><strong>Table of Contents</strong></p><dl><dt><span class="section"><a href="ch03s01.html">Design</a></span></dt><dt><span class="section"><a href="ch03s02.html">Search</a></span></dt><dd><dl><dt><span class="section"><a href="ch03s02s01.html">New Stemmers</a></span></dt></dl></dd></dl></div><p class="summary">This chapter provides an overview of how webhelp is implemented.</p><p>The table of contents and search panes are implemented as divs and rendered as if they - were the left pane in a frameset. As a result, the page must save the state of the table of - contents and the search in cookies when you navigate away from a page. When you load a new - page, the page reads these cookies and restores the state of the table of contents tree and - search. The result is that the help system behaves exactly as if it were a frameset.</p></div><script type="text/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s05.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ch03s01.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li id="webhelp-currentid"><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html> diff --git a/webhelp/docs/content/ch03s01.html b/webhelp/docs/content/ch03s01.html deleted file mode 100644 index 80bbccb..0000000 --- a/webhelp/docs/content/ch03s01.html +++ /dev/null @@ -1,117 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> -<meta http-equiv="X-UA-Compatible" content="IE=7"></meta> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> -<title>Design</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="ch03.html" title="Developer Docs"></link><link rel="prev" href="ch03.html" title="Developer Docs"></link><link rel="next" href="ch03s02.html" title="Search"></link><script type="text/javascript"> - //The id for tree cookie - var treeCookieId = "treeview-1055"; - var language = "en"; - var w = new Object(); - //Localization - txt_filesfound = 'Results'; - txt_enter_at_least_1_char = "You must enter at least one character."; - txt_browser_not_supported = "JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site."; - txt_please_wait = "Please wait. Search in progress..."; - txt_results_for = "Results for: "; - </script><link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"></link><link rel="stylesheet" type="text/css" href="../common/css/positioning.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/treeview/jquery.treeview.css"></link><style type="text/css"> -noscript{ - font-weight:bold; -} -input { - margin-bottom: 5px; - margin-top: 2px; -} -.folder { - display: block; - height: 22px; - padding-left: 20px; - background: transparent url(../common/jquery/treeview/images/folder.gif) 0 0px no-repeat; -} -span.contentsTab { - padding-left: 20px; - background: url(../common/images/toc-icon.png) no-repeat 0 center; -} -span.searchTab { - padding-left: 20px; - background: url(../common/images/search-icon.png) no-repeat 0 center; -} - -/* Overide jquery treeview's defaults for ul. */ -.treeview ul { - background-color: transparent; - margin-top: 4px; -} -#webhelp-currentid { - background-color: #D8D8D8 !important; -} -.treeview .hover { color: black; } -.filetree li span a { text-decoration: none; font-size: 12px; color: #517291; } - -/* Override jquery-ui's default css customizations. These are supposed to take precedence over those.*/ -.ui-widget-content { - border: 0px; - background: none; - color: none; -} -.ui-widget-header { - color: #e9e8e9; - border-left: 1px solid #e5e5e5; - border-right: 1px solid #e5e5e5; - border-bottom: 1px solid #bbc4c5; - border-top: 4px solid #e5e5e5; - border: medium none; - background: #F4F4F4; /* old browsers */ - background: -moz-linear-gradient(top, #F4F4F4 0%, #E6E4E5 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F4F4F4), color-stop(100%,#E6E4E5)); /* webkit */ - font-weight: none; -} -.ui-widget-header a { color: none; } -.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { -border: none; background: none; font-weight: none; color: none; } -.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: black; text-decoration: none; } -.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: none; background: none; font-weight: none; color: none; } - -.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: none; background: none; font-weight: none; color: none; } -.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { - color: black; text-decoration: none; - background: #C6C6C6; /* old browsers */ - background: -moz-linear-gradient(top, #C6C6C6 0%, #D8D8D8 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#C6C6C6), color-stop(100%,#D8D8D8)); /* webkit */ - -webkit-border-radius:15px; -moz-border-radius:10px; - border: 1px solid #f1f1f1; -} -.ui-corner-all { border-radius: 0 0 0 0; } - -.ui-tabs { padding: .2em;} -.ui-tabs .ui-tabs-nav li { top: 0px; margin: -2px 0 1px; text-transform: uppercase; font-size: 10.5px;} -.ui-tabs .ui-tabs-nav li a { padding: .25em 2em .25em 1em; margin: .5em; text-shadow: 0 1px 0 rgba(255,255,255,.5); } - </style><script type="text/javascript" src="../common/browserDetect.js"></script><script type="text/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="text/javascript" src="search/l10n.js"></script><script type="text/javascript" src="search/htmlFileInfoList.js"></script><script type="text/javascript" src="search/nwSearchFnt.js"></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"></script><script type="text/javascript" src="search/index-2.js"></script><script type="text/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Developer Docs</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar - </a></td><td><a accesskey="p" class="navLinkPrevious" tabindex="5" href="ch03.html">Prev</a> - | - <a accesskey="u" class="navLinkUp" tabindex="5" href="ch03.html">Up</a> - | - <a accesskey="n" class="navLinkNext" tabindex="5" href="ch03s02.html">Next</a></td></tr></table></div></div><div id="content"><noscript>JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site.</noscript><div class="section"><div xmlns="" class="titlepage"><div><div><h2 xmlns="http://www.w3.org/1999/xhtml" class="title" style="clear: both"><a id="id377030"></a>Design</h2></div></div></div> -<p class="summary">An overview of webhelp page structure.</p><p>DocBook WebHelp page structure is fully built on css-based design abandoning frameset - structure. Overall page structure can be divided in to three main sections </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>Header: Header is a separate Div which include company logo, navigation - button(prev, next etc.), page title and heading of parent topic.</p></li><li class="listitem"><p>Content: This includes the content of the documentation. The processing of this - part is done by <a class="ulink" href="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl" target="_top"> DocBook - XSL Chunking customization</a>. Few further css-styling applied from - <code class="filename">positioning.css</code>. </p></li><li class="listitem"><p>Left Navigation: This includes the table of contents and search tab. This is - customized using <a class="ulink" href="http://jqueryui.com/" target="_top">jquery-ui</a> styling.</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "><li class="listitem"><p>Tabbed Navigation: The navigation pane is organized in to two tabs. Contents - tab, and Search tab. Tabbed output is achieved using <a class="ulink" href="http://docs.jquery.com/UI/Tabs" target="_top">JQuery Tabs plugin</a>. </p></li><li class="listitem"><p>Table of Contents (TOC) tree: When building the chunked html from the docbook - file, Table of Contents is generated as an Unordered List (a list made from - <code class="code"><ul> <li></code> tags). When page loads in the browser, we apply - styling to it to achieve the nice look that you see. Styling for TOC tree is done - by a JQuery UI plugin called <a class="ulink" href="http://bassistance.de/jquery-plugins/jquery-plugin-treeview/" target="_top"> - TreeView</a>. We can generate the tree easily by following javascript code: - </p><pre class="programlisting"> -//Generate the tree -$("#tree").treeview({ -collapsed: true, -animated: "medium", -control: "#sidetreecontrol", -persist: "cookie" -}); -</pre><p> - </p></li><li class="listitem"><p>Search Tab: This includes the search feature.</p></li></ul></div></li></ul></div><p> - <a id="id377141" class="indexterm"></a></p></div><script type="text/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch03.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch03.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch03s02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li id="webhelp-currentid"><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html> diff --git a/webhelp/docs/content/ch03s02.html b/webhelp/docs/content/ch03s02.html deleted file mode 100644 index 387f6a0..0000000 --- a/webhelp/docs/content/ch03s02.html +++ /dev/null @@ -1,130 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> -<meta http-equiv="X-UA-Compatible" content="IE=7"></meta> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> -<title>Search</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="ch03.html" title="Developer Docs"></link><link rel="prev" href="ch03s01.html" title="Design"></link><link rel="next" href="ch03s02s01.html" title="New Stemmers"></link><script type="text/javascript"> - //The id for tree cookie - var treeCookieId = "treeview-1055"; - var language = "en"; - var w = new Object(); - //Localization - txt_filesfound = 'Results'; - txt_enter_at_least_1_char = "You must enter at least one character."; - txt_browser_not_supported = "JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site."; - txt_please_wait = "Please wait. Search in progress..."; - txt_results_for = "Results for: "; - </script><link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"></link><link rel="stylesheet" type="text/css" href="../common/css/positioning.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/treeview/jquery.treeview.css"></link><style type="text/css"> -noscript{ - font-weight:bold; -} -input { - margin-bottom: 5px; - margin-top: 2px; -} -.folder { - display: block; - height: 22px; - padding-left: 20px; - background: transparent url(../common/jquery/treeview/images/folder.gif) 0 0px no-repeat; -} -span.contentsTab { - padding-left: 20px; - background: url(../common/images/toc-icon.png) no-repeat 0 center; -} -span.searchTab { - padding-left: 20px; - background: url(../common/images/search-icon.png) no-repeat 0 center; -} - -/* Overide jquery treeview's defaults for ul. */ -.treeview ul { - background-color: transparent; - margin-top: 4px; -} -#webhelp-currentid { - background-color: #D8D8D8 !important; -} -.treeview .hover { color: black; } -.filetree li span a { text-decoration: none; font-size: 12px; color: #517291; } - -/* Override jquery-ui's default css customizations. These are supposed to take precedence over those.*/ -.ui-widget-content { - border: 0px; - background: none; - color: none; -} -.ui-widget-header { - color: #e9e8e9; - border-left: 1px solid #e5e5e5; - border-right: 1px solid #e5e5e5; - border-bottom: 1px solid #bbc4c5; - border-top: 4px solid #e5e5e5; - border: medium none; - background: #F4F4F4; /* old browsers */ - background: -moz-linear-gradient(top, #F4F4F4 0%, #E6E4E5 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F4F4F4), color-stop(100%,#E6E4E5)); /* webkit */ - font-weight: none; -} -.ui-widget-header a { color: none; } -.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { -border: none; background: none; font-weight: none; color: none; } -.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: black; text-decoration: none; } -.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: none; background: none; font-weight: none; color: none; } - -.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: none; background: none; font-weight: none; color: none; } -.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { - color: black; text-decoration: none; - background: #C6C6C6; /* old browsers */ - background: -moz-linear-gradient(top, #C6C6C6 0%, #D8D8D8 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#C6C6C6), color-stop(100%,#D8D8D8)); /* webkit */ - -webkit-border-radius:15px; -moz-border-radius:10px; - border: 1px solid #f1f1f1; -} -.ui-corner-all { border-radius: 0 0 0 0; } - -.ui-tabs { padding: .2em;} -.ui-tabs .ui-tabs-nav li { top: 0px; margin: -2px 0 1px; text-transform: uppercase; font-size: 10.5px;} -.ui-tabs .ui-tabs-nav li a { padding: .25em 2em .25em 1em; margin: .5em; text-shadow: 0 1px 0 rgba(255,255,255,.5); } - </style><script type="text/javascript" src="../common/browserDetect.js"></script><script type="text/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="text/javascript" src="search/l10n.js"></script><script type="text/javascript" src="search/htmlFileInfoList.js"></script><script type="text/javascript" src="search/nwSearchFnt.js"></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"></script><script type="text/javascript" src="search/index-2.js"></script><script type="text/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Developer Docs</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar - </a></td><td><a accesskey="p" class="navLinkPrevious" tabindex="5" href="ch03s01.html">Prev</a> - | - <a accesskey="u" class="navLinkUp" tabindex="5" href="ch03.html">Up</a> - | - <a accesskey="n" class="navLinkNext" tabindex="5" href="ch03s02s01.html">Next</a></td></tr></table></div></div><div id="content"><noscript>JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site.</noscript><div class="section"><div xmlns="" class="titlepage"><div><div><h2 xmlns="http://www.w3.org/1999/xhtml" class="title" style="clear: both"><a id="id377151"></a>Search</h2></div></div></div> -<div class="toc"><dl><dt><span class="section"><a href="ch03s02s01.html">New Stemmers</a></span></dt></dl></div><p class="summary">Overview design of Search mechanism.</p><p>The serching is a fully client-side implementation of querying texts for content - searching. There's no server involved. So, the search queries by the users are processed by - JavaScript inside the browser, and displays the matching results by comparing the query with - a simplified 'index' that too resides in JavaScript. Mainly the search mechanism has two - parts. </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>Indexing: First we need to traverse the content in the docs/content folder and - index the words in it. This is done by <code class="filename">webhelpindexer.jar</code> in - <code class="filename">xsl/extentions/</code> folder. You can invoke it by <code class="code">ant - index</code> command from the root of webhelp of directory. The source of - webhelpindexer is now moved to it's own location at - <code class="filename">trunk/xsl-webhelpindexer/</code>. Checkout the Docbook trunk svn - directory to get this source. Then, do your changes and recompile it by simply running - <code class="code">ant</code> command. My assumption is that it can be opened by Netbeans IDE by - one click. Or if you are using IntelliJ Idea, you can simply create a new project from - existing sources. Indexer has extensive support for features such as word scoring, - stemming of words, and support for languages English, German, French. For CJK - (Chinese, Japanese, Korean) languages, it uses bi-gram tokenizing to break up the - words (since CJK languages does not have spaces between words).</p><p> When <code class="code">ant index</code> is run, it generates five output files: </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "><li class="listitem"><p><code class="filename">htmlFileList.js</code> - This contains an array named - <code class="code">fl</code> which stores details all the files indexed by the indexer. - Further, the doStem in it defines whether stemming should be used. It defaults - to false.</p></li><li class="listitem"><p><code class="filename">htmlFileInfoList.js</code> - This includes some meta data - about the indexed files in an array named <code class="code">fil</code>. It includes details - about file name, file (html) title, a summary of the content.Format would look - like, <code class="code">fil["4"]= "ch03.html@@@Developer Docs@@@This chapter provides an - overview of how webhelp is implemented.";</code> - </p></li><li class="listitem"><p><code class="filename">index-*.js</code> (Three index files) - These three files - actually stores the index of the content. Index is added to an array named - <code class="code">w</code>.</p></li></ul></div></li><li class="listitem"><p> Querying: Query processing happens totally in client side. Following JavaScript - files handles them. </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "><li class="listitem"><p><code class="filename">nwSearchFnt.js</code> - This handles the user query and - returns the search results. It does query word tokenizing, drop unnecessary - punctuations and common words, do stemming if docbook language supports it, - etc.</p></li><li class="listitem"><p><code class="filename">{$indexer-language-code}_stemmer.js</code> - This includes the - stemming library. <code class="filename">nwSearchFnt.js</code> file calls - <code class="code">stemmer</code> method in this file for stemming. ex: <code class="code">var stem = - stemmer(foobar);</code> - </p></li></ul></div><p> - </p></li></ul></div><p> - <a id="id377392" class="indexterm"></a></p></div><script type="text/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch03s01.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch03.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch03s02s01.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li id="webhelp-currentid"><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html> diff --git a/webhelp/docs/content/ch03s02s01.html b/webhelp/docs/content/ch03s02s01.html deleted file mode 100644 index 4e9cf80..0000000 --- a/webhelp/docs/content/ch03s02s01.html +++ /dev/null @@ -1,148 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> -<meta http-equiv="X-UA-Compatible" content="IE=7"></meta> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> -<title>New Stemmers</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="ch03s02.html" title="Search"></link><link rel="prev" href="ch03s02.html" title="Search"></link><link rel="next" href="ch04.html" title="FAQ"></link><script type="text/javascript"> - //The id for tree cookie - var treeCookieId = "treeview-1055"; - var language = "en"; - var w = new Object(); - //Localization - txt_filesfound = 'Results'; - txt_enter_at_least_1_char = "You must enter at least one character."; - txt_browser_not_supported = "JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site."; - txt_please_wait = "Please wait. Search in progress..."; - txt_results_for = "Results for: "; - </script><link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"></link><link rel="stylesheet" type="text/css" href="../common/css/positioning.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/treeview/jquery.treeview.css"></link><style type="text/css"> -noscript{ - font-weight:bold; -} -input { - margin-bottom: 5px; - margin-top: 2px; -} -.folder { - display: block; - height: 22px; - padding-left: 20px; - background: transparent url(../common/jquery/treeview/images/folder.gif) 0 0px no-repeat; -} -span.contentsTab { - padding-left: 20px; - background: url(../common/images/toc-icon.png) no-repeat 0 center; -} -span.searchTab { - padding-left: 20px; - background: url(../common/images/search-icon.png) no-repeat 0 center; -} - -/* Overide jquery treeview's defaults for ul. */ -.treeview ul { - background-color: transparent; - margin-top: 4px; -} -#webhelp-currentid { - background-color: #D8D8D8 !important; -} -.treeview .hover { color: black; } -.filetree li span a { text-decoration: none; font-size: 12px; color: #517291; } - -/* Override jquery-ui's default css customizations. These are supposed to take precedence over those.*/ -.ui-widget-content { - border: 0px; - background: none; - color: none; -} -.ui-widget-header { - color: #e9e8e9; - border-left: 1px solid #e5e5e5; - border-right: 1px solid #e5e5e5; - border-bottom: 1px solid #bbc4c5; - border-top: 4px solid #e5e5e5; - border: medium none; - background: #F4F4F4; /* old browsers */ - background: -moz-linear-gradient(top, #F4F4F4 0%, #E6E4E5 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F4F4F4), color-stop(100%,#E6E4E5)); /* webkit */ - font-weight: none; -} -.ui-widget-header a { color: none; } -.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { -border: none; background: none; font-weight: none; color: none; } -.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: black; text-decoration: none; } -.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: none; background: none; font-weight: none; color: none; } - -.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: none; background: none; font-weight: none; color: none; } -.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { - color: black; text-decoration: none; - background: #C6C6C6; /* old browsers */ - background: -moz-linear-gradient(top, #C6C6C6 0%, #D8D8D8 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#C6C6C6), color-stop(100%,#D8D8D8)); /* webkit */ - -webkit-border-radius:15px; -moz-border-radius:10px; - border: 1px solid #f1f1f1; -} -.ui-corner-all { border-radius: 0 0 0 0; } - -.ui-tabs { padding: .2em;} -.ui-tabs .ui-tabs-nav li { top: 0px; margin: -2px 0 1px; text-transform: uppercase; font-size: 10.5px;} -.ui-tabs .ui-tabs-nav li a { padding: .25em 2em .25em 1em; margin: .5em; text-shadow: 0 1px 0 rgba(255,255,255,.5); } - </style><script type="text/javascript" src="../common/browserDetect.js"></script><script type="text/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="text/javascript" src="search/l10n.js"></script><script type="text/javascript" src="search/htmlFileInfoList.js"></script><script type="text/javascript" src="search/nwSearchFnt.js"></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"></script><script type="text/javascript" src="search/index-2.js"></script><script type="text/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>Search</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar - </a></td><td><a accesskey="p" class="navLinkPrevious" tabindex="5" href="ch03s02.html">Prev</a> - | - <a accesskey="u" class="navLinkUp" tabindex="5" href="ch03s02.html">Up</a> - | - <a accesskey="n" class="navLinkNext" tabindex="5" href="ch04.html">Next</a></td></tr></table></div></div><div id="content"><noscript>JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site.</noscript><div class="section"><div xmlns="" class="titlepage"><div><div><h3 xmlns="http://www.w3.org/1999/xhtml" class="title"><a id="id377401"></a>New Stemmers</h3></div></div></div> -<p class="summary">Adding new Stemmers is very simple.</p><p>Currently, only English, French, and German stemmers are integrated in to WebHelp. But - the code is extensible such that you can add new stemmers easily by few steps.</p><p>What you need: </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>You'll need two versions of the stemmer; One written in JavaScript, and another - in Java. But fortunately, Snowball contains Java stemmers for number of popular - languages, and are already included with the package. You can see the full list in - <a class="ulink" href="ch02s04.html" target="_top">Adding support for other (non-CJKV) languages</a>. - If your language is listed there, Then you have to find javascript version of the - stemmer. Generally, new stemmers are getting added in to <a class="ulink" href="http://snowball.tartarus.org/otherlangs/index.html" target="_top">Snowball Stemmers in - other languages</a> location. If javascript stemmer for your language is - available, then download it. Else, you can write a new stemmer in JavaScript using - SnowBall algorithm fairly easily. Algorithms are at <a class="ulink" href="http://snowball.tartarus.org/" target="_top">Snowball</a>. </p></li><li class="listitem"><p>Then, name the JS stemmer exactly like this: - <code class="filename">{$language-code}_stemmer.js</code>. For example, for Italian(it), - name it as, <code class="filename">it_stemmer.js</code>. Then, copy it to the - <code class="filename">docbook-webhelp/template/content/search/stemmers/</code> folder. (I - assumed <code class="filename">docbook-webhelp</code> is the root folder for webhelp.) </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>Make sure you changed the <code class="code">webhelp.indexer.language</code> property in - <code class="filename">build.properties</code> to your language. </p></div><p> - </p></li><li class="listitem"><p>Now two easy changes needed for the indexer.</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "><li class="listitem"><p>Open - <code class="filename">docbook-webhelp/indexer/src/com/nexwave/nquindexer/IndexerTask.java</code> - in a text editor and add your language code to the - <code class="code">supportedLanguages</code> String Array. </p><div class="example"><a id="id377526"></a><p class="title"><strong>Example 2. Add new language to supportedLanguages array</strong></p><div class="example-contents"><p> change the Array from, - </p><pre class="programlisting"> -private String[] supportedLanguages= {"en", "de", "fr", "cn", "ja", "ko"}; - //currently extended support available for - // English, German, French and CJK (Chinese, Japanese, Korean) languages only. -</pre><p> - To,</p><pre class="programlisting"> -private String[] supportedLanguages= {"en", "de", "fr", "cn", "ja", "ko", <span class="emphasis"><em>"it"</em></span>}; - //currently extended support available for - // English, German, French, CJK (Chinese, Japanese, Korean), and Italian languages only. - </pre></div></div><br class="example-break"></br></li><li class="listitem"><p> Now, open - <code class="filename">docbook-webhelp/indexer/src/com/nexwave/nquindexer/SaxHTMLIndex.java</code> - and add the following line to the code where it initializes the Stemmer (Search - for <code class="code">SnowballStemmer stemmer;</code>). Then add code to initialize the - stemmer Object in your language. It's self understandable. See the example. The - class names are at: - <code class="filename">docbook-webhelp/indexer/src/com/nexwave/stemmer/snowball/ext/</code>. </p><div class="example"><a id="id377581"></a><p class="title"><strong>Example 3. Initialize correct stemmer based on the - <code class="code">webhelp.indexer.language</code> specified</strong></p><div class="example-contents"><pre class="programlisting"> - SnowballStemmer stemmer; - if(indexerLanguage.equalsIgnoreCase("en")){ - stemmer = new EnglishStemmer(); - } else if (indexerLanguage.equalsIgnoreCase("de")){ - stemmer= new GermanStemmer(); - } else if (indexerLanguage.equalsIgnoreCase("fr")){ - stemmer= new FrenchStemmer(); - } -<span class="emphasis"><em>else if (indexerLanguage.equalsIgnoreCase("it")){ //If language code is "it" (Italian) - stemmer= new italianStemmer(); //Initialize the stemmer to <code class="code">italianStemmer</code> object. - } </em></span> - else { - stemmer = null; - } -</pre></div></div><br class="example-break"></br></li></ul></div></li></ul></div><p> - </p><p>That's all. Now run <code class="code">ant build-indexer</code> to compile and build the java code. - Then, run <code class="code">ant webhelp</code> to generate the output from your docbook file. For any - questions, contact us or email to the docbook mailing list - <code class="email"><<a class="email" href="mailto:docbook-apps@lists.oasis-open.org">docbook-apps@lists.oasis-open.org</a>></code>.</p><a id="id377631" class="indexterm"></a></div><script type="text/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch03s02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch03s02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch04.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li id="webhelp-currentid"><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html> diff --git a/webhelp/docs/content/ch04.html b/webhelp/docs/content/ch04.html deleted file mode 100644 index 0977f54..0000000 --- a/webhelp/docs/content/ch04.html +++ /dev/null @@ -1,104 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> -<meta http-equiv="X-UA-Compatible" content="IE=7"></meta> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> -<title>FAQ</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><meta name="description" content="Frequently Asked Questions"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="prev" href="ch03s02s01.html" title="New Stemmers"></link><script type="text/javascript"> - //The id for tree cookie - var treeCookieId = "treeview-1055"; - var language = "en"; - var w = new Object(); - //Localization - txt_filesfound = 'Results'; - txt_enter_at_least_1_char = "You must enter at least one character."; - txt_browser_not_supported = "JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site."; - txt_please_wait = "Please wait. Search in progress..."; - txt_results_for = "Results for: "; - </script><link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"></link><link rel="stylesheet" type="text/css" href="../common/css/positioning.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/treeview/jquery.treeview.css"></link><style type="text/css"> -noscript{ - font-weight:bold; -} -input { - margin-bottom: 5px; - margin-top: 2px; -} -.folder { - display: block; - height: 22px; - padding-left: 20px; - background: transparent url(../common/jquery/treeview/images/folder.gif) 0 0px no-repeat; -} -span.contentsTab { - padding-left: 20px; - background: url(../common/images/toc-icon.png) no-repeat 0 center; -} -span.searchTab { - padding-left: 20px; - background: url(../common/images/search-icon.png) no-repeat 0 center; -} - -/* Overide jquery treeview's defaults for ul. */ -.treeview ul { - background-color: transparent; - margin-top: 4px; -} -#webhelp-currentid { - background-color: #D8D8D8 !important; -} -.treeview .hover { color: black; } -.filetree li span a { text-decoration: none; font-size: 12px; color: #517291; } - -/* Override jquery-ui's default css customizations. These are supposed to take precedence over those.*/ -.ui-widget-content { - border: 0px; - background: none; - color: none; -} -.ui-widget-header { - color: #e9e8e9; - border-left: 1px solid #e5e5e5; - border-right: 1px solid #e5e5e5; - border-bottom: 1px solid #bbc4c5; - border-top: 4px solid #e5e5e5; - border: medium none; - background: #F4F4F4; /* old browsers */ - background: -moz-linear-gradient(top, #F4F4F4 0%, #E6E4E5 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F4F4F4), color-stop(100%,#E6E4E5)); /* webkit */ - font-weight: none; -} -.ui-widget-header a { color: none; } -.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { -border: none; background: none; font-weight: none; color: none; } -.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: black; text-decoration: none; } -.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: none; background: none; font-weight: none; color: none; } - -.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: none; background: none; font-weight: none; color: none; } -.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { - color: black; text-decoration: none; - background: #C6C6C6; /* old browsers */ - background: -moz-linear-gradient(top, #C6C6C6 0%, #D8D8D8 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#C6C6C6), color-stop(100%,#D8D8D8)); /* webkit */ - -webkit-border-radius:15px; -moz-border-radius:10px; - border: 1px solid #f1f1f1; -} -.ui-corner-all { border-radius: 0 0 0 0; } - -.ui-tabs { padding: .2em;} -.ui-tabs .ui-tabs-nav li { top: 0px; margin: -2px 0 1px; text-transform: uppercase; font-size: 10.5px;} -.ui-tabs .ui-tabs-nav li a { padding: .25em 2em .25em 1em; margin: .5em; text-shadow: 0 1px 0 rgba(255,255,255,.5); } - </style><script type="text/javascript" src="../common/browserDetect.js"></script><script type="text/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="text/javascript" src="search/l10n.js"></script><script type="text/javascript" src="search/htmlFileInfoList.js"></script><script type="text/javascript" src="search/nwSearchFnt.js"></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"></script><script type="text/javascript" src="search/index-2.js"></script><script type="text/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br>FAQ</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar - </a></td><td><a accesskey="p" class="navLinkPrevious" tabindex="5" href="ch03s02s01.html">Prev</a> </td></tr></table></div></div><div id="content"><noscript>JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site.</noscript><div class="chapter"><div xmlns="" class="titlepage"><div><div><h1 xmlns="http://www.w3.org/1999/xhtml" class="title"><a id="id377643"></a>FAQ</h1></div></div></div> -<div class="qandaset"><a id="id377658"></a><dl><dt>1. <a href="ch04.html#id377660">On what browsers and operating systems WebHelp has tested extensively?</a></dt><dt>2. <a href="ch04.html#id377682">Apart from this demo, where can I find other demos or production deployments of - WebHelp?</a></dt><dt>3. <a href="ch04.html#id377705">When building the webhelp output, I'm getting the following error. What's the reason - for this?</a></dt><dt>4. <a href="ch04.html#id377741">Does WebHelp Indexer can index HTML transformation as well?</a></dt><dt>5. <a href="ch04.html#id377759">I need more information about webhelp-indexer. Where can I find it?</a></dt></dl><table border="0" style="width: 100%;"><colgroup><col align="left" width="1%"></col><col></col></colgroup><tbody><tr class="question"><td align="left" valign="top"><a id="id377660"></a><a id="id377663"></a><p><strong>1.</strong></p></td><td align="left" valign="top"><p>On what browsers and operating systems WebHelp has tested extensively?</p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p>We tested it with versions of most browsers including Firefox 3.x+, IE 7+, Chrome, - Safari, and iPod/iPhone. The JavaScript codes are mostly jquery plugins, so you’d want - to check the jquery support matrix for details.</p></td></tr><tr class="question"><td align="left" valign="top"><a id="id377682"></a><a id="id377684"></a><p><strong>2.</strong></p></td><td align="left" valign="top"><p>Apart from this demo, where can I find other demos or production deployments of - WebHelp?</p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p>There are four production deployments provided in <a class="ulink" href="http://wiki.docbook.org/WebHelp" target="_top">WebHelp wiki</a> currently.</p></td></tr><tr class="question"><td align="left" valign="top"><a id="id377705"></a><a id="id377707"></a><p><strong>3.</strong></p></td><td align="left" valign="top"><p>When building the webhelp output, I'm getting the following error. What's the reason - for this?</p><pre class="programlisting">[xslt] : Warning! file:/C:/Users/kasun/docbook-xsl-1.77.0/xhtml/autoidx.xsl: - line 596: Attribute 'href' outside of element. -[xslt] : Warning! file:/C:/Users/kasun/docbook-xsl-1.77.0/xhtml/autoidx.xsl: - line 596: Attribute 'href' outside of element.</pre><p>----</p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p>This happens if you haven't done the step 3 and 4 of webhelp build guide "Generating - webhelp output" in the documentation. Basically, you need to correctly set the following - folder - paths.</p><pre class="programlisting">xslt-processor-classpath=/usr/share/java/saxon-6.5.5.jar -xercesImpl.jar=/usr/share/java/xercesImpl.jar -xml-apis.jar=/usr/share/java/xml-apis.jar</pre></td></tr><tr class="question"><td align="left" valign="top"><a id="id377741"></a><a id="id377743"></a><p><strong>4.</strong></p></td><td align="left" valign="top"><p>Does WebHelp Indexer can index HTML transformation as well?</p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p>Yes, WebHelp supports HTML transformations as well in addition to XHTML.</p></td></tr><tr class="question"><td align="left" valign="top"><a id="id377759"></a><a id="id377761"></a><p><strong>5.</strong></p></td><td align="left" valign="top"><p>I need more information about webhelp-indexer. Where can I find it?</p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p>The DocBook Webhelp Indexer is based on the HTMLSearch plugin for DITA. See <a class="ulink" href="http://www.helpml.com:8088/help/index.jsp?topic=/org.sample.help.doc/htmlsearch/DHSC_BestPractices_htmlsearch.html" target="_top">HTMLSearch documentation </a> for more information.</p></td></tr></tbody></table></div><a id="id377784" class="indexterm"></a></div><script type="text/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch03s02s01.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> </td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li id="webhelp-currentid"><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html> diff --git a/webhelp/docs/content/ch05.html b/webhelp/docs/content/ch05.html deleted file mode 100644 index 0ae4fcc..0000000 --- a/webhelp/docs/content/ch05.html +++ /dev/null @@ -1,88 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> -<meta http-equiv="X-UA-Compatible" content="IE=7"></meta> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> -<title>Chapter 5. Test section</title><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot_9183"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="prev" href="ch04.html" title="Chapter 4. FAQ"></link><link rel="next" href="ch05s01.html" title="5.1. Some problematic search words"></link><script type="text/javascript"> - //The id for tree cookie - var treeCookieId = "treeview-1093"; - var language = "en"; - var w = new Object(); - //Localization - txt_filesfound = 'Results'; - txt_enter_at_least_1_char = "You must enter at least one character."; - txt_browser_not_supported = "Your browser is not supported. Use of Mozilla Firefox is recommended."; - txt_please_wait = "Please wait. Search in progress..."; - txt_results_for = "Results for: "; - </script><link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"></link><link rel="stylesheet" type="text/css" href="../common/css/positioning.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/treeview/jquery.treeview.css"></link><style type="text/css"> -input { - margin-bottom: 5px; - margin-top: 2px; -} -.folder { - display: block; - height: 22px; - padding-left: 20px; - background: transparent url(../common/jquery/treeview/images/folder.gif) 0 0px no-repeat; -} -span.contentsTab { - padding-left: 20px; - background: url(../common/images/toc-icon.png) no-repeat 0 center; -} -span.searchTab { - padding-left: 20px; - background: url(../common/images/search-icon.png) no-repeat 0 center; -} - -/* Overide jquery treeview's defaults for ul. */ -.treeview ul { - background-color: transparent; - margin-top: 4px; -} -#webhelp-currentid { - background-color: #D8D8D8 !important; -} -.treeview .hover { color: black; } -.filetree li span a { text-decoration: none; font-size: 12px; color: #517291; } - -/* Override jquery-ui's default css customizations. These are supposed to take precedence over those.*/ -.ui-widget-content { - border: 0px; - background: none; - color: none; -} -.ui-widget-header { - color: #e9e8e9; - border-left: 1px solid #e5e5e5; - border-right: 1px solid #e5e5e5; - border-bottom: 1px solid #bbc4c5; - border-top: 4px solid #e5e5e5; - border: medium none; - background: #F4F4F4; /* old browsers */ - background: -moz-linear-gradient(top, #F4F4F4 0%, #E6E4E5 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F4F4F4), color-stop(100%,#E6E4E5)); /* webkit */ - font-weight: none; -} -.ui-widget-header a { color: none; } -.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { -border: none; background: none; font-weight: none; color: none; } -.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: black; text-decoration: none; } -.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: none; background: none; font-weight: none; color: none; } - -.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: none; background: none; font-weight: none; color: none; } -.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { - color: black; text-decoration: none; - background: #C6C6C6; /* old browsers */ - background: -moz-linear-gradient(top, #C6C6C6 0%, #D8D8D8 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#C6C6C6), color-stop(100%,#D8D8D8)); /* webkit */ - -webkit-border-radius:15px; -moz-border-radius:10px; - border: 1px solid #f1f1f1; -} -.ui-corner-all { border-radius: 0 0 0 0; } - -.ui-tabs { padding: .2em;} -.ui-tabs .ui-tabs-nav li { top: 0px; margin: -2px 0 1px; text-transform: uppercase; font-size: 10.5px;} -.ui-tabs .ui-tabs-nav li a { padding: .25em 2em .25em 1em; margin: .5em; text-shadow: 0 1px 0 rgba(255,255,255,.5); } - </style><script type="text/javascript" src="../common/browserDetect.js"></script><script type="text/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="text/javascript" src="search/l10n.js"></script><script type="text/javascript" src="search/htmlFileList.js"></script><script type="text/javascript" src="search/htmlFileInfoList.js"></script><script type="text/javascript" src="search/nwSearchFnt.js"></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"></script><script type="text/javascript" src="search/index-2.js"></script><script type="text/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="http://docbook.org/"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt="DocBook Documentation"></img></a><h1 align="center">README: Web-based Help from DocBook XML<br></br> </h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar - </a></td><td><a accesskey="p" class="navLinkPrevious" tabindex="5" href="ch04.html">Prev</a> - | - <a accesskey="n" class="navLinkNext" tabindex="5" href="ch05s01.html">Next</a></td></tr></table></div></div><div id="content"><div class="chapter"><div class="titlepage"><div><div><h2 class="title"><a id="id594686"></a>Chapter 5. Test section</h2></div></div></div><div class="toc"><p><strong>Contents</strong></p><dl><dt><span class="section"><a href="ch05s01.html">5.1. Some problematic search words</a></span></dt><dt><span class="section"><a href="ch05s02.html">5.2. Some problematic search words (inflected)</a></span></dt></dl></div></div><script type="text/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch04.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ch05s01.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02.html#id593592" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02.html#id594387" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li><li id="webhelp-currentid"><span class="file"><a href="ch05.html" tabindex="1">Test section</a></span><ul><li><span class="file"><a href="ch05s01.html" tabindex="1">Some problematic search words</a></span></li><li><span class="file"><a href="ch05s02.html" tabindex="1">Some problematic search words (inflected)</a></span></li></ul></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="text" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html> diff --git a/webhelp/docs/content/ch05s01.html b/webhelp/docs/content/ch05s01.html deleted file mode 100644 index 2a7ed33..0000000 --- a/webhelp/docs/content/ch05s01.html +++ /dev/null @@ -1,90 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> -<meta http-equiv="X-UA-Compatible" content="IE=7"></meta> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> -<title>5.1. Some problematic search words</title><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot_9183"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="ch05.html" title="Chapter 5. Test section"></link><link rel="prev" href="ch05.html" title="Chapter 5. Test section"></link><link rel="next" href="ch05s02.html" title="5.2. Some problematic search words (inflected)"></link><script type="text/javascript"> - //The id for tree cookie - var treeCookieId = "treeview-1093"; - var language = "en"; - var w = new Object(); - //Localization - txt_filesfound = 'Results'; - txt_enter_at_least_1_char = "You must enter at least one character."; - txt_browser_not_supported = "Your browser is not supported. Use of Mozilla Firefox is recommended."; - txt_please_wait = "Please wait. Search in progress..."; - txt_results_for = "Results for: "; - </script><link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"></link><link rel="stylesheet" type="text/css" href="../common/css/positioning.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/treeview/jquery.treeview.css"></link><style type="text/css"> -input { - margin-bottom: 5px; - margin-top: 2px; -} -.folder { - display: block; - height: 22px; - padding-left: 20px; - background: transparent url(../common/jquery/treeview/images/folder.gif) 0 0px no-repeat; -} -span.contentsTab { - padding-left: 20px; - background: url(../common/images/toc-icon.png) no-repeat 0 center; -} -span.searchTab { - padding-left: 20px; - background: url(../common/images/search-icon.png) no-repeat 0 center; -} - -/* Overide jquery treeview's defaults for ul. */ -.treeview ul { - background-color: transparent; - margin-top: 4px; -} -#webhelp-currentid { - background-color: #D8D8D8 !important; -} -.treeview .hover { color: black; } -.filetree li span a { text-decoration: none; font-size: 12px; color: #517291; } - -/* Override jquery-ui's default css customizations. These are supposed to take precedence over those.*/ -.ui-widget-content { - border: 0px; - background: none; - color: none; -} -.ui-widget-header { - color: #e9e8e9; - border-left: 1px solid #e5e5e5; - border-right: 1px solid #e5e5e5; - border-bottom: 1px solid #bbc4c5; - border-top: 4px solid #e5e5e5; - border: medium none; - background: #F4F4F4; /* old browsers */ - background: -moz-linear-gradient(top, #F4F4F4 0%, #E6E4E5 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F4F4F4), color-stop(100%,#E6E4E5)); /* webkit */ - font-weight: none; -} -.ui-widget-header a { color: none; } -.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { -border: none; background: none; font-weight: none; color: none; } -.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: black; text-decoration: none; } -.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: none; background: none; font-weight: none; color: none; } - -.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: none; background: none; font-weight: none; color: none; } -.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { - color: black; text-decoration: none; - background: #C6C6C6; /* old browsers */ - background: -moz-linear-gradient(top, #C6C6C6 0%, #D8D8D8 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#C6C6C6), color-stop(100%,#D8D8D8)); /* webkit */ - -webkit-border-radius:15px; -moz-border-radius:10px; - border: 1px solid #f1f1f1; -} -.ui-corner-all { border-radius: 0 0 0 0; } - -.ui-tabs { padding: .2em;} -.ui-tabs .ui-tabs-nav li { top: 0px; margin: -2px 0 1px; text-transform: uppercase; font-size: 10.5px;} -.ui-tabs .ui-tabs-nav li a { padding: .25em 2em .25em 1em; margin: .5em; text-shadow: 0 1px 0 rgba(255,255,255,.5); } - </style><script type="text/javascript" src="../common/browserDetect.js"></script><script type="text/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="text/javascript" src="search/l10n.js"></script><script type="text/javascript" src="search/htmlFileList.js"></script><script type="text/javascript" src="search/htmlFileInfoList.js"></script><script type="text/javascript" src="search/nwSearchFnt.js"></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"></script><script type="text/javascript" src="search/index-2.js"></script><script type="text/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="http://docbook.org/"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt="DocBook Documentation"></img></a><h1 align="center">README: Web-based Help from DocBook XML<br></br>Chapter 5. Test section</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar - </a></td><td><a accesskey="p" class="navLinkPrevious" tabindex="5" href="ch05.html">Prev</a> - | - <a accesskey="u" class="navLinkUp" tabindex="5" href="ch05.html">Up</a> - | - <a accesskey="n" class="navLinkNext" tabindex="5" href="ch05s02.html">Next</a></td></tr></table></div></div><div id="content"><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="id594692"></a>5.1. Some problematic search words</h2></div></div></div><p>buy, say, by, vary, try, sky, nucleus, day, key, currency, currencies, build.xml, foo</p></div><script type="text/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch05.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch05.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch05s02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02.html#id593592" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02.html#id594387" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li><li><span class="file"><a href="ch05.html" tabindex="1">Test section</a></span><ul><li id="webhelp-currentid"><span class="file"><a href="ch05s01.html" tabindex="1">Some problematic search words</a></span></li><li><span class="file"><a href="ch05s02.html" tabindex="1">Some problematic search words (inflected)</a></span></li></ul></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="text" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html> diff --git a/webhelp/docs/content/ch05s02.html b/webhelp/docs/content/ch05s02.html deleted file mode 100644 index 0dc43c9..0000000 --- a/webhelp/docs/content/ch05s02.html +++ /dev/null @@ -1,88 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> -<meta http-equiv="X-UA-Compatible" content="IE=7"></meta> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> -<title>5.2. Some problematic search words (inflected)</title><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot_9183"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="up" href="ch05.html" title="Chapter 5. Test section"></link><link rel="prev" href="ch05s01.html" title="5.1. Some problematic search words"></link><script type="text/javascript"> - //The id for tree cookie - var treeCookieId = "treeview-1093"; - var language = "en"; - var w = new Object(); - //Localization - txt_filesfound = 'Results'; - txt_enter_at_least_1_char = "You must enter at least one character."; - txt_browser_not_supported = "Your browser is not supported. Use of Mozilla Firefox is recommended."; - txt_please_wait = "Please wait. Search in progress..."; - txt_results_for = "Results for: "; - </script><link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"></link><link rel="stylesheet" type="text/css" href="../common/css/positioning.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/treeview/jquery.treeview.css"></link><style type="text/css"> -input { - margin-bottom: 5px; - margin-top: 2px; -} -.folder { - display: block; - height: 22px; - padding-left: 20px; - background: transparent url(../common/jquery/treeview/images/folder.gif) 0 0px no-repeat; -} -span.contentsTab { - padding-left: 20px; - background: url(../common/images/toc-icon.png) no-repeat 0 center; -} -span.searchTab { - padding-left: 20px; - background: url(../common/images/search-icon.png) no-repeat 0 center; -} - -/* Overide jquery treeview's defaults for ul. */ -.treeview ul { - background-color: transparent; - margin-top: 4px; -} -#webhelp-currentid { - background-color: #D8D8D8 !important; -} -.treeview .hover { color: black; } -.filetree li span a { text-decoration: none; font-size: 12px; color: #517291; } - -/* Override jquery-ui's default css customizations. These are supposed to take precedence over those.*/ -.ui-widget-content { - border: 0px; - background: none; - color: none; -} -.ui-widget-header { - color: #e9e8e9; - border-left: 1px solid #e5e5e5; - border-right: 1px solid #e5e5e5; - border-bottom: 1px solid #bbc4c5; - border-top: 4px solid #e5e5e5; - border: medium none; - background: #F4F4F4; /* old browsers */ - background: -moz-linear-gradient(top, #F4F4F4 0%, #E6E4E5 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F4F4F4), color-stop(100%,#E6E4E5)); /* webkit */ - font-weight: none; -} -.ui-widget-header a { color: none; } -.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { -border: none; background: none; font-weight: none; color: none; } -.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: black; text-decoration: none; } -.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: none; background: none; font-weight: none; color: none; } - -.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: none; background: none; font-weight: none; color: none; } -.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { - color: black; text-decoration: none; - background: #C6C6C6; /* old browsers */ - background: -moz-linear-gradient(top, #C6C6C6 0%, #D8D8D8 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#C6C6C6), color-stop(100%,#D8D8D8)); /* webkit */ - -webkit-border-radius:15px; -moz-border-radius:10px; - border: 1px solid #f1f1f1; -} -.ui-corner-all { border-radius: 0 0 0 0; } - -.ui-tabs { padding: .2em;} -.ui-tabs .ui-tabs-nav li { top: 0px; margin: -2px 0 1px; text-transform: uppercase; font-size: 10.5px;} -.ui-tabs .ui-tabs-nav li a { padding: .25em 2em .25em 1em; margin: .5em; text-shadow: 0 1px 0 rgba(255,255,255,.5); } - </style><script type="text/javascript" src="../common/browserDetect.js"></script><script type="text/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="text/javascript" src="search/l10n.js"></script><script type="text/javascript" src="search/htmlFileList.js"></script><script type="text/javascript" src="search/htmlFileInfoList.js"></script><script type="text/javascript" src="search/nwSearchFnt.js"></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"></script><script type="text/javascript" src="search/index-2.js"></script><script type="text/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="http://docbook.org/"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt="DocBook Documentation"></img></a><h1 align="center">README: Web-based Help from DocBook XML<br></br>Chapter 5. Test section</h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar - </a></td><td><a accesskey="p" class="navLinkPrevious" tabindex="5" href="ch05s01.html">Prev</a> - | - <a accesskey="u" class="navLinkUp" tabindex="5" href="ch05.html">Up</a></td></tr></table></div></div><div id="content"><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="id594702"></a>5.2. Some problematic search words (inflected)</h2></div></div></div><p>buys, says, varies, tries, skies, nuclei, days, keys, currencies, build.xml, foo.</p></div><script type="text/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch05s01.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch05.html">Up</a></td><td width="40%" align="right"> </td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02.html#id593592" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02.html#id594387" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li><li><span class="file"><a href="ch05.html" tabindex="1">Test section</a></span><ul><li><span class="file"><a href="ch05s01.html" tabindex="1">Some problematic search words</a></span></li><li id="webhelp-currentid"><span class="file"><a href="ch05s02.html" tabindex="1">Some problematic search words (inflected)</a></span></li></ul></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="text" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html> diff --git a/webhelp/docs/content/images/sample.jpg b/webhelp/docs/content/images/sample.jpg Binary files differdeleted file mode 100644 index d8ec5c3..0000000 --- a/webhelp/docs/content/images/sample.jpg +++ /dev/null diff --git a/webhelp/docs/content/index.html b/webhelp/docs/content/index.html deleted file mode 100644 index 952848f..0000000 --- a/webhelp/docs/content/index.html +++ /dev/null @@ -1,135 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> -<meta http-equiv="X-UA-Compatible" content="IE=7"></meta> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> -<title>README: Web-based Help from DocBook XML</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"></meta><link rel="home" href="index.html" title="README: Web-based Help from DocBook XML"></link><link rel="next" href="ch01.html" title="Introduction"></link><script type="text/javascript"> - //The id for tree cookie - var treeCookieId = "treeview-1055"; - var language = "en"; - var w = new Object(); - //Localization - txt_filesfound = 'Results'; - txt_enter_at_least_1_char = "You must enter at least one character."; - txt_browser_not_supported = "JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site."; - txt_please_wait = "Please wait. Search in progress..."; - txt_results_for = "Results for: "; - </script><link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"></link><link rel="stylesheet" type="text/css" href="../common/css/positioning.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css"></link><link rel="stylesheet" type="text/css" href="../common/jquery/treeview/jquery.treeview.css"></link><style type="text/css"> -noscript{ - font-weight:bold; -} -input { - margin-bottom: 5px; - margin-top: 2px; -} -.folder { - display: block; - height: 22px; - padding-left: 20px; - background: transparent url(../common/jquery/treeview/images/folder.gif) 0 0px no-repeat; -} -span.contentsTab { - padding-left: 20px; - background: url(../common/images/toc-icon.png) no-repeat 0 center; -} -span.searchTab { - padding-left: 20px; - background: url(../common/images/search-icon.png) no-repeat 0 center; -} - -/* Overide jquery treeview's defaults for ul. */ -.treeview ul { - background-color: transparent; - margin-top: 4px; -} -#webhelp-currentid { - background-color: #D8D8D8 !important; -} -.treeview .hover { color: black; } -.filetree li span a { text-decoration: none; font-size: 12px; color: #517291; } - -/* Override jquery-ui's default css customizations. These are supposed to take precedence over those.*/ -.ui-widget-content { - border: 0px; - background: none; - color: none; -} -.ui-widget-header { - color: #e9e8e9; - border-left: 1px solid #e5e5e5; - border-right: 1px solid #e5e5e5; - border-bottom: 1px solid #bbc4c5; - border-top: 4px solid #e5e5e5; - border: medium none; - background: #F4F4F4; /* old browsers */ - background: -moz-linear-gradient(top, #F4F4F4 0%, #E6E4E5 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F4F4F4), color-stop(100%,#E6E4E5)); /* webkit */ - font-weight: none; -} -.ui-widget-header a { color: none; } -.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { -border: none; background: none; font-weight: none; color: none; } -.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: black; text-decoration: none; } -.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: none; background: none; font-weight: none; color: none; } - -.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: none; background: none; font-weight: none; color: none; } -.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { - color: black; text-decoration: none; - background: #C6C6C6; /* old browsers */ - background: -moz-linear-gradient(top, #C6C6C6 0%, #D8D8D8 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#C6C6C6), color-stop(100%,#D8D8D8)); /* webkit */ - -webkit-border-radius:15px; -moz-border-radius:10px; - border: 1px solid #f1f1f1; -} -.ui-corner-all { border-radius: 0 0 0 0; } - -.ui-tabs { padding: .2em;} -.ui-tabs .ui-tabs-nav li { top: 0px; margin: -2px 0 1px; text-transform: uppercase; font-size: 10.5px;} -.ui-tabs .ui-tabs-nav li a { padding: .25em 2em .25em 1em; margin: .5em; text-shadow: 0 1px 0 rgba(255,255,255,.5); } - </style><script type="text/javascript" src="../common/browserDetect.js"></script><script type="text/javascript" src="../common/jquery/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../common/jquery/jquery.cookie.js"></script><script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"></script><script type="text/javascript" src="search/l10n.js"></script><script type="text/javascript" src="search/htmlFileInfoList.js"></script><script type="text/javascript" src="search/nwSearchFnt.js"></script><script type="text/javascript" src="search/stemmers/en_stemmer.js"><!--//make this scalable to other languages as well.--></script><script type="text/javascript" src="search/index-1.js"></script><script type="text/javascript" src="search/index-2.js"></script><script type="text/javascript" src="search/index-3.js"></script></head><body><div id="header"><a target="_blank" href="#"><img style="margin-right: 2px; height: 59px; padding-right: 25px; padding-top: 8px" align="right" src="../common/images/logo.png" alt=" Documentation"></img></a><h1>README: Web-based Help from DocBook XML<br></br> </h1><div id="navheader"><table class="navLinks"><tr><td><a id="showHideButton" href="javascript:showHideToc();" class="pointLeft" tabindex="5" title="Hide TOC tree">Sidebar - </a></td><td> - | - <a accesskey="n" class="navLinkNext" tabindex="5" href="ch01.html">Next</a></td></tr></table></div></div><div id="content"><noscript>JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site.</noscript><div class="book"><div xmlns="" class="titlepage"> -<div> -<div><h1 xmlns="http://www.w3.org/1999/xhtml" class="title"><a id="id275648"></a>README: Web-based Help from DocBook XML</h1></div> -<div><div xmlns="http://www.w3.org/1999/xhtml" class="author"><h3 class="author"><span class="firstname">David</span> <span class="surname">Cramer</span></h3><code class="email"><<a class="email" href="mailto:david AT thingbag DOT net">david AT thingbag DOT net</a>></code></div></div> -<div><div xmlns="http://www.w3.org/1999/xhtml" class="author"><h3 class="author"><span class="firstname">Kasun</span> <span class="surname">Gajasinghe</span></h3><code class="email"><<a class="email" href="mailto:kasunbg AT gmail DOT com">kasunbg AT gmail DOT com</a>></code></div></div> -<div><p xmlns="http://www.w3.org/1999/xhtml" class="copyright">Copyright © 2008-2012 Kasun Gajasinghe, David Cramer</p></div> -<div><div xmlns="http://www.w3.org/1999/xhtml" class="legalnotice"><a id="id375193"></a><p>Permission is hereby granted, free of charge, to any person obtaining a copy of this - software and associated documentation files (the <span class="quote">“<span class="quote">Software</span>”</span>), 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: </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software.</p></li><li class="listitem"><p>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.</p></li><li class="listitem"><p>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.</p></li></ul></div><p><strong>Warranty: </strong>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.</p><p>This package is maintained by Kasun Gajasinghe, <code class="email"><<a class="email" href="mailto:kasunbg AT gmail DOT com">kasunbg AT gmail DOT com</a>></code> - and David Cramer, <code class="email"><<a class="email" href="mailto:david AT thingbag DOT net">david AT thingbag DOT net</a>></code>.</p><p>This package also includes the following software written and copyrighted by others:</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>Files in <code class="filename">template/common/jquery</code> are - copyrighted by <a class="ulink" href="http://jquery.com/" target="_top">JQuery</a> under the MIT License. - The file <code class="filename">jquery.cookie.js</code> Copyright (c) 2006 Klaus Hartl under - the MIT license.</p><a id="id375285" class="indexterm"></a></li><li class="listitem"><p>Some files in the <code class="filename">template/content/search</code> - and <code class="filename">indexer</code> directories were originally part of - N. Quaine's htmlsearch DITA plugin. The htmlsearch DITA plugin is available from the - <a class="ulink" href="http://tech.groups.yahoo.com/group/dita-users/files/Demos/" target="_top">files - page</a> of the DITA-users yahoogroup. The htmlsearch plugin was released under - a BSD-style license. See <code class="filename">indexer/license.txt</code> for details. <a id="id375327" class="indexterm"></a> - <a id="id374881" class="indexterm"></a></p></li><li class="listitem"><p>Stemmers from the <a class="ulink" href="http://snowball.tartarus.org/texts/stemmersoverview.html" target="_top">Snowball - project</a> released under a BSD license.</p></li><li class="listitem"><p>Code from the <a class="ulink" href="http://lucene.apache.org/" target="_top">Apache Lucene</a> search - engine provides support for tokenizing Chinese, Japanese, and Korean content released - under the Apache 2.0 license. </p></li><li class="listitem"><p>Code that provides weighted search results and some - other improvements was graciously donated by <a class="ulink" href="http://www.oxygenxml.com" target="_top">SyncRO Soft - Ltd.</a>, the publishers of the oXygen XML - Editor.</p></li><li class="listitem"><p>Cosmetic improvements provided by <a class="ulink" href="http://docs.openstack.org" target="_top">OpenStack</a>.</p></li></ul></div><p> Webhelp for DocBook was first developed as a <a class="ulink" href="http://code.google.com/soc/" target="_top">Google Summer of Code</a> project. </p></div></div> -<div><p xmlns="http://www.w3.org/1999/xhtml" class="pubdate">January 2012</p></div> -</div> -<hr> -</div> -<div class="list-of-figures"><p><strong>List of Figures</strong></p><dl><dt>1. <a href="ch02s05.html#id376944">Sample Image</a></dt></dl></div><div class="list-of-examples"><p><strong>List of Examples</strong></p><dl><dt>1. <a href="ch02s05.html#id376967">Example code for adding images. Note down the relative path used</a></dt><dt>2. <a href="ch03s02s01.html#id377526">Add new language to supportedLanguages array</a></dt><dt>3. <a href="ch03s02s01.html#id377581">Initialize correct stemmer based on the - <code class="code">webhelp.indexer.language</code> specified</a></dt></dl></div></div><script type="text/javascript" src="../common/main.js"></script><div class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ch01.html">Next</a></td></tr></table></div></div><div id="sidebar"><div id="leftnavigation" style="padding-top:3px;"><div id="tabs"><ul><li><a href="#treeDiv" style="outline:0;" tabindex="1"><span class="contentsTab">Contents</span></a></li><li><a href="#searchDiv" style="outline:0;" tabindex="1" onclick="doSearch()"><span class="searchTab">Search</span></a></li></ul><div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading" style="display:block;"></img><div id="ulTreeDiv" style="display:none"><ul id="tree" class="filetree"><li><span class="file"><a href="ch01.html" tabindex="1">Introduction</a></span></li><li><span class="file"><a href="ch02.html" tabindex="1">Using the package</a></span><ul><li><span class="file"><a href="ch02s01.html" tabindex="1">Generating webhelp output</a></span></li><li><span class="file"><a href="ch02s02.html" tabindex="1">Using and customizing the output</a></span><ul><li><span class="file"><a href="ch02s02s01.html" tabindex="1">Recommended Apache configurations</a></span></li></ul></li><li><span class="file"><a href="ch02s03.html" tabindex="1">Search indexing</a></span></li><li><span class="file"><a href="ch02s04.html" tabindex="1">Adding support for other (non-CJKV) languages</a></span></li><li><span class="file"><a href="ch02s05.html" tabindex="1">Adding images</a></span></li></ul></li><li><span class="file"><a href="ch03.html" tabindex="1">Developer Docs</a></span><ul><li><span class="file"><a href="ch03s01.html" tabindex="1">Design</a></span></li><li><span class="file"><a href="ch03s02.html" tabindex="1">Search</a></span><ul><li><span class="file"><a href="ch03s02s01.html" tabindex="1">New Stemmers</a></span></li></ul></li></ul></li><li><span class="file"><a href="ch04.html" tabindex="1">FAQ</a></span></li></ul></div></div><div id="searchDiv"><div id="search"><form onsubmit="Verifie(searchForm);return false" name="searchForm" class="searchForm"><fieldset class="searchFieldSet"><legend>Search</legend><center><input id="textToSearch" name="textToSearch" type="search" class="searchText" tabindex="1"></input> <input onclick="Verifie(searchForm)" type="button" class="searchButton" value="Go" id="doSearch" tabindex="1"></input></center></fieldset></form></div><div id="searchResults"><center></center></div><p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div></div></div></div></body></html> diff --git a/webhelp/docs/content/search/htmlFileInfoList.js b/webhelp/docs/content/search/htmlFileInfoList.js deleted file mode 100644 index 43430f7..0000000 --- a/webhelp/docs/content/search/htmlFileInfoList.js +++ /dev/null @@ -1,38 +0,0 @@ -var doStem = true; -//List of indexed files. -fl = new Array(); -fl["0"]= "ch04.html"; -fl["1"]= "ch05s01.html"; -fl["2"]= "ch03s02.html"; -fl["3"]= "index.html"; -fl["4"]= "ch02s02s01.html"; -fl["5"]= "ch03s01.html"; -fl["6"]= "ch01.html"; -fl["7"]= "ch02.html"; -fl["8"]= "ch02s01.html"; -fl["9"]= "ch02s03.html"; -fl["10"]= "ch03s02s01.html"; -fl["11"]= "ch05.html"; -fl["12"]= "ch03.html"; -fl["13"]= "ch02s05.html"; -fl["14"]= "ch02s04.html"; -fl["15"]= "ch02s02.html"; -fl["16"]= "ch05s02.html"; -fil = new Array(); -fil["0"]= "ch04.html@@@FAQ@@@Frequently Asked Questions..."; -fil["1"]= "ch05s01.html@@@5.1. Some problematic search words@@@null"; -fil["2"]= "ch03s02.html@@@Search@@@Overview design of Search mechanism..."; -fil["3"]= "index.html@@@README: Web-based Help from DocBook XML@@@null"; -fil["4"]= "ch02s02s01.html@@@@@@null"; -fil["5"]= "ch03s01.html@@@Design@@@An overview of webhelp page structure..."; -fil["6"]= "ch01.html@@@Introduction@@@Overview of the package..."; -fil["7"]= "ch02.html@@@Using the package@@@The following sections describe how to install and use the package on Windows..."; -fil["8"]= "ch02s01.html@@@Generating webhelp output@@@Installation instructions..."; -fil["9"]= "ch02s03.html@@@Search indexing@@@To build the indexer, you must have installed the JDK version 1.5 or higher and set the ANT_HOME environment variable..."; -fil["10"]= "ch03s02s01.html@@@New Stemmers@@@Adding new Stemmers is very simple..."; -fil["11"]= "ch05.html@@@Chapter 5. Test section@@@null"; -fil["12"]= "ch03.html@@@Developer Docs@@@This chapter provides an overview of how webhelp is implemented..."; -fil["13"]= "ch02s05.html@@@Adding images@@@null"; -fil["14"]= "ch02s04.html@@@Adding support for other (non-CJKV) languages@@@null"; -fil["15"]= "ch02s02.html@@@Using and customizing the output@@@null"; -fil["16"]= "ch05s02.html@@@5.2. Some problematic search words (inflected)@@@null"; diff --git a/webhelp/docs/content/search/htmlFileList.js b/webhelp/docs/content/search/htmlFileList.js deleted file mode 100644 index 5562796..0000000 --- a/webhelp/docs/content/search/htmlFileList.js +++ /dev/null @@ -1,18 +0,0 @@ -//List of files which are indexed. -fl = new Array(); -fl["0"]= "ch04.html"; -fl["1"]= "ch05s01.html"; -fl["2"]= "ch03s02.html"; -fl["3"]= "index.html"; -fl["4"]= "ch03s01.html"; -fl["5"]= "ch01.html"; -fl["6"]= "ch02.html"; -fl["7"]= "ch02s01.html"; -fl["8"]= "ch02s03.html"; -fl["9"]= "ch05.html"; -fl["10"]= "ch03.html"; -fl["11"]= "ch02s05.html"; -fl["12"]= "ch02s04.html"; -fl["13"]= "ch02s02.html"; -fl["14"]= "ch05s02.html"; -var doStem = true
\ No newline at end of file diff --git a/webhelp/docs/content/search/index-1.js b/webhelp/docs/content/search/index-1.js deleted file mode 100644 index dea25ac..0000000 --- a/webhelp/docs/content/search/index-1.js +++ /dev/null @@ -1,379 +0,0 @@ -var indexerLanguage="en"; -//Auto generated index for searching by xsl-webhelpindexer for DocBook Webhelp.# Kasun Gajasinghe, University of Moratuwa -w["-"]="2*5,6*1,9*2"; -w["-doutput-dir"]="8*1"; -w["-version"]="8*2"; -w["."]="2*5,3*2,4*3,5*5,6*1,8*10,9*3,10*8,13*2,14*1,15*3"; -w[".chm"]="6*1"; -w[".htaccess"]="4*1"; -w[".html"]="4*1"; -w[".js"]="2*2"; -w[".nexwave.nquindexer.indexermain"]="9*1"; -w[".nexwave.nquindexer.indexertask"]="9*1"; -w[".treeview"]="5*1"; -w["0"]="0*2,3*1,8*5,9*6"; -w["1"]="0*6,1*46,3*2,8*8,9*6,11*1,13*10"; -w["1."]="0*6,3*2,8*1,13*2"; -w["1.5"]="9*1"; -w["1.6"]="8*1"; -w["1.76.0"]="9*1"; -w["1.76.1"]="9*2"; -w["1.76.1."]="9*1"; -w["1.77.0"]="0*2"; -w["1.8.0"]="8*3,9*1"; -w["1.8.2.custom.css"]="15*1"; -w["172800"]="4*2"; -w["2"]="0*6,3*2,4*2,8*1,10*5,11*1,15*1,16*46"; -w["2."]="0*6,3*1,10*1"; -w["2.0"]="3*1"; -w["2006"]="3*1"; -w["2008"]="3*1"; -w["2008-2012"]="3*1"; -w["2012"]="3*2"; -w["290304000"]="4*2"; -w["2:"]="8*1"; -w["3"]="0*8,3*1,10*5"; -w["3."]="0*6,3*1,10*1"; -w["3.0.0.jar"]="9*2"; -w["3.x"]="0*1"; -w["4"]="0*7,2*1,8*1"; -w["4."]="0*6"; -w["480"]="4*1"; -w["5"]="0*8,1*46,6*1,8*3,9*1,11*48,16*46"; -w["5."]="0*6,11*2"; -w["5.1."]="1*2,11*1"; -w["5.2."]="11*1,16*2"; -w["596"]="0*2"; -w["596:"]="0*2"; -w["6"]="8*4"; -w["6.5"]="8*3"; -w["6.5.5.jar"]="0*1,8*1"; -w["6.5.x"]="8*1"; -w["7"]="0*1"; -w["7200"]="4*2"; -w["76"]="9*3"; -w["77"]="0*2"; -w["8"]="4*1,8*3,9*1,15*1"; -w[":"]="0*2,10*2,15*3"; -w["_stemmer"]="2*1,10*1"; -w["_stemmer.j"]="2*2,10*2"; -w["abandon"]="5*1"; -w["abov"]="3*1"; -w["abstract"]="15*1"; -w["accord"]="6*1"; -w["achiev"]="5*2"; -w["action"]="3*1"; -w["actual"]="2*1"; -w["ad"]="2*1,3*1,6*1,7*2,10*3,13*51,14*46,15*2"; -w["adapt"]="8*1"; -w["add"]="3*1,6*1,8*1,10*14,13*1,14*1,15*1"; -w["adddefaultcharset"]="4*1"; -w["addit"]="0*1,4*1,8*1,14*1"; -w["addoutputfilterbytyp"]="4*9"; -w["admon"]="8*1"; -w["admon.graph"]="8*2"; -w["advertis"]="3*1"; -w["after"]="6*1"; -w["against"]="8*2"; -w["age"]="4*3"; -w["al"]="10*1"; -w["algorithm"]="10*1"; -w["all"]="0*1,2*2,3*2,4*1,5*1,6*1,7*1,8*2,9*2,10*2,12*1,13*1,14*1,15*1"; -w["all."]="10*1"; -w["allow"]="8*1"; -w["alreadi"]="10*1"; -w["also"]="3*1,8*1"; -w["altern"]="6*1"; -w["analyz"]="9*1"; -w["and"]="0*4,2*6,3*12,4*4,5*3,6*6,7*2,8*9,9*4,10*8,12*5,14*5,15*51"; -w["ani"]="3*6,8*1,10*1,15*1"; -w["anim"]="5*1"; -w["animated:"]="5*1"; -w["anoth"]="8*2,10*1"; -w["ant"]="2*3,6*2,8*15,9*14,10*2,13*1"; -w["ant.file.dir"]="8*2"; -w["ant_hom"]="8*1,9*1"; -w["apach"]="3*2,4*41,7*1,8*3,15*1"; -w["apache-ant-1"]="8*2"; -w["apache-ant-1.8.0"]="8*2"; -w["apart"]="0*2"; -w["apis.jar"]="0*2,8*4,9*1"; -w["appear"]="6*2,15*1"; -w["appli"]="5*2"; -w["applic"]="4*5,6*1"; -w["applica"]="4*1"; -w["appropri"]="8*1,15*1"; -w["apps@lists.oasi"]="10*1"; -w["ar"]="3*1"; -w["arbitrari"]="8*1"; -w["argument"]="9*1"; -w["arguments:"]="9*1"; -w["aris"]="3*1"; -w["array"]="2*3,3*1,10*7"; -w["array."]="10*1"; -w["ask"]="0*1"; -w["associ"]="3*1"; -w["assum"]="8*2,10*1"; -w["assumpt"]="2*1"; -w["attribut"]="0*2"; -w["author"]="3*1"; -w["auto"]="6*1"; -w["auto-synchron"]="6*1"; -w["autoidx"]="0*2"; -w["autoidx.xsl"]="0*2"; -w["autoidx.xsl:"]="0*4"; -w["automat"]="9*1"; -w["avail"]="3*1,8*1,9*2,10*3"; -w["away"]="12*1"; -w["back"]="14*1"; -w["backward"]="6*1"; -w["bar."]="15*1"; -w["base"]="0*1,3*52,5*1,6*2,10*5,15*1"; -w["basedir"]="8*1"; -w["basic"]="0*1"; -w["be"]="8*1"; -w["been"]="8*1"; -w["behav"]="12*1"; -w["below"]="8*1"; -w["below."]="8*1,13*1"; -w["better"]="8*1"; -w["between"]="2*1,3*1"; -w["bi"]="2*1"; -w["bi-gram"]="2*1"; -w["bin"]="8*4"; -w["binari"]="8*1"; -w["bit"]="9*1"; -w["bitmap"]="4*1"; -w["bits."]="9*1"; -w["bob"]="4*1,15*1"; -w["bold"]="6*1"; -w["book"]="4*1"; -w["both"]="14*1"; -w["box"]="6*1"; -w["break"]="2*1"; -w["brief"]="6*1,15*1"; -w["brower"]="4*1"; -w["browser"]="0*4,2*2,3*1,4*2,5*2,6*1,7*1,8*2,9*1,10*1,12*1,13*1,14*1,15*1"; -w["browser."]="0*1,2*1,3*1,4*1,5*1,6*1,7*1,8*2,9*1,10*1,12*1,13*1,14*1,15*1"; -w["bsd"]="3*2"; -w["bsd-style"]="3*1"; -w["build"]="0*3,1*1,5*1,6*3,8*13,9*1,10*3,13*1,16*1"; -w["build-index"]="10*1"; -w["build.properti"]="8*1,9*1,10*1,13*1"; -w["build.xml"]="1*1,8*11,16*1"; -w["build.xml."]="8*1"; -w["built"]="5*1"; -w["but"]="3*1,8*1,10*2"; -w["button"]="5*1"; -w["buy"]="1*1,16*1"; -w["c"]="0*2,3*1,8*3"; -w["c:"]="0*4,8*3"; -w["cach"]="4*5"; -w["cache-control"]="4*3"; -w["call"]="2*1,5*1"; -w["can"]="0*6,2*3,5*2,6*5,8*4,9*1,10*3,13*1,15*2"; -w["caus"]="4*3,15*1"; -w["certain"]="4*1"; -w["ch03"]="2*1"; -w["ch03.html"]="2*1"; -w["chang"]="2*1,3*1,4*1,8*1,9*1,10*3,15*3"; -w["chapter"]="2*1,11*4,12*1,15*1"; -w["chapterinfo"]="15*1"; -w["charact"]="4*1"; -w["charg"]="3*1"; -w["check"]="0*1"; -w["checkout"]="2*1"; -w["chines"]="2*1,3*1,6*1,8*1,10*2"; -w["chm"]="6*1"; -w["chrome"]="0*1"; -w["chunk"]="5*2,6*1,15*2"; -w["cjk"]="2*2,10*2"; -w["cjkv"]="7*1,10*1,14*2"; -w["claim"]="3*1"; -w["class"]="9*1,10*1"; -w["classpath"]="0*1,8*5,9*2"; -w["classpath."]="9*1"; -w["click."]="2*1"; -w["client"]="2*2,6*1"; -w["client-sid"]="2*1,6*1"; -w["cn"]="10*2"; -w["co"]="3*1"; -w["code"]="0*1,2*1,3*4,5*1,6*1,10*9,13*6"; -w["code."]="10*1"; -w["code:"]="5*1"; -w["collaps"]="5*1,6*1"; -w["collapsed:"]="5*1"; -w["color"]="6*1,15*1"; -w["come"]="9*1,15*1"; -w["command"]="2*2,8*4,9*1"; -w["command-lin"]="9*1"; -w["command."]="2*1"; -w["comment"]="8*1"; -w["comments."]="8*1"; -w["common"]="2*1,3*1,6*1,15*7"; -w["commons:"]="8*1"; -w["compani"]="5*1"; -w["compar"]="2*1"; -w["compil"]="10*1"; -w["complet"]="4*3,15*1"; -w["compress"]="4*3"; -w["concern"]="9*1"; -w["condit"]="3*1"; -w["conditions:"]="3*1"; -w["conf"]="4*1"; -w["configur"]="4*40,7*1,15*1"; -w["confirm"]="8*3"; -w["confus"]="3*1"; -w["connect"]="3*1"; -w["consid"]="14*1"; -w["contact"]="10*1"; -w["contain"]="2*1,3*1,8*1,9*1,10*1"; -w["content"]="2*4,3*2,5*6,6*5,7*5,9*1,10*2,11*5,12*8"; -w["content."]="2*1,9*1"; -w["content.format"]="2*1"; -w["content:"]="5*1"; -w["contract"]="3*1"; -w["contribut"]="3*1,14*1"; -w["contributor"]="3*1"; -w["control"]="4*3,5*1,13*1,15*1"; -w["control:"]="5*1"; -w["conveni"]="8*2"; -w["cooki"]="3*1,5*1,12*2"; -w["copi"]="3*3,8*3,10*1,13*2"; -w["copyright"]="3*5"; -w["core"]="9*1"; -w["correct"]="0*1,3*1,8*1,10*5"; -w["cosmet"]="3*1"; -w["could"]="4*1,8*1"; -w["cramer"]="3*4"; -w["creat"]="2*1,6*1,8*4"; -w["credit"]="3*1"; -w["csrc"]="8*2"; -w["css"]="4*5,5*3,6*1,15*8"; -w["css-base"]="5*1,6*1"; -w["css-style"]="5*1"; -w["css."]="15*1"; -w["currenc"]="1*2,16*1"; -w["current"]="0*1,10*3,14*1"; -w["currently."]="0*1"; -w["custom"]="5*2,7*1,8*1,15*48"; -w["d"]="0*1,8*1"; -w["damag"]="3*1"; -w["danish"]="14*1"; -w["data"]="2*1"; -w["david"]="3*6"; -w["day"]="1*1,4*1,16*1"; -w["deal"]="3*3"; -w["deep"]="15*1"; -w["default"]="2*1,8*1,9*2,15*1"; -w["default."]="8*1"; -w["defin"]="2*1,8*1"; -w["deflat"]="4*10"; -w["delet"]="8*1"; -w["demo"]="0*4"; -w["deploy"]="0*3"; -w["deriv"]="3*3"; -w["describ"]="7*1"; -w["descript"]="6*1"; -w["description."]="6*1"; -w["design"]="2*1,5*47,12*1"; -w["desir"]="8*2"; -w["desired-output-dir"]="8*1"; -w["detail"]="0*1,2*2,3*1,8*1,9*2"; -w["details."]="0*1,3*1,8*1,9*1"; -w["develop"]="3*1,12*51"; -w["differ"]="3*1,8*1"; -w["dir"]="8*6,13*1"; -w["direct"]="9*1,15*1"; -w["directori"]="2*2,3*1,8*15,9*3,13*4"; -w["directory."]="2*1,8*4,13*1"; -w["disabl"]="0*1,2*1,3*1,4*1,5*1,6*1,7*1,8*2,9*1,10*1,12*1,13*1,14*1,15*1"; -w["display"]="2*1"; -w["distribut"]="3*2,8*2,9*1"; -w["dita"]="0*1,3*3"; -w["dita-us"]="3*1"; -w["dita."]="0*1"; -w["div"]="5*1,12*1,15*2"; -w["divid"]="5*1"; -w["do"]="2*2,3*1,8*2,9*1,14*1"; -w["doc"]="2*1,8*3,12*51,15*7"; -w["docbkx"]="6*1,8*1"; -w["docbo"]="0*2"; -w["docbook"]="0*2,2*2,3*52,4*3,5*3,8*5,9*1,10*8,13*2,15*2"; -w["docbook-apps@list"]="10*1"; -w["docbook-apps@lists.oasis-open.org"]="10*1"; -w["docbook-webhelp"]="8*1,10*7"; -w["docbook-xsl-1"]="0*1"; -w["docbook-xsl-1.77.0"]="0*2"; -w["docbook."]="15*1"; -w["docbook.sourceforge.net"]="9*2"; -w["docs@@@"]="2*1"; -w["docsbook"]="9*1"; -w["docsbook-xsl-1"]="9*1"; -w["docsbook-xsl-1.76.1"]="9*1"; -w["docsr"]="13*6"; -w["docsrc"]="13*1"; -w["document"]="0*2,3*1,4*2,5*1,6*1,8*10,13*4"; -w["document."]="8*2,13*1"; -w["documentation."]="0*1,5*1,6*1"; -w["doe"]="0*2,2*2,4*1,8*1,9*1"; -w["does."]="4*1"; -w["doesn"]="9*1"; -w["don"]="8*1,15*1"; -w["donat"]="3*1"; -w["done"]="0*1,2*1,5*2"; -w["dostem"]="2*1"; -w["dot"]="3*4"; -w["doutput"]="8*1"; -w["down"]="3*1,13*5"; -w["download"]="4*1,8*1,9*1,10*1"; -w["drop"]="2*1"; -w["dtd"]="8*1"; -w["dtd."]="8*1"; -w["dutch"]="14*1"; -w["e"]="8*1,10*1,12*1"; -w["each"]="4*1,6*1"; -w["easi"]="10*1"; -w["easili"]="5*1,10*2"; -w["easily."]="10*1"; -w["eclips"]="6*1"; -w["edit"]="8*1,15*1"; -w["editor"]="3*1,8*1,10*1"; -w["editor."]="3*1"; -w["efault"]="8*1"; -w["element"]="15*1"; -w["element."]="0*2,15*1"; -w["els"]="9*1,10*7"; -w["email"]="10*1"; -w["empti"]="8*1"; -w["enabl"]="0*1,2*1,3*1,4*1,5*1,6*1,7*1,8*2,9*1,10*1,12*1,13*1,14*1,15*1"; -w["enable.stem"]="8*1"; -w["endors"]="9*1"; -w["engin"]="3*1,6*1"; -w["engine."]="6*1"; -w["english"]="2*1,6*1,8*1,10*3,14*1"; -w["englishstemm"]="10*1"; -w["enjoy"]="0*1,2*1,3*1,4*1,5*1,6*1,7*1,8*1,9*1,10*1,12*1,13*1,14*1,15*1"; -w["environ"]="8*4,9*1"; -w["equalsignorecas"]="10*3"; -w["error"]="0*2"; -w["error."]="0*2"; -w["etc"]="2*1,5*1,6*1,8*1"; -w["etc."]="2*1,5*1,6*1,8*3,15*1"; -w["event"]="3*1"; -w["ex"]="2*1"; -w["ex:"]="2*1"; -w["exact"]="10*1,12*1"; -w["exampl"]="3*6,8*5,10*5,13*13,15*1"; -w["example."]="10*1"; -w["example:"]="8*4"; -w["except"]="3*1"; -w["exist"]="2*1,3*1"; -w["exist."]="3*1,8*1"; -w["explain"]="4*1"; -w["expos"]="6*1"; -w["express"]="3*1"; -w["ext"]="10*2"; -w["extend"]="10*2"; -w["extens"]="0*2,2*1,4*1,8*2,9*1,10*1"; - diff --git a/webhelp/docs/content/search/index-2.js b/webhelp/docs/content/search/index-2.js deleted file mode 100644 index c56f9bf..0000000 --- a/webhelp/docs/content/search/index-2.js +++ /dev/null @@ -1,378 +0,0 @@ -//Auto generated index for searching by xsl-webhelpindexer for DocBook Webhelp.# Kasun Gajasinghe, University of Moratuwa -w["extension:"]="4*1"; -w["extent"]="2*1"; -w["f"]="9*1,12*1,14*1"; -w["fair"]="10*1"; -w["fals"]="2*1,8*1"; -w["false."]="2*1"; -w["faq"]="0*51"; -w["featur"]="0*1,2*2,3*1,4*1,5*2,6*7,7*1,8*1,9*1,10*1,12*1,13*1,14*1,15*1"; -w["feature."]="5*1"; -w["feel"]="15*1"; -w["fetch"]="9*1"; -w["few"]="5*1,10*1"; -w["figur"]="3*5,8*3,13*6"; -w["fil"]="2*2"; -w["file"]="0*2,2*10,3*5,4*8,5*1,6*1,8*17,9*1,10*1,13*2,15*4"; -w["file."]="4*1,10*1,15*1"; -w["file:"]="0*4"; -w["fileref"]="13*1"; -w["files."]="4*2,8*1"; -w["files:"]="2*1,15*1"; -w["fileset"]="8*1,13*1"; -w["filesmatch"]="4*6"; -w["find"]="0*4,10*1"; -w["finnish"]="14*1"; -w["firefox"]="0*1"; -w["first"]="2*1,3*1"; -w["fit"]="3*1"; -w["five"]="2*1"; -w["fl"]="2*1"; -w["flv"]="4*2"; -w["folder"]="0*1,2*2,9*1,10*2,15*1"; -w["folder."]="2*1,10*1"; -w["foll"]="0*1"; -w["follos"]="8*1"; -w["follow"]="0*2,2*1,3*2,4*2,5*1,7*1,8*2,9*2,10*1,13*2,14*1,15*1"; -w["foo"]="1*1"; -w["foo."]="16*1"; -w["foobar"]="2*1"; -w["form"]="14*1"; -w["form."]="14*1"; -w["format"]="6*3,13*1"; -w["fortun"]="10*1"; -w["forward"]="6*1"; -w["four"]="0*1"; -w["fr"]="8*1,10*4"; -w["frameset"]="5*1,6*1,12*1,15*1"; -w["frameset."]="6*1,12*2"; -w["free"]="3*1"; -w["french"]="6*1,8*1,10*3"; -w["french."]="2*1"; -w["frenchstemm"]="10*1"; -w["frequent"]="0*1"; -w["full"]="6*1,10*1"; -w["fulli"]="2*1,5*1"; -w["furnish"]="3*1"; -w["further"]="2*1,5*1,15*1"; -w["gajasingh"]="3*4"; -w["general"]="10*1,15*1"; -w["generat"]="0*1,2*1,5*3,6*1,7*1,8*50,10*1"; -w["german"]="2*1,6*1,8*1,10*3"; -w["german."]="6*1,14*1"; -w["germanstemm"]="10*1"; -w["get"]="0*2,2*1,6*1,10*1,15*1"; -w["gif"]="4*2"; -w["given."]="13*1"; -w["gmail"]="3*2"; -w["go"]="9*1"; -w["googl"]="3*1,6*1"; -w["gorithm"]="10*1"; -w["gracious"]="3*1"; -w["gram"]="2*1"; -w["grant"]="3*1"; -w["graphic"]="8*5,13*2"; -w["group"]="6*1"; -w["guid"]="0*1,4*3,15*1"; -w["h"]="8*1"; -w["handl"]="2*2,15*1"; -w["happen"]="0*1,2*1"; -w["hartl"]="3*1"; -w["has"]="0*2,2*2,8*2,13*1"; -w["hat"]="6*1"; -w["have"]="2*1,4*1,8*3,9*5,10*1,15*1"; -w["haven"]="0*1"; -w["having."]="9*1"; -w["head"]="5*1"; -w["header"]="4*3,5*2,15*1"; -w["header:"]="5*1"; -w["height"]="15*1"; -w["help"]="3*51,6*3,9*1,12*1,15*3"; -w["help."]="6*1"; -w["here"]="8*1,9*1,13*1"; -w["here."]="8*2,13*1"; -w["herebi"]="3*1"; -w["higher"]="8*1,9*1"; -w["higher."]="8*2"; -w["highlight"]="6*1"; -w["hour"]="4*1"; -w["howev"]="8*1"; -w["href"]="0*2"; -w["htaccess"]="4*1"; -w["htm"]="4*2,8*1"; -w["html"]="0*3,2*2,4*7,5*1,6*1,8*4,15*1"; -w["htmlfileinfolist"]="2*1"; -w["htmlfileinfolist.j"]="2*1"; -w["htmlfilelist"]="2*1"; -w["htmlfilelist.j"]="2*1"; -w["htmlsearch"]="0*2,3*3"; -w["http"]="9*1"; -w["http:"]="9*2"; -w["httpd"]="4*1"; -w["httpd.conf"]="4*1"; -w["hungarian"]="14*1"; -w["ico"]="4*2"; -w["ide"]="2*1"; -w["idea"]="2*1"; -w["identifi"]="3*1,8*1"; -w["ie"]="0*1"; -w["if"]="0*1,2*2,4*2,6*1,8*9,9*1,10*12,12*2,13*1,15*1"; -w["ignor"]="8*1"; -w["imag"]="3*2,7*1,8*11,13*72"; -w["imagedata"]="13*1"; -w["imageobject"]="13*2"; -w["images."]="3*1,13*5"; -w["implement"]="2*1,6*2,12*2,14*2"; -w["implemented."]="2*1,12*1"; -w["impli"]="3*1"; -w["import"]="6*1,8*84"; -w["imposs"]="6*1"; -w["improv"]="3*2,4*1"; -w["includ"]="0*1,2*3,3*4,5*4,6*2,10*1,14*1,15*1"; -w["index"]="0*5,2*14,3*4,4*2,6*2,7*1,8*5,9*58,10*12,14*1"; -w["index-"]="2*2"; -w["index.html"]="8*2"; -w["indexer-languag"]="8*1"; -w["indexer-language-cod"]="2*2"; -w["indexer."]="0*2,2*1,9*1,10*1"; -w["indexerlanguag"]="10*5"; -w["indexerlanguage.equalsignorecas"]="10*6"; -w["indexermain"]="9*1"; -w["indexertask"]="9*2,10*1"; -w["indexertask.java"]="10*2"; -w["indexing:"]="2*1"; -w["indic"]="8*2"; -w["indicated:"]="8*1"; -w["individu"]="3*2"; -w["inflect"]="11*1,16*46"; -w["inform"]="0*3,4*1,8*2,9*1,15*1"; -w["information."]="0*1"; -w["initi"]="3*1,10*15"; -w["input"]="8*8,13*1,14*1"; -w["input-images-basedir"]="8*1"; -w["input-images-dir"]="8*2,13*1"; -w["input-xml"]="8*3"; -w["input-xml."]="8*1"; -w["insid"]="2*1,15*1"; -w["instal"]="7*1,8*12,9*1"; -w["instruct"]="8*2"; -w["integr"]="6*1,10*1"; -w["intellij"]="2*1"; -w["interest"]="15*1"; -w["internet"]="6*1"; -w["into"]="6*2,15*1"; -w["introduct"]="6*51"; -w["invoc"]="9*1"; -w["invocation."]="9*1"; -w["invok"]="2*1,9*2"; -w["involved."]="2*1"; -w["iphone."]="0*1"; -w["ipod"]="0*1"; -w["ipt"]="14*1"; -w["issu"]="9*1"; -w["it_stemm"]="10*1"; -w["it_stemmer.j"]="10*1"; -w["italian"]="10*5,14*1"; -w["italianstemm"]="10*4"; -w["ja"]="8*4,10*2"; -w["januari"]="3*1"; -w["japan"]="10*1"; -w["japanes"]="2*1,3*1,6*1,8*1,10*1"; -w["jar"]="0*1,2*1,8*9,9*5"; -w["java"]="0*6,8*6,9*1,10*5,14*3"; -w["java."]="10*1"; -w["javascr"]="14*1"; -w["javascrip"]="4*1"; -w["javascript"]="0*3,2*5,3*2,4*8,5*3,6*2,7*2,8*2,9*2,10*6,12*2,13*2,14*5,15*2"; -w["javascript."]="2*1,14*1"; -w["jdk"]="8*1,9*1"; -w["jdk."]="8*1"; -w["jpeg"]="4*2"; -w["jpg"]="4*2,13*11"; -w["jqueri"]="0*2,3*3,5*3,15*7"; -w["jquery-ui"]="5*1"; -w["jquery-ui-1"]="15*1"; -w["jquery-ui-1.8.2.custom.css"]="15*1"; -w["jquery.cookie.j"]="3*1"; -w["jquery.treeview.css"]="15*1"; -w["jqueryui"]="15*1"; -w["jre"]="9*1"; -w["js"]="2*6,3*1,4*2,10*3"; -w["kasun"]="0*6,3*4"; -w["kasunbg"]="3*2"; -w["key"]="1*1,16*1"; -w["kind"]="3*1"; -w["klaus"]="3*1"; -w["ko"]="10*2"; -w["korean"]="2*1,3*1,6*1,10*2"; -w["languag"]="2*5,3*2,6*2,7*1,8*3,9*1,10*20,14*49"; -w["language-cod"]="10*2"; -w["language."]="8*1,9*1,10*2"; -w["languages."]="14*1"; -w["latest"]="9*1"; -w["layer"]="8*1"; -w["layout"]="6*1"; -w["left"]="5*1,12*1,15*1"; -w["leftnavig"]="15*1"; -w["level"]="8*1"; -w["li"]="5*1"; -w["liabil"]="3*1"; -w["liabl"]="3*1"; -w["lib"]="9*1"; -w["librari"]="2*1"; -w["library."]="2*1"; -w["licens"]="3*4"; -w["license."]="3*5"; -w["license.txt"]="3*1"; -w["like"]="2*1,6*1,10*1"; -w["limit"]="3*2"; -w["line"]="0*2,4*2,8*2,9*1,10*1"; -w["line."]="8*1"; -w["link"]="6*2,15*2"; -w["linux"]="9*1"; -w["list"]="3*10,5*2,8*1,10*3,13*1"; -w["ll"]="9*1,10*1"; -w["ll."]="9*1"; -w["load"]="5*1,12*1"; -w["local"]="8*1"; -w["locat"]="2*1,8*5,10*1"; -w["location."]="10*1"; -w["log"]="6*1"; -w["logo"]="5*1"; -w["long"]="4*1"; -w["look"]="2*1,5*1,15*1"; -w["ltd"]="3*1"; -w["ltd."]="3*1"; -w["lucen"]="3*1,6*1,9*2"; -w["lucene-analyzers-3"]="9*1"; -w["lucene-analyzers-3.0.0.jar"]="9*1"; -w["lucene-core-3"]="9*1"; -w["lucene-core-3.0.0.jar"]="9*1"; -w["m"]="0*2"; -w["made"]="5*1"; -w["mail"]="10*1"; -w["main"]="2*1,5*1,9*1"; -w["maintain"]="3*1"; -w["make"]="4*1,8*1,10*1"; -w["manag"]="8*1"; -w["mani"]="6*1"; -w["martin"]="14*1"; -w["match"]="2*1"; -w["matrix"]="0*1"; -w["maven"]="6*1,8*1"; -w["max"]="4*3"; -w["max-ag"]="4*3"; -w["may"]="8*1,9*1"; -w["mechan"]="2*2,14*2"; -w["mechanism."]="2*1"; -w["mediaobject"]="13*2"; -w["medium"]="5*1"; -w["merchant"]="3*1"; -w["merg"]="3*1"; -w["messag"]="8*1"; -w["meta"]="2*1"; -w["method"]="2*1"; -w["microsoft"]="6*1"; -w["miss"]="8*1"; -w["mit"]="3*2"; -w["model"]="6*1"; -w["modifi"]="3*1,8*2"; -w["more"]="0*3,4*1"; -w["most"]="0*2"; -w["move"]="2*1"; -w["multipl"]="15*1"; -w["must"]="4*2,8*3,9*1,12*1"; -w["must-revalid"]="4*2"; -w["mutandi"]="8*3"; -w["mutati"]="8*3"; -w["my"]="2*1"; -w["n"]="3*1"; -w["n."]="3*1"; -w["name"]="2*4,3*2,8*7,10*3,15*1"; -w["navig"]="5*4,12*1,15*1"; -w["navigation:"]="5*2"; -w["ncomment"]="8*1"; -w["necessari"]="8*2"; -w["necessary."]="15*1"; -w["need"]="0*3,2*1,8*3,9*3,10*3,13*1,14*1,15*2"; -w["need:"]="10*1"; -w["net"]="3*2,9*1"; -w["netbean"]="2*1"; -w["new"]="2*2,3*1,8*1,10*56,12*2,15*1"; -w["newli"]="8*1"; -w["next"]="5*1"; -w["nexwav"]="9*2,10*8"; -w["nice"]="5*1,6*1"; -w["no"]="2*1,3*2,15*1"; -w["non"]="7*1,8*1,10*1,14*46"; -w["non-cjkv"]="7*1,10*1,14*46"; -w["non-n"]="8*1"; -w["noninfring"]="3*1"; -w["noninfringement."]="3*1"; -w["norwegian"]="14*1"; -w["not"]="2*1,3*2,6*2,8*10"; -w["note"]="3*1,4*1,8*162,9*40,10*40,13*5"; -w["noth"]="15*1"; -w["notic"]="3*3"; -w["now"]="2*1,10*3"; -w["nquindex"]="9*2,10*6"; -w["ns"]="8*1"; -w["nuclei"]="16*1"; -w["nucleus"]="1*1"; -w["null"]="10*1"; -w["number"]="10*1"; -w["nwsearchfnt"]="2*2"; -w["nwsearchfnt.j"]="2*2"; -w["o"]="2*1,12*1"; -w["oasis-open"]="10*1"; -w["object"]="10*4"; -w["object."]="10*3"; -w["obtain"]="3*1"; -w["odd"]="4*1"; -w["ok"]="0*1"; -w["ok-xsl-1"]="0*1"; -w["ok-xsl-1.77.0"]="0*2"; -w["onc"]="8*1"; -w["one"]="2*1,10*1,15*1"; -w["onli"]="8*2,10*3,14*1"; -w["only."]="10*2"; -w["open"]="2*1,8*1,10*2"; -w["open.org"]="10*1"; -w["openstack"]="3*1"; -w["oper"]="0*2"; -w["option"]="9*1"; -w["org"]="10*1"; -w["organ"]="5*1"; -w["origin"]="3*1"; -w["other"]="0*2,3*6,6*1,7*1,8*3,10*2,14*46"; -w["others:"]="3*1"; -w["otherwis"]="3*2"; -w["ouput"]="8*1"; -w["out"]="3*1,6*1"; -w["output"]="0*3,2*1,4*1,5*1,6*2,7*2,8*57,10*1,13*2,15*47"; -w["output-dir"]="8*2"; -w["output."]="6*1,8*1"; -w["outsid"]="0*2"; -w["over"]="13*1"; -w["overal"]="5*1"; -w["overview"]="2*2,5*1,6*1,12*1"; -w["owe"]="0*1"; -w["own"]="2*1,6*3,8*3"; -w["oxygen"]="3*1"; -w["packag"]="3*3,7*52,8*8,10*1"; -w["package."]="6*1,8*1,10*1"; -w["page"]="3*1,5*5,6*2,12*4,15*1"; -w["page."]="12*1,15*1"; -w["pane"]="5*1,6*4,12*2"; -w["para"]="15*1"; -w["paramet"]="8*3,9*1"; -w["parameters."]="8*2"; -w["parent"]="5*1"; -w["part"]="2*1,3*1,5*1,9*1,15*1"; -w["particul"]="3*1"; -w["parts."]="2*1"; -w["pass"]="8*2"; -w["path"]="0*1,3*1,8*10,13*5"; -w["path-"]="8*4"; -w["paths."]="0*1"; - diff --git a/webhelp/docs/content/search/index-3.js b/webhelp/docs/content/search/index-3.js deleted file mode 100644 index 3872f38..0000000 --- a/webhelp/docs/content/search/index-3.js +++ /dev/null @@ -1,376 +0,0 @@ -//Auto generated index for searching by xsl-webhelpindexer for DocBook Webhelp.# Kasun Gajasinghe, University of Moratuwa -w["pattern"]="8*1,13*2"; -w["patterns."]="8*1,13*1"; -w["pdf"]="4*2"; -w["peopl"]="9*1"; -w["perform"]="4*1,15*1"; -w["performance."]="4*1"; -w["permiss"]="3*2"; -w["permit"]="3*1"; -w["persist"]="5*1"; -w["persist:"]="5*1"; -w["person"]="3*2"; -w["phrase"]="15*1"; -w["pie"]="3*1"; -w["place"]="6*1"; -w["plain"]="4*1"; -w["pleas"]="0*1,2*1,3*1,4*1,5*1,6*1,7*1,8*1,9*1,10*1,12*1,13*1,14*2,15*1"; -w["plugin"]="0*2,3*2,5*2,6*1,8*1"; -w["plugin."]="3*1"; -w["png"]="4*2"; -w["point"]="8*2,15*1"; -w["popul"]="15*1"; -w["popular"]="10*1"; -w["porter"]="14*1"; -w["portion"]="3*1"; -w["portugues"]="14*1"; -w["posit"]="5*1,15*4"; -w["positioning.css"]="5*1,15*1"; -w["positions."]="15*1"; -w["possibl"]="3*1"; -w["pretti"]="9*1"; -w["prev"]="5*1"; -w["prior"]="3*1,9*1"; -w["privat"]="10*2"; -w["probabl"]="9*1"; -w["problem"]="8*1"; -w["problemat"]="1*46,11*2,16*46"; -w["procedur"]="8*3,13*1"; -w["process"]="2*2,5*1,8*3,9*2"; -w["processor"]="0*1,8*2"; -w["processors."]="8*1"; -w["produc"]="6*1"; -w["product"]="0*3"; -w["program"]="8*6"; -w["project"]="2*1,3*2,8*2,14*2"; -w["project."]="3*1"; -w["promot"]="3*1"; -w["prompt"]="8*2"; -w["prompt:"]="8*2"; -w["properti"]="8*5,10*2,13*1"; -w["provid"]="0*1,2*1,3*4,6*1,8*1,12*1"; -w["public"]="3*1,4*2,6*1"; -w["publish"]="3*2"; -w["punctuat"]="2*1,8*1"; -w["purpos"]="3*1"; -w["put"]="8*1,9*1,13*1"; -w["quain"]="3*1"; -w["queri"]="2*7,6*1,8*1"; -w["querying:"]="2*1"; -w["question"]="0*1,3*1,10*1"; -w["question."]="3*1"; -w["r"]="6*1,8*1"; -w["rate"]="6*1"; -w["read"]="12*1"; -w["readm"]="3*51,8*1"; -w["readme.xml"]="8*1"; -w["readme:"]="3*51"; -w["reason"]="0*2"; -w["recommend"]="4*41,7*1,15*1"; -w["recompil"]="2*1"; -w["redmond"]="15*2"; -w["refer"]="8*2,13*1"; -w["relat"]="3*1,8*1,13*5,15*1"; -w["releas"]="3*3"; -w["remov"]="9*1"; -w["render"]="12*1"; -w["replac"]="15*1"; -w["requir"]="6*2,14*1"; -w["resid"]="2*1,9*1"; -w["resourc"]="4*1"; -w["restor"]="12*1"; -w["restrict"]="3*1"; -w["result"]="2*2,3*1,6*5,12*2,15*1"; -w["result."]="6*1"; -w["results."]="2*1,6*1"; -w["return"]="2*1"; -w["revalid"]="4*2"; -w["right"]="15*1"; -w["role"]="15*1"; -w["romanian"]="14*1"; -w["root"]="2*1,10*1"; -w["rss"]="4*1"; -w["run"]="2*2,8*2,9*2,10*2"; -w["russian"]="14*1"; -w["s"]="0*2,2*2,3*1,4*1,8*1,9*3,10*2,14*2,15*1"; -w["safari"]="0*1"; -w["safe"]="8*1"; -w["sale"]="3*1"; -w["same"]="8*2"; -w["sampl"]="3*1,13*21"; -w["sample.jpg"]="13*10"; -w["save"]="12*1"; -w["saxhtmlindex"]="10*1"; -w["saxhtmlindex.java"]="10*2"; -w["saxon"]="0*1,8*7"; -w["saxon-6"]="0*1"; -w["saxon-6.5.5.jar"]="0*1,8*1"; -w["saxon.jar"]="8*1"; -w["say"]="1*1,16*1"; -w["score"]="2*1,6*2"; -w["script"]="6*3,8*1,9*1"; -w["script."]="9*1"; -w["search"]="1*46,2*51,3*3,4*2,5*4,6*13,7*1,8*3,9*46,10*3,11*2,12*4,14*3,15*1,16*46"; -w["search-result."]="6*1"; -w["search."]="6*2,12*1"; -w["searching."]="2*1"; -w["section"]="5*1,7*1,11*46,13*1,15*1"; -w["sectioninfo"]="15*1"; -w["see"]="0*1,3*1,4*1,8*6,9*1,10*2,13*1,15*1"; -w["see."]="5*1"; -w["seem"]="9*1"; -w["self"]="10*1"; -w["sell"]="3*1"; -w["separ"]="5*1"; -w["serch"]="2*1"; -w["serv"]="4*1"; -w["server"]="2*1,4*2"; -w["servic"]="6*1"; -w["set"]="0*1,4*4,8*5,9*1,15*1"; -w["setoutputfilt"]="4*1"; -w["setting."]="4*1"; -w["shall"]="3*3"; -w["share"]="0*6,8*5,9*1"; -w["should"]="2*1,8*2,9*1"; -w["show"]="6*2,13*1"; -w["shown"]="6*1,13*1"; -w["side"]="2*2,6*1"; -w["side."]="2*1"; -w["sidetreecontrol"]="5*1"; -w["similar"]="6*1"; -w["simpl"]="10*1,13*1"; -w["simple."]="10*1"; -w["simpli"]="2*2,8*1,15*1"; -w["simplifi"]="2*1"; -w["sinc"]="2*1,4*1"; -w["site."]="0*1,2*1,3*1,4*1,5*1,6*1,7*1,8*1,9*1,10*1,12*1,13*1,14*1,15*1"; -w["sky"]="1*1,16*1"; -w["small"]="6*3"; -w["smooth"]="9*1"; -w["snapshot"]="9*4"; -w["snowbal"]="3*1,10*6"; -w["snowballstemm"]="10*2"; -w["so"]="0*1,2*1,3*2,8*1,9*1,15*2"; -w["soft"]="3*1"; -w["softwar"]="3*15"; -w["software."]="3*2"; -w["some"]="1*92,2*1,3*2,8*1,9*2,11*2,16*92"; -w["sophist"]="6*1"; -w["sourc"]="2*2,8*1,13*2"; -w["source."]="2*1"; -w["sourceforg"]="9*1"; -w["sources."]="2*1"; -w["space"]="2*1"; -w["spanish"]="14*1"; -w["specifi"]="3*1,8*1,10*5"; -w["src"]="10*8"; -w["stale"]="4*1"; -w["start"]="8*1"; -w["state"]="12*2"; -w["stayton"]="4*1,15*1"; -w["stem"]="2*6,6*2,8*2,14*3"; -w["stemmer"]="2*3,3*2,8*1,10*74,12*1,14*3"; -w["stemmer."]="6*1,10*1"; -w["stemming."]="2*1"; -w["step"]="0*1,8*1"; -w["steps."]="10*1"; -w["store"]="2*2,4*1,8*2"; -w["string"]="3*1,10*3"; -w["structur"]="5*4"; -w["structure."]="5*2"; -w["studi"]="15*1"; -w["stuff"]="15*1"; -w["stuff."]="15*1"; -w["style"]="3*1,5*4,15*1"; -w["stylesheet"]="3*1,8*1"; -w["stylesheet-path"]="8*1"; -w["styling."]="5*1"; -w["subdirectori"]="13*1"; -w["subject"]="3*1"; -w["sublicens"]="3*1"; -w["substanti"]="3*1"; -w["such"]="2*1,4*1,10*1"; -w["summari"]="2*1,15*2"; -w["summaries."]="15*1"; -w["summer"]="3*1"; -w["support"]="0*2,2*3,3*1,6*3,7*1,10*3,14*49"; -w["supportedlanguag"]="3*1,10*8"; -w["suppress.footer.navig"]="8*1"; -w["sure"]="10*1"; -w["svn"]="2*1"; -w["swedish"]="14*1"; -w["swf"]="4*2"; -w["synchron"]="6*1"; -w["syncro"]="3*1"; -w["system"]="0*2,6*1,8*3,12*1,15*1"; -w["system."]="6*1,8*2"; -w["system:"]="8*1"; -w["t"]="0*2,2*1,4*1,6*1,8*1,9*1,15*1"; -w["tab"]="5*7"; -w["tab."]="5*2,8*1"; -w["tab:"]="5*1"; -w["tabl"]="5*3,6*2,7*5,12*8"; -w["tabs."]="5*1"; -w["tag"]="5*2"; -w["target"]="6*1"; -w["target."]="6*1"; -w["task"]="9*1,14*1"; -w["technic"]="6*1"; -w["tell"]="8*1"; -w["templat"]="3*2,6*1,10*2"; -w["template."]="14*1"; -w["term"]="6*2"; -w["test"]="0*3,8*5,11*92"; -w["test-ouput"]="8*1"; -w["test-output"]="8*3"; -w["text"]="2*1,4*5,8*1,10*1"; -w["them"]="4*1,9*1"; -w["them."]="2*1"; -w["theme"]="15*7"; -w["theme-redmond"]="15*3"; -w["then"]="2*1,6*1,10*6,13*1,15*1"; -w["there"]="0*1,2*1,10*1"; -w["therefor"]="14*1"; -w["these"]="2*1,4*2,9*3,12*1,14*1,15*1"; -w["they"]="8*1,12*1"; -w["thing"]="4*1"; -w["thingbag"]="3*2"; -w["those"]="4*1,13*1"; -w["though"]="8*1"; -w["three"]="2*2,5*1,9*1"; -w["time"]="6*1"; -w["tion"]="4*1"; -w["tip"]="8*41,15*40"; -w["titl"]="2*1,5*1,13*2"; -w["tml"]="8*1"; -w["tml.extens"]="8*1"; -w["toc"]="5*2,6*4,15*1"; -w["toc."]="6*1"; -w["todo"]="4*1"; -w["todo:"]="4*1"; -w["token"]="2*2,3*1"; -w["too"]="2*1"; -w["tool"]="8*1"; -w["tools.jar"]="8*1"; -w["top"]="6*1,8*1,15*1"; -w["top-level"]="8*1"; -w["topic"]="15*1"; -w["topic."]="5*1"; -w["tort"]="3*1"; -w["total"]="2*1"; -w["transform"]="0*3"; -w["travers"]="2*1"; -w["tree"]="5*6,6*1,12*1,13*2,15*1"; -w["tree."]="6*1,15*1"; -w["tree:"]="5*1,13*1"; -w["treeview"]="5*2,15*3"; -w["tri"]="1*1,8*1,16*1"; -w["tru"]="8*1"; -w["true"]="5*1,8*3"; -w["trunk"]="2*3"; -w["turkish"]="14*1"; -w["two"]="2*1,5*1,9*2,10*2,15*1"; -w["txt"]="3*1,4*2"; -w["type"]="4*1,8*4"; -w["u"]="5*1,8*1"; -w["ui"]="5*1,15*1"; -w["ul"]="5*1"; -w["unchang"]="15*1"; -w["unchanged."]="15*1"; -w["uncompress"]="4*1"; -w["under"]="3*5,9*1"; -w["understandable."]="10*1"; -w["undertak"]="14*1"; -w["unnecessari"]="2*1"; -w["unord"]="5*1"; -w["unzip"]="8*2"; -w["up"]="1*1,2*2,4*1,5*1,8*1,9*1,10*1,13*1,14*1,15*1,16*1"; -w["updat"]="4*1"; -w["us"]="10*1"; -w["use"]="2*2,3*5,5*2,6*7,7*53,8*8,10*1,13*5,14*2,15*48"; -w["used."]="2*1"; -w["user"]="0*6,2*2,3*1,4*1,6*1,8*1,14*1"; -w["usr"]="0*6,8*5,9*1"; -w["utf"]="4*1"; -w["utf-8"]="4*1"; -w["va"]="8*3"; -w["valid"]="8*2"; -w["validate-against-dtd"]="8*1"; -w["valu"]="8*4"; -w["var"]="2*1"; -w["vari"]="1*1,16*1"; -w["variabl"]="8*3,9*1"; -w["variable."]="9*1"; -w["variables."]="8*1"; -w["various"]="4*1"; -w["veri"]="10*1"; -w["verison"]="14*1"; -w["version"]="0*1,3*1,8*3,9*4,10*2,14*2"; -w["versions."]="9*1"; -w["w"]="2*1"; -w["wan"]="0*1"; -w["warn"]="0*2"; -w["warranti"]="3*7"; -w["warranty:"]="3*1"; -w["way"]="9*1,15*1"; -w["ways:"]="15*1"; -w["we"]="0*1,2*1,4*1,5*2,9*3"; -w["web"]="3*51,4*1,6*2,9*1"; -w["web-bas"]="3*51,6*1"; -w["webhelp"]="0*15,2*2,3*2,5*2,7*1,8*55,9*8,10*10,12*1,13*7"; -w["webhelp-index"]="0*2"; -w["webhelp-indexer."]="0*2"; -w["webhelp."]="8*1,10*2,13*1"; -w["webhelp.include.search.tab"]="8*1"; -w["webhelp.indexer.languag"]="3*1,8*1,10*2"; -w["webhelp.xsl"]="8*3"; -w["webhelpindex"]="2*3,9*1"; -w["webhelpindexer.jar"]="2*1,9*1"; -w["week"]="4*1"; -w["weight"]="3*1,6*1"; -w["well"]="0*3,9*1"; -w["well."]="9*1"; -w["were"]="3*1,9*1,12*2"; -w["whether"]="2*1,3*1"; -w["which"]="2*1,5*1,8*2,9*1,15*2"; -w["whom"]="3*1"; -w["width"]="15*1"; -w["wiki"]="0*1"; -w["window"]="7*1,8*7"; -w["windows."]="7*1"; -w["without"]="3*4,6*1"; -w["word"]="1*46,2*8,6*1,11*2,16*46"; -w["work"]="8*2"; -w["would"]="2*1"; -w["write"]="10*1"; -w["written"]="3*2,8*1,10*1"; -w["written."]="8*1"; -w["x"]="0*1,4*1,8*1"; -w["x-javascript"]="4*1"; -w["xerc"]="8*1"; -w["xercesimpl"]="8*2,9*1"; -w["xercesimpl.jar"]="0*2,8*4,9*1"; -w["xhtml"]="0*9,4*1,8*1"; -w["xhtml."]="0*1"; -w["xml"]="0*2,1*1,3*52,4*7,8*19,9*1,16*1"; -w["xml-api"]="8*2,9*1"; -w["xml-apis.jar"]="0*2,8*4,9*1"; -w["xml-common"]="8*1"; -w["xml-commons:"]="8*1"; -w["xml."]="8*1"; -w["xml:"]="4*1"; -w["xp"]="8*1"; -w["xsl"]="0*2,2*2,4*3,5*1,8*3,9*2,15*2"; -w["xsl-webhelpindex"]="2*1"; -w["xsl:"]="0*2,4*3,15*1"; -w["xsls"]="8*1"; -w["xslt"]="0*3,8*3"; -w["xslt-processor-classpath"]="0*2,8*2"; -w["yahoogroup"]="3*1"; -w["yahoogroup."]="3*1"; -w["yes"]="0*1"; -w["you"]="0*3,2*3,4*3,5*1,6*5,8*16,9*4,10*7,12*2,13*1,14*2,15*4"; -w["your"]="0*1,2*2,3*1,4*4,5*1,6*3,7*1,8*19,9*1,10*7,12*1,13*4,14*1,15*2"; -w["yourfil"]="8*1"; -w["yourfile.xml"]="8*2"; - diff --git a/webhelp/docs/content/search/l10n.js b/webhelp/docs/content/search/l10n.js deleted file mode 100644 index f25bb8f..0000000 --- a/webhelp/docs/content/search/l10n.js +++ /dev/null @@ -1,5 +0,0 @@ - - //Resource strings for localization - var localeresource = new Object; - localeresource["search_no_results"]="Your search returned no results."; -
\ No newline at end of file diff --git a/webhelp/docs/content/search/nwSearchFnt.js b/webhelp/docs/content/search/nwSearchFnt.js deleted file mode 100644 index 45b7c28..0000000 --- a/webhelp/docs/content/search/nwSearchFnt.js +++ /dev/null @@ -1,881 +0,0 @@ -/*----------------------------------------------------------------------------
- * JavaScript for webhelp search
- *----------------------------------------------------------------------------
- This file is part of the webhelpsearch plugin for DocBook WebHelp
- Copyright (c) 2007-2008 NexWave Solutions All Rights Reserved.
- www.nexwave.biz Nadege Quaine
- http://kasunbg.blogspot.com/ Kasun Gajasinghe
- */
-
-//string initialization
-var htmlfileList = "htmlFileInfoList.js";
-var htmlfileinfoList = "htmlFileInfoList.js";
-var useCJKTokenizing = false;
-
-var w = new Object();
-var scoring = new Object();
-
-var searchTextField = '';
-var no = 0;
-var noWords = 0;
-var partialSearch = "<font class=\"highlightText\">There is no page containing all the search terms.<br>Partial results:</font>";
-var warningMsg = '<div style="padding: 5px;margin-right:5px;;background-color:#FFFF00;">';
-warningMsg+='<b>Please note that due to security settings, Google Chrome does not highlight';
-warningMsg+=' the search results in the right frame.</b><br>';
-warningMsg+='This happens only when the WebHelp files are loaded from the local file system.<br>';
-warningMsg+='Workarounds:';
-warningMsg+='<ul>';
-warningMsg+='<li>Try using another web browser.</li>';
-warningMsg+='<li>Deploy the WebHelp files on a web server.</li>';
-warningMsg+='</div>';
-txt_filesfound = 'Results';
-txt_enter_at_least_1_char = "You must enter at least one character.";
-txt_enter_more_than_10_words = "Only first 10 words will be processed.";
-txt_browser_not_supported = "Your browser is not supported. Use of Mozilla Firefox is recommended.";
-txt_please_wait = "Please wait. Search in progress...";
-txt_results_for = "Results for: ";
-
-/* This function verify the validity of search input by the user
- Cette fonction verifie la validite de la recherche entrre par l utilisateur */
-function Verifie(searchForm) {
-
- // Check browser compatibility
- if (navigator.userAgent.indexOf("Konquerer") > -1) {
-
- alert(txt_browser_not_supported);
- return;
- }
-
- searchTextField = trim(document.searchForm.textToSearch.value);
- searchTextField = searchTextField.replace(/['"]/g,'');
- var expressionInput = searchTextField;
- $.cookie('textToSearch', expressionInput);
-
- if (expressionInput.length < 1) {
-
- // expression is invalid
- alert(txt_enter_at_least_1_char);
- // reactive la fenetre de search (utile car cadres)
-
- document.searchForm.textToSearch.focus();
- }
- else {
- var splitSpace = searchTextField.split(" ");
- var splitWords = [];
- for (var i = 0 ; i < splitSpace.length ; i++) {
- var splitDot = splitSpace[i].split(".");
- for (var i1 = 0; i1 < splitDot.length; i1++) {
- var splitColon = splitDot[i1].split(":");
- for (var i2 = 0; i2 < splitColon.length; i2++) {
- var splitDash = splitColon[i2].split("-");
- for (var i3 = 0; i3 < splitDash.length; i3++) {
- if (splitDash[i3].split("").length > 0) {
- splitWords.push(splitDash[i3]);
- }
- }
- }
- }
- }
- noWords = splitWords;
- if (noWords.length > 9){
- // Allow to search maximum 10 words
- alert(txt_enter_more_than_10_words);
- expressionInput = '';
- for (var x = 0 ; x < 10 ; x++){
- expressionInput = expressionInput + " " + noWords[x];
- }
- Effectuer_recherche(expressionInput);
- document.searchForm.textToSearch.focus();
- } else {
- // Effectuer la recherche
- expressionInput = '';
- for (var x = 0 ; x < noWords.length ; x++) {
- expressionInput = expressionInput + " " + noWords[x];
- }
- Effectuer_recherche(expressionInput);
- // reactive la fenetre de search (utile car cadres)
- document.searchForm.textToSearch.focus();
- }
- }
-}
-
-var stemQueryMap = new Array(); // A hashtable which maps stems to query words
-
-/* This function parses the search expression, loads the indices and displays the results*/
-function Effectuer_recherche(expressionInput) {
-
- /* Display a waiting message */
- //DisplayWaitingMessage();
-
- /*data initialisation*/
- var searchFor = ""; // expression en lowercase et sans les caracte res speciaux
- //w = new Object(); // hashtable, key=word, value = list of the index of the html files
- scriptLetterTab = new Scriptfirstchar(); // Array containing the first letter of each word to look for
- var wordsList = new Array(); // Array with the words to look for
- var finalWordsList = new Array(); // Array with the words to look for after removing spaces
- var linkTab = new Array();
- var fileAndWordList = new Array();
- var txt_wordsnotfound = "";
-
-
- // --------------------------------------
- // Begin Thu's patch
- /*nqu: expressionInput, la recherche est lower cased, plus remplacement des char speciaux*/
- //The original replacement expression is:
- //searchFor = expressionInput.toLowerCase().replace(/<\//g, "_st_").replace(/\$_/g, "_di_").replace(/\.|%2C|%3B|%21|%3A|@|\/|\*/g, " ").replace(/(%20)+/g, " ").replace(/_st_/g, "</").replace(/_di_/g, "%24_");
- //The above expression was error prone because it did not deal with words that have a . as part of the word correctly, for example, document.txt
-
- //Do not automatically replace a . with a space
- searchFor = expressionInput.toLowerCase().replace(/<\//g, "_st_").replace(/\$_/g, "_di_").replace(/%2C|%3B|%21|%3A|@|\/|\*/g, " ").replace(/(%20)+/g, " ").replace(/_st_/g, "</").replace(/_di_/g, "%24_");
-
- //If it ends with a period, replace it with a space
- searchFor = searchFor.replace(/[.]$/,"");
- // End Thu's Patch
- // ------------------------------------------
-
- searchFor = searchFor.replace(/ +/g, " ");
- searchFor = searchFor.replace(/ $/, "").replace(/^ /, "");
-
- wordsList = searchFor.split(" ");
- wordsList.sort();
-
- //set the tokenizing method
- useCJKTokenizing = typeof indexerLanguage != "undefined" && (indexerLanguage == "zh" || indexerLanguage == "ja" || indexerLanguage == "ko");
- //If Lucene CJKTokenizer was used as the indexer, then useCJKTokenizing will be true. Else, do normal tokenizing.
- // 2-gram tokenizinghappens in CJKTokenizing,
- //If doStem then make tokenize with Stemmer
- var finalArray;
- if (doStem){
- if(useCJKTokenizing){
- finalWordsList = cjkTokenize(wordsList);
- finalArray = finalWordsList;
- } else {
- finalWordsList = tokenize(wordsList);
- finalArray = finalWordsList;
- }
- } else if(useCJKTokenizing){
- finalWordsList = cjkTokenize(wordsList);
- finalArray = finalWordsList;
- } else{
-
- //load the scripts with the indices: the following lines do not work on the server. To be corrected
- /*if (IEBrowser) {
- scriptsarray = loadTheIndexScripts (scriptLetterTab);
- } */
-
- /**
- * Compare with the indexed words (in the w[] array), and push words that are in it to tempTab.
- */
- var tempTab = new Array();
-
- // ---------------------------------------
- // Thu's patch
- //Do not use associative array in for loop, for example:
- //for(var t in finalWordsList)
- //it causes errors when finalWordList contains
- //stemmed words such as: kei from the stemmed word: key
- for(var t=0;t<finalWordsList.length;++t){
- var aWord=finalWordsList[t];
- //w is a Map like Object, use the current word in finalWordList as the key
- if(w[aWord] == undefined){
- txt_wordsnotfound += aWord + " ";
- }
- else{
- tempTab.push(aWord);
- }
- }
- finalWordsList = tempTab;
- //Check all the inputs to see if the root words are in the finalWordsList, if not add them there
- var inputs = expressionInput.split(' ');
- // Thu's Patch
- // -------------------------------------------
-
-
- txt_wordsnotfound = expressionInput;
- finalWordsList = removeDuplicate(finalWordsList);
-
- }
- if (finalWordsList.length) {
- //search 'and' and 'or' one time
- fileAndWordList = SortResults(finalWordsList);
-
- if (fileAndWordList == undefined){
- var cpt = 0;
- } else {
- var cpt = fileAndWordList.length;
- var maxNumberOfWords = fileAndWordList[0][0].motsnb;
- }
- if (cpt > 0){
- var searchedWords = noWords.length;
- var foundedWords = fileAndWordList[0][0].motslisteDisplay.split(",").length;
- //console.info("search : " + noWords.length + " found : " + fileAndWordList[0][0].motslisteDisplay.split(",").length);
- if (searchedWords != foundedWords){
- linkTab.push(partialSearch);
- }
- }
-
-
- for (var i = 0; i < cpt; i++) {
-
- var hundredProcent = fileAndWordList[i][0].scoring + 100 * fileAndWordList[i][0].motsnb;
- var ttScore_first = fileAndWordList[i][0].scoring;
- var numberOfWords = fileAndWordList[i][0].motsnb;
-
- if (fileAndWordList[i] != undefined) {
- linkTab.push("<p>" + txt_results_for + " " + "<span class=\"searchExpression\">" + fileAndWordList[i][0].motslisteDisplay + "</span>" + "</p>");
-
- linkTab.push("<ul class='searchresult'>");
- for (t in fileAndWordList[i]) {
- //linkTab.push("<li><a href=\"../"+fl[fileAndWordList[i][t].filenb]+"\">"+fl[fileAndWordList[i][t].filenb]+"</a></li>");
-
- var ttInfo = fileAndWordList[i][t].filenb;
- // Get scoring
- var ttScore = fileAndWordList[i][t].scoring;
- var tempInfo = fil[ttInfo];
-
- var pos1 = tempInfo.indexOf("@@@");
- var pos2 = tempInfo.lastIndexOf("@@@");
- var tempPath = tempInfo.substring(0, pos1);
- var tempTitle = tempInfo.substring(pos1 + 3, pos2);
- var tempShortdesc = tempInfo.substring(pos2 + 3, tempInfo.length);
-
-
- // toc.html will not be displayed on search result
- if (tempPath == 'toc.html'){
- continue;
- }
- /*
- //file:///home/kasun/docbook/WEBHELP/webhelp-draft-output-format-idea/src/main/resources/web/webhelp/installation.html
- var linkString = "<li><a href=" + tempPath + ">" + tempTitle + "</a>";
- // var linkString = "<li><a href=\"installation.html\">" + tempTitle + "</a>";
- */
- var split = fileAndWordList[i][t].motsliste.split(",");
- // var splitedValues = expressionInput.split(" ");
- // var finalArray = split.concat(splitedValues);
-
- arrayString = 'Array(';
- for(var x in finalArray){
- if (finalArray[x].length > 2 || useCJKTokenizing){
- arrayString+= "'" + finalArray[x] + "',";
- }
- }
- arrayString = arrayString.substring(0,arrayString.length - 1) + ")";
- var idLink = 'foundLink' + no;
- var linkString = '<li><a id="' + idLink + '" href="' + tempPath + '" class="foundResult">' + tempTitle + '</a>';
- var starWidth = (ttScore * 100/ hundredProcent)/(ttScore_first/hundredProcent) * (numberOfWords/maxNumberOfWords);
- starWidth = starWidth < 10 ? (starWidth + 5) : starWidth;
- // Keep the 5 stars format
- if (starWidth > 85){
- starWidth = 85;
- }
- /*
- var noFullStars = Math.ceil(starWidth/17);
- var fullStar = "curr";
- var emptyStar = "";
- if (starWidth % 17 == 0){
- // am stea plina
-
- } else {
-
- }
- console.info(noFullStars);
- */
- // Also check if we have a valid description
- if ((tempShortdesc != "null" && tempShortdesc != '...')) {
-
- linkString += "\n<div class=\"shortdesclink\">" + tempShortdesc + "</div>";
- }
- linkString += "</li>";
-
- // Add rating values for scoring at the list of matches
- linkString += "<div id=\"rightDiv\">";
- linkString += "<div id=\"star\">";
- //linkString += "<div style=\"color: rgb(136, 136, 136);\" id=\"starUser0\" class=\"user\">"
- // + ((ttScore * 100/ hundredProcent)/(ttScore_first/hundredProcent)) * 1 + "</div>";
- linkString += "<ul id=\"star0\" class=\"star\">";
- linkString += "<li id=\"starCur0\" class=\"curr\" style=\"width: " + starWidth + "px;\"></li>";
- linkString += "</ul>";
-
- linkString += "<br style=\"clear: both;\">";
- linkString += "</div>";
- linkString += "</div>";
- //linkString += '<b>Rating: ' + ttScore + '</b>';
-
- linkTab.push(linkString);
- no++;
- }
- linkTab.push("</ul>");
- }
- }
- }
-
- var results = "";
- if (linkTab.length > 0) {
- /*writeln ("<p>" + txt_results_for + " " + "<span class=\"searchExpression\">" + cleanwordsList + "</span>" + "<br/>"+"</p>");*/
- results = "<p>";
- //write("<ul class='searchresult'>");
- for (t in linkTab) {
- results += linkTab[t].toString();
- }
- results += "</p>";
- } else {
- results = "<p>" + localeresource.search_no_results + " <span class=\"searchExpression\">" + txt_wordsnotfound + "</span>" + "</p>";
- }
-
-
- // Verify if the browser is Google Chrome and the WebHelp is used on a local machine
- // If browser is Google Chrome and WebHelp is used on a local machine a warning message will appear
- // Highlighting will not work in this conditions. There is 2 workarounds
- if (verifyBrowser()){
- document.getElementById('searchResults').innerHTML = results;
- } else {
- document.getElementById('searchResults').innerHTML = warningMsg + results;
- }
-
-}
-
-
-// Verify if the stemmed word is aproximately the same as the searched word
-function verifyWord(word, arr){
- for (var i = 0 ; i < arr.length ; i++){
- if (word[0] == arr[i][0]
- && word[1] == arr[i][1]
- //&& word[2] == arr[i][2]
- ){
- return true;
- }
- }
- return false;
-}
-
-// Look for elements that start with searchedValue.
-function wordsStartsWith(searchedValue){
- var toReturn = '';
- for (var sv in w){
- if (searchedValue.length < 3){
- continue;
- } else {
- if (sv.toLowerCase().indexOf(searchedValue.toLowerCase()) == 0){
- toReturn+=sv + ",";
- }
- }
- }
- return toReturn.length > 0 ? toReturn : undefined;
-}
-
-
-function tokenize(wordsList){
- var stemmedWordsList = new Array(); // Array with the words to look for after removing spaces
- var cleanwordsList = new Array(); // Array with the words to look for
- // -------------------------------------------------
- // Thu's patch
- for(var j=0;j<wordsList.length;++j){
- var word = wordsList[j];
- var originalWord=word;
- if(typeof stemmer != "undefined" ){
- var stemmedWord=stemmer(word);
- if(w[stemmedWord]!=undefined){
- stemQueryMap[stemmer(word)] = word;
- }
- else{
- stemQueryMap[originalWord]=originalWord;
- }
- } else {
- if(w[word]!=undefined){
- stemQueryMap[word] = word;
- }
- else{
- stemQueryMap[originalWord]=originalWord;
- }
- }
- }
- //stemmedWordsList is the stemmed list of words separated by spaces.
- for (var t=0;t<wordsList.length;++t) {
- wordsList[t] = wordsList[t].replace(/(%22)|^-/g, "");
- if (wordsList[t] != "%20") {
- scriptLetterTab.add(wordsList[t].charAt(0));
- cleanwordsList.push(wordsList[t]);
- }
- }
-
- if(typeof stemmer != "undefined" ){
- //Do the stemming using Porter's stemming algorithm
- for (var i = 0; i < cleanwordsList.length; i++) {
- var stemWord = stemmer(cleanwordsList[i]);
- if(w[stemWord]!=undefined){
- stemmedWordsList.push(stemWord);
- }
- else{
- stemmedWordsList.push(cleanwordsList[i]);
- }
- }
- // End Thu's patch
- // -------------------------------------------
- } else {
- stemmedWordsList = cleanwordsList;
- }
- return stemmedWordsList;
-}
-
-//Invoker of CJKTokenizer class methods.
-function cjkTokenize(wordsList){
- var allTokens= new Array();
- var notCJKTokens= new Array();
- var j=0;
- for(j=0;j<wordsList.length;j++){
- var word = wordsList[j];
- if(getAvgAsciiValue(word) < 127){
- notCJKTokens.push(word);
- } else {
- var tokenizer = new CJKTokenizer(word);
- var tokensTmp = tokenizer.getAllTokens();
- allTokens = allTokens.concat(tokensTmp);
- }
- }
- allTokens = allTokens.concat(tokenize(notCJKTokens));
- return allTokens;
-}
-
-//A simple way to determine whether the query is in english or not.
-function getAvgAsciiValue(word){
- var tmp = 0;
- var num = word.length < 5 ? word.length:5;
- for(var i=0;i<num;i++){
- if(i==5) break;
- tmp += word.charCodeAt(i);
- }
- return tmp/num;
-}
-
-//CJKTokenizer
-function CJKTokenizer(input){
- this.input = input;
- this.offset=-1;
- this.tokens = new Array();
- this.incrementToken = incrementToken;
- this.tokenize = tokenize;
- this.getAllTokens = getAllTokens;
- this.unique = unique;
-
- function incrementToken(){
- if(this.input.length - 2 <= this.offset){
- // console.log("false "+offset);
- return false;
- }
- else {
- this.offset+=1;
- return true;
- }
- }
-
- function tokenize(){
- //document.getElementById("content").innerHTML += x.substring(offset,offset+2)+"<br>";
- return this.input.substring(this.offset,this.offset+2);
- }
-
- function getAllTokens(){
- while(this.incrementToken()){
- var tmp = this.tokenize();
- this.tokens.push(tmp);
- }
- return this.unique(this.tokens);
-// document.getElementById("content").innerHTML += tokens+" ";
-// document.getElementById("content").innerHTML += "<br>dada"+sortedTokens+" ";
-// console.log(tokens.length+"dsdsds");
- /*for(i=0;i<tokens.length;i++){
- console.log(tokens[i]);
- var ss = tokens[i] == sortedTokens[i];
-
-// document.getElementById("content").innerHTML += "<br>dada"+un[i]+"- "+stems[i]+" "+ ss;
- document.getElementById("content").innerHTML += "<br>"+sortedTokens[i];
- }*/
- }
-
- function unique(a)
- {
- var r = new Array();
- o:for(var i = 0, n = a.length; i < n; i++)
- {
- for(var x = 0, y = r.length; x < y; x++)
- {
- if(r[x]==a[i]) continue o;
- }
- r[r.length] = a[i];
- }
- return r;
- }
-}
-
-
-/* Scriptfirstchar: to gather the first letter of index js files to upload */
-function Scriptfirstchar() {
- this.strLetters = "";
- this.add = addLettre;
-}
-
-function addLettre(caract) {
-
- if (this.strLetters == 'undefined') {
- this.strLetters = caract;
- } else if (this.strLetters.indexOf(caract) < 0) {
- this.strLetters += caract;
- }
-
- return 0;
-}
-/* end of scriptfirstchar */
-
-/*main loader function*/
-/*tab contains the first letters of each word looked for*/
-function loadTheIndexScripts(tab) {
-
- //alert (tab.strLetters);
- var scriptsarray = new Array();
-
- for (var i = 0; i < tab.strLetters.length; i++) {
-
- scriptsarray[i] = "..\/search" + "\/" + tab.strLetters.charAt(i) + ".js";
- }
- // add the list of html files
- i++;
- scriptsarray[i] = "..\/search" + "\/" + htmlfileList;
-
- //debug
- for (var t in scriptsarray) {
- //alert (scriptsarray[t]);
- }
-
- tab = new ScriptLoader();
- for (t in scriptsarray) {
- tab.add(scriptsarray[t]);
- }
- tab.load();
- //alert ("scripts loaded");
- return (scriptsarray);
-}
-
-/* ScriptLoader: to load the scripts and wait that it's finished */
-function ScriptLoader() {
- this.cpt = 0;
- this.scriptTab = new Array();
- this.add = addAScriptInTheList;
- this.load = loadTheScripts;
- this.onScriptLoaded = onScriptLoadedFunc;
-}
-
-function addAScriptInTheList(scriptPath) {
- this.scriptTab.push(scriptPath);
-}
-
-function loadTheScripts() {
- var script;
- var head;
-
- head = document.getElementsByTagName('head').item(0);
-
- //script = document.createElement('script');
-
- for (var el in this.scriptTab) {
- //alert (el+this.scriptTab[el]);
- script = document.createElement('script');
- script.src = this.scriptTab[el];
- script.type = 'text/javascript';
- script.defer = false;
-
- head.appendChild(script);
- }
-
-}
-
-function onScriptLoadedFunc(e) {
- e = e || window.event;
- var target = e.target || e.srcElement;
- var isComplete = true;
- if (typeof target.readyState != undefined) {
-
- isComplete = (target.readyState == "complete" || target.readyState == "loaded");
- }
- if (isComplete) {
- ScriptLoader.cpt++;
- if (ScriptLoader.cpt == ScriptLoader.scripts.length) {
- ScriptLoader.onLoadComplete();
- }
- }
-}
-
-/*
-function onLoadComplete() {
- alert("loaded !!");
-} */
-
-/* End of scriptloader functions */
-
-// Array.unique( strict ) - Remove duplicate values
-function unique(tab) {
- var a = new Array();
- var i;
- var l = tab.length;
-
- if (tab[0] != undefined) {
- a[0] = tab[0];
- }
- else {
- return -1;
- }
-
- for (i = 1; i < l; i++) {
- if (indexof(a, tab[i], 0) < 0) {
- a.push(tab[i]);
- }
- }
- return a;
-}
-function indexof(tab, element, begin) {
- for (var i = begin; i < tab.length; i++) {
- if (tab[i] == element) {
- return i;
- }
- }
- return -1;
-
-}
-/* end of Array functions */
-
-
-/*
- Param: mots= list of words to look for.
- This function creates an hashtable:
- - The key is the index of a html file which contains a word to look for.
- - The value is the list of all words contained in the html file.
-
- Return value: the hashtable fileAndWordList
- */
-function SortResults(mots) {
-
- var fileAndWordList = new Object();
- if (mots.length == 0 || mots[0].length == 0) {
- return null;
- }
-
-
- // In generated js file we add scoring at the end of the word
- // Example word1*scoringForWord1,word2*scoringForWord2 and so on
- // Split after * to obtain the right values
- var scoringArr = Array();
- for (var t in mots) {
- // get the list of the indices of the files.
- var listNumerosDesFicStr = w[mots[t].toString()];
-
- if (listNumerosDesFicStr != undefined) {
-
- //alert ("listNumerosDesFicStr "+listNumerosDesFicStr);
- var tab = listNumerosDesFicStr.split(",");
- //for each file (file's index):
- for (var t2 in tab) {
- var tmp = '';
- var idx = '';
- var temp = tab[t2].toString();
- if (temp.indexOf('*') != -1) {
- idx = temp.indexOf('*');
- tmp = temp.substring(idx + 3, temp.length);
- temp = temp.substring(0, idx);
- }
- scoringArr.push(tmp);
- if (fileAndWordList[temp] == undefined) {
- fileAndWordList[temp] = "" + mots[t];
- } else {
- fileAndWordList[temp] += "," + mots[t];
- }
- //console.info("fileAndWordList[" + temp + "]=" + fileAndWordList[temp] + " : " + tmp);
- }
-
- }
- }
- var fileAndWordListValuesOnly = new Array();
- // sort results according to values
- var temptab = new Array();
- finalObj = new Array();
- for (t in fileAndWordList) {
- finalObj.push(new newObj(t,fileAndWordList[t]));
- }
-
- if ( finalObj.length == 0 ) { // None of the queried words are not in the index (stemmed or not)
- return null;
- }
- finalObj = removeDerivates(finalObj);
- for (t in finalObj) {
- tab = finalObj[t].wordList.split(',');
- var tempDisplay = new Array();
- for (var x in tab) {
- if(stemQueryMap[tab[x]] != undefined && doStem){
- tempDisplay.push(stemQueryMap[tab[x]]); //get the original word from the stem word.
- } else {
- tempDisplay.push(tab[x]); //no stem is available. (probably a CJK language)
- }
- }
- var tempDispString = tempDisplay.join(", ");
- var index;
- for (x in fileAndWordList) {
- if (x === finalObj[t].filesNo) {
- index = x;
- break;
- }
- }
- var scoring = findRating(fileAndWordList[index], index);
- temptab.push(new resultPerFile(finalObj[t].filesNo, finalObj[t].wordList, tab.length, tempDispString, scoring));
- fileAndWordListValuesOnly.push(finalObj[t].wordList);
- }
- fileAndWordListValuesOnly = unique(fileAndWordListValuesOnly);
- fileAndWordListValuesOnly = fileAndWordListValuesOnly.sort(compare_nbMots);
-
- var listToOutput = new Array();
- for (var fawlvoIdx in fileAndWordListValuesOnly) {
- for (t in temptab) {
- if (temptab[t].motsliste == fileAndWordListValuesOnly[fawlvoIdx]) {
- if (listToOutput[fawlvoIdx] == undefined) {
- listToOutput[fawlvoIdx] = new Array(temptab[t]);
- } else {
- listToOutput[fawlvoIdx].push(temptab[t]);
- }
- }
- }
- }
- // Sort results by scoring, descending on the same group
- for (var ltoIdx in listToOutput) {
- listToOutput[ltoIdx].sort(function(a, b){
- return b.scoring - a.scoring;
- });
- }
- // If we have groups with same number of words,
- // will sort groups by higher scoring of each group
- for (var i = 0; i < listToOutput.length - 1; i++) {
- for (var j = i + 1; j < listToOutput.length; j++) {
- if (listToOutput[i][0].motsnb < listToOutput[j][0].motsnb
- || (listToOutput[i][0].motsnb == listToOutput[j][0].motsnb
- && listToOutput[i][0].scoring < listToOutput[j][0].scoring)
- ) {
- var x = listToOutput[i];
- listToOutput[i] = listToOutput[j];
- listToOutput[j] = x;
- }
- }
- }
-
- return listToOutput;
-}
-
-// Remove derivates words from the list of words
-function removeDerivates(obj){
- var toResultObject = new Array();
- for (i in obj){
- var filesNo = obj[i].filesNo;
- var wordList = obj[i].wordList;
- var wList = wordList.split(",");
- var searchedWords = searchTextField.toLowerCase().split(" ");
- for (var k = 0 ; k < searchedWords.length ; k++){
- for (var j = 0 ; j < wList.length ; j++){
- if (wList[j].startsWith(searchedWords[k])){
- wList[j] = searchedWords[k];
- }
- }
- }
- wList = removeDuplicate(wList);
- var recreateList = '';
- for(var x in wList){
- recreateList+=wList[x] + ",";
- }
- recreateList = recreateList.substr(0, recreateList.length - 1);
- toResultObject.push(new newObj(filesNo, recreateList));
- }
- return toResultObject;
-}
-
-function newObj(filesNo, wordList){
- this.filesNo = filesNo;
- this.wordList = wordList;
-}
-
-// Add a new parameter. Scoring.
-function resultPerFile(filenb, motsliste, motsnb, motslisteDisplay, scoring, group) {
- //10 - spring,time - 2 - spring, time - 55 - 3
- this.filenb = filenb;
- this.motsliste = motsliste;
- this.motsnb = motsnb;
- this.motslisteDisplay= motslisteDisplay;
-
- this.scoring = scoring;
-
-}
-
-
-function findRating(words, nr){
- var sum = 0;
- var xx = words.split(',');
- for (jj = 0 ; jj < xx.length ; jj++){
- var wrd = w[xx[jj]].split(',');
- for (var ii = 0 ; ii < wrd.length ; ii++){
- var wrdno = wrd[ii].split('*');
- if (wrdno[0] == nr){
- sum+=parseInt(wrdno[1]);
- }
- }
- }
- return sum;
-}
-
-function compare_nbMots(s1, s2) {
- var t1 = s1.split(',');
- var t2 = s2.split(',');
- //alert ("s1:"+t1.length + " " +t2.length)
- if (t1.length == t2.length) {
- return 0;
- } else if (t1.length > t2.length) {
- return 1;
- } else {
- return -1;
- }
- //return t1.length - t2.length);
-}
-
-// return false if browser is Google Chrome and WebHelp is used on a local machine, not a web server
-function verifyBrowser(){
- var returnedValue = true;
- var browser = BrowserDetect.browser;
- var addressBar = window.location.href;
- if (browser == 'Chrome' && addressBar.indexOf('file://') === 0){
- returnedValue = false;
- }
-
- return returnedValue;
-}
-
-// Remove duplicate values from an array
-function removeDuplicate(arr) {
- var r = new Array();
- o:for(var i = 0, n = arr.length; i < n; i++) {
- for(var x = 0, y = r.length; x < y; x++) {
- if(r[x]==arr[i]) continue o;
- }
- r[r.length] = arr[i];
- }
- return r;
-}
-
-// Create startsWith method
-String.prototype.startsWith = function(str) {
- return (this.match("^"+str)==str);
-}
-
-function trim(str, chars) {
- return ltrim(rtrim(str, chars), chars);
-}
-
-function ltrim(str, chars) {
- chars = chars || "\\s";
- return str.replace(new RegExp("^[" + chars + "]+", "g"), "");
-}
-
-function rtrim(str, chars) {
- chars = chars || "\\s";
- return str.replace(new RegExp("[" + chars + "]+$", "g"), "");
-}
diff --git a/webhelp/docs/content/search/stemmers/en_stemmer.js b/webhelp/docs/content/search/stemmers/en_stemmer.js deleted file mode 100644 index 2117c1b..0000000 --- a/webhelp/docs/content/search/stemmers/en_stemmer.js +++ /dev/null @@ -1,234 +0,0 @@ -// Porter stemmer in Javascript. Few comments, but it's easy to follow against the rules in the original -// paper, in -// -// Porter, 1980, An algorithm for suffix stripping, Program, Vol. 14, -// no. 3, pp 130-137, -// -// see also http://www.tartarus.org/~martin/PorterStemmer - -// Release 1 -// Derived from (http://tartarus.org/~martin/PorterStemmer/js.txt) - cjm (iizuu) Aug 24, 2009 - -var stemmer = (function(){ - var step2list = { - "ational" : "ate", - "tional" : "tion", - "enci" : "ence", - "anci" : "ance", - "izer" : "ize", - "bli" : "ble", - "alli" : "al", - "entli" : "ent", - "eli" : "e", - "ousli" : "ous", - "ization" : "ize", - "ation" : "ate", - "ator" : "ate", - "alism" : "al", - "iveness" : "ive", - "fulness" : "ful", - "ousness" : "ous", - "aliti" : "al", - "iviti" : "ive", - "biliti" : "ble", - "logi" : "log" - }, - - step3list = { - "icate" : "ic", - "ative" : "", - "alize" : "al", - "iciti" : "ic", - "ical" : "ic", - "ful" : "", - "ness" : "" - }, - - c = "[^aeiou]", // consonant - v = "[aeiouy]", // vowel - C = c + "[^aeiouy]*", // consonant sequence - V = v + "[aeiou]*", // vowel sequence - - mgr0 = "^(" + C + ")?" + V + C, // [C]VC... is m>0 - meq1 = "^(" + C + ")?" + V + C + "(" + V + ")?$", // [C]VC[V] is m=1 - mgr1 = "^(" + C + ")?" + V + C + V + C, // [C]VCVC... is m>1 - s_v = "^(" + C + ")?" + v; // vowel in stem - - return function (w) { - var stem, - suffix, - firstch, - re, - re2, - re3, - re4, - origword = w; - - if (w.length < 3) { return w; } - - firstch = w.substr(0,1); - if (firstch == "y") { - w = firstch.toUpperCase() + w.substr(1); - } - - // Step 1a - re = /^(.+?)(ss|i)es$/; - re2 = /^(.+?)([^s])s$/; - - if (re.test(w)) { w = w.replace(re,"$1$2"); } - else if (re2.test(w)) { w = w.replace(re2,"$1$2"); } - - // Step 1b - re = /^(.+?)eed$/; - re2 = /^(.+?)(ed|ing)$/; - if (re.test(w)) { - var fp = re.exec(w); - re = new RegExp(mgr0); - if (re.test(fp[1])) { - re = /.$/; - w = w.replace(re,""); - } - } else if (re2.test(w)) { - var fp = re2.exec(w); - stem = fp[1]; - re2 = new RegExp(s_v); - if (re2.test(stem)) { - w = stem; - re2 = /(at|bl|iz)$/; - re3 = new RegExp("([^aeiouylsz])\\1$"); - re4 = new RegExp("^" + C + v + "[^aeiouwxy]$"); - if (re2.test(w)) { w = w + "e"; } - else if (re3.test(w)) { re = /.$/; w = w.replace(re,""); } - else if (re4.test(w)) { w = w + "e"; } - } - } - - // Step 1c - re = new RegExp("^(.+" + c + ")y$"); - if (re.test(w)) { - var fp = re.exec(w); - stem = fp[1]; - w = stem + "i"; - } - - // Step 2 - re = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/; - if (re.test(w)) { - var fp = re.exec(w); - stem = fp[1]; - suffix = fp[2]; - re = new RegExp(mgr0); - if (re.test(stem)) { - w = stem + step2list[suffix]; - } - } - - // Step 3 - re = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/; - if (re.test(w)) { - var fp = re.exec(w); - stem = fp[1]; - suffix = fp[2]; - re = new RegExp(mgr0); - if (re.test(stem)) { - w = stem + step3list[suffix]; - } - } - - // Step 4 - re = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/; - re2 = /^(.+?)(s|t)(ion)$/; - if (re.test(w)) { - var fp = re.exec(w); - stem = fp[1]; - re = new RegExp(mgr1); - if (re.test(stem)) { - w = stem; - } - } else if (re2.test(w)) { - var fp = re2.exec(w); - stem = fp[1] + fp[2]; - re2 = new RegExp(mgr1); - if (re2.test(stem)) { - w = stem; - } - } - - // Step 5 - re = /^(.+?)e$/; - if (re.test(w)) { - var fp = re.exec(w); - stem = fp[1]; - re = new RegExp(mgr1); - re2 = new RegExp(meq1); - re3 = new RegExp("^" + C + v + "[^aeiouwxy]$"); - if (re.test(stem) || (re2.test(stem) && !(re3.test(stem)))) { - w = stem; - } - } - - re = /ll$/; - re2 = new RegExp(mgr1); - if (re.test(w) && re2.test(w)) { - re = /.$/; - w = w.replace(re,""); - } - - // and turn initial Y back to y - - if (firstch == "y") { - w = firstch.toLowerCase() + w.substr(1); - } - - // See http://snowball.tartarus.org/algorithms/english/stemmer.html - // "Exceptional forms in general" - var specialWords = { - "skis" : "ski", - "skies" : "sky", - "dying" : "die", - "lying" : "lie", - "tying" : "tie", - "idly" : "idl", - "gently" : "gentl", - "ugly" : "ugli", - "early": "earli", - "only": "onli", - "singly": "singl" - }; - - if(specialWords[origword]){ - w = specialWords[origword]; - } - - if( "sky news howe atlas cosmos bias \ - andes inning outing canning herring \ - earring proceed exceed succeed".indexOf(origword) !== -1 ){ - w = origword; - } - - // Address words overstemmed as gener- - re = /.*generate?s?d?(ing)?$/; - if( re.test(origword) ){ - w = w + 'at'; - } - re = /.*general(ly)?$/; - if( re.test(origword) ){ - w = w + 'al'; - } - re = /.*generic(ally)?$/; - if( re.test(origword) ){ - w = w + 'ic'; - } - re = /.*generous(ly)?$/; - if( re.test(origword) ){ - w = w + 'ous'; - } - // Address words overstemmed as commun- - re = /.*communit(ies)?y?/; - if( re.test(origword) ){ - w = w + 'iti'; - } - - return w; - } -})(); |