Perlfect Solutions
 

[Perlfect-search] Searching just one page adn highlight results

Darrell Ring perlfect-search@perlfect.com
Tue, 23 Mar 2004 15:16:51 -0600
This is a multi-part message in MIME format.

------=_NextPart_000_265A_01C410E9.DE671B20
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I cannot seem to be able to search just one page (exclude everything =
else).

Here is what I have for the form call:

<form method=3D"get" action=3D"/cgibin/perlfect/search/search.pl">
    <input type=3D"hidden" name=3D"p" value=3D"1">
    <input type=3D"hidden" name=3D"lang" value=3D"en">
    <input type=3D"hidden" name=3D"include" value=3D"mypage.html">
    <input type=3D"hidden" name=3D"exclude" value=3D"">
    <input type=3D"hidden" name=3D"penalty" value=3D"0">
    <select name=3D"mode">
   <option value=3D"all">Match ALL words</option>
   <option value=3D"any">Match ANY word</option>
    </select>
    <input type=3D"text" name=3D"q"><input type=3D"submit" =
value=3D"Search">
  </form></div>
   =20
What I need to do is have the Perlfect search the page and return the =
same page with highlighted results.

Please help and thank you in advance.
Darrell
------=_NextPart_000_265A_01C410E9.DE671B20
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I cannot seem to be able to search just =
one page=20
(exclude everything else).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Here is what I have for the form =
call:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&lt;form method=3D"get"=20
action=3D"/cgibin/perlfect/search/search.pl"&gt;<BR>&nbsp;&nbsp;&nbsp; =
&lt;input=20
type=3D"hidden" name=3D"p" value=3D"1"&gt;<BR>&nbsp;&nbsp;&nbsp; =
&lt;input=20
type=3D"hidden" name=3D"lang" value=3D"en"&gt;<BR>&nbsp;&nbsp;&nbsp; =
&lt;input=20
type=3D"hidden" name=3D"include" =
value=3D"mypage.html"&gt;<BR>&nbsp;&nbsp;&nbsp;=20
&lt;input type=3D"hidden" name=3D"exclude" =
value=3D""&gt;<BR>&nbsp;&nbsp;&nbsp;=20
&lt;input type=3D"hidden" name=3D"penalty" =
value=3D"0"&gt;<BR>&nbsp;&nbsp;&nbsp;=20
&lt;select name=3D"mode"&gt;<BR>&nbsp;&nbsp; &lt;option =
value=3D"all"&gt;Match ALL=20
words&lt;/option&gt;<BR>&nbsp;&nbsp; &lt;option value=3D"any"&gt;Match =
ANY=20
word&lt;/option&gt;<BR>&nbsp;&nbsp;&nbsp; =
&lt;/select&gt;<BR>&nbsp;&nbsp;&nbsp;=20
&lt;input type=3D"text" name=3D"q"&gt;&lt;input type=3D"submit"=20
value=3D"Search"&gt;<BR>&nbsp; =
&lt;/form&gt;&lt;/div&gt;<BR>&nbsp;&nbsp;&nbsp;=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>What I need to do is have the Perlfect =
search the=20
page and return the same page with highlighted results.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Please help and thank you in =
advance.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Darrell</FONT></DIV></BODY></HTML>

------=_NextPart_000_265A_01C410E9.DE671B20--