- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name: Peter
Subject: Search

Thanks Jon,
I was finally able to compile dpsearch-4.39-08042006.tar.gz on different system 
with statically linked binaries. I guess there is a little bug in 
'search.htm-dist'. The section '<!--restop-->' has in the middle corrupted 
closing tag for 'small' in 'IFNOT':
..
<tr><td colspan="2">
<!IFNOT NAME="Suggest_q" VALUE=""><br><small>&nbsp;<b>Did you mean &laquo;<a 
href="$(Suggest_url)">$(Suggest_q)</a>&raquo; ?</b></
<!ENDIF>
  </td></tr>
  <tr><td colspan="2">
..
I believe it should be:
..
<tr><td colspan="2">
<!IFNOT NAME="Suggest_q" VALUE=""><br><small>&nbsp;<b>Did you mean &laquo;<a 
href="$(Suggest_url)">$(Suggest_q)</a>&raquo; ?</b></small>
<!ENDIF>
  </td></tr>
  <tr><td colspan="2">
..
In fact, if anyone is interested in using a bit reformatted version, here it is:
<!--restop-->
<table bgcolor=#EEEEEE width=95% border=0 align=center>
  <tr>
    <td align=left>
      Searching for: <b>$&(q)</b>.  [<b>$(W)</b>]
      <br>
      Sort by:
      <!IF NAME="s" CONTENT="DRP">
        <a href="$(FirstPage)&s=RPD">relevancy</a>&nbsp;|&nbsp;<b>last modified 
date</b>
      <!ELSE>
        <b>relevancy</b>&nbsp;|&nbsp;<a href="$(FirstPage)&s=DRP">last modified 
date</a>
      <!ENDIF> 
    </td><td align=right>
      <small>Results <b>$(first)-$(last)</b> of <B>$(total)</B>. </small>
      <br>
      <small>(<b>$(SearchTime)</b> seconds)</small>
    </td>
  </tr>
  <tr><td colspan="2">
  <!IFNOT NAME="Suggest_q" VALUE="">
     <br><small>&nbsp;<b>Did you mean &laquo;<a 
href="$(Suggest_url)">$(Suggest_q)</a>&raquo; ?</b></small>
  <!ENDIF>
  </td></tr>
</table>
<!--/restop-->

However, I couldn't find PHP frontend for search and also multilingual versions 
(as stated in manual). Has it been removed from package? Can you please tell 
where can I find PHP frontend (search.php) and also its multilingual versions? 
PHP frontends would be very usefull! Thanks.

- - - - - - - - - - - - - - - - - - - - - - - - - - - -

Read the full topic here:
http://www.dataparksearch.org/cgi-bin/simpleforum.cgi?fid=01;topic_id=1144386080

Reply via email to