The query sent to google for a site search needs a space before the
'site' keyword.
Here is the patch.
I already applied it to centipede's forrest.cent (see
http://www.krysalis.org/cents/forrest/index.html)
Index: site2xhtml.xsl
===================================================================
RCS file:
/home/cvspublic/xml-forrest/src/resources/skins/forrest-site/xslt/html/site2xhtml.xsl,v
retrieving revision 1.14
diff -u -r1.14 site2xhtml.xsl
--- site2xhtml.xsl 17 Nov 2002 00:45:41 -0000 1.14
+++ site2xhtml.xsl 29 Nov 2002 07:41:38 -0000
@@ -86,7 +86,7 @@
$config/disable-search='false' and $config/searchsite-domain and
$config/searchsite-name">
<form method="get" action="http://www.google.com/search"
- onsubmit="q.value = query.value +
'site:{$config/searchsite-domain}'" target="_blank">
+ onsubmit="q.value = query.value + '
site:{$config/searchsite-domain}'" target="_blank">
<table bgcolor="{$menu-border}" cellpadding="0" cellspacing="0"
border="0" summary="search">
<tr>
<td colspan="3"><img src="{$spacer}" alt="" width="1"
height="10" /></td>
|