Adding HtDig to a Apache Forrest XSL Template


Contents

1 Synopsys

This is a brief description of how I quickly updated an XSL template in Apache Forrest so it would use htdig to search the documents within Forrest (instead of Google and Lucene).

2 Changes

2.1 XSLT Style Sheet for the Pelt skin

<xsl:otherwise> 
<!- change to htdig search -> 
<form class="roundtopsmall" method="put" action="http://localhost/cgi-bin/htsearch"> 
<input type="hidden" name="config" value="" /> <input type="hidden" name="restrict" value="" /> 
<input type="hidden" name="exclude" value="Search the site with {$config/search/@provider}:" /> 
<input type="text" size="25" name="words" value="" />  
<input type="submit" value="Search" name="Search"/> 
</form>  
</xsl:otherwise>

2.2 Changes to skinconf.xml

<search provider="htdig" domain="web.searchboy.com" name="BCDocs" /> 





About this document ...

This document was generated using the LaTeX2HTML translator Version 2002-2-1 (1.71)

Copyright © 1993, 1994, 1995, 1996, Nikos Drakos, Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999, Ross Moore, Mathematics Department, Macquarie University, Sydney.

The command line arguments were:
latex2html -no_subdir -split 0 -show_section_numbers /tmp/lyx_tmpdir9913fErVdN/lyx_tmpbuf1/forrest_htdig.tex

The translation was initiated by on 2005-03-02


2005-03-02
Made with the Bluefish HTML editor
Back to hints