Thanks.  I just fixed this.

Doug

[EMAIL PROTECTED] wrote:
Hi,

 The link "More results from site..." wasn't working some times so I decided to 
check why.
 Then I found the error:

 "The url to "More results from site should have &start=0 instead of 
&start="+start+"".

 So if you want to fix it go to /path/to/tomcat/ROOT/ and edit search.jsp .

 Found this:

 <% if (hit.moreFromSiteExcluded()) {
String more =

"query="+URLEncoder.encode("site:"+hit.getSite()+" "+queryString)

+"&start="+start+"&hitsPerPage="+hitsPerPage+"&hitsPerSite="+0

+"&clustering="+clustering;%>

- <a href="/search.jsp?<%=more%>"><font face=arial size=2 color=808080>Mais 
resultados de

<%=hit.getSite()%></font></a>

<% } %>

 replace whith this:

 <% if (hit.moreFromSiteExcluded()) {

String more =

"query="+URLEncoder.encode("site:"+hit.getSite()+" "+queryString)

+"hitsPerPage="+hitsPerPage+"&hitsPerSite="+0

+"&clustering="+clustering;%>

- <a href="/search.jsp?<%=more%>"><font face=arial size=2 color=808080>Mais 
resultados de

<%=hit.getSite()%></font></a>

<% } %>



 Hope I've helped you!

Marco Vanossi

Sao Paulo - Brasil

RadarWeb.Net

Reply via email to