According to Adam Lipson:
> I'm going to try the second method in a few minutes, but quick question
> about the first.  When I edited this config
> 
> <font size="-1"><input type="hidden" name="config" value><input type="hidden" 
> name="restrict" value><input type="hidden" name="exclude" value>Match:
>   <select name="method">
> 
> to be (truncated)
> 
> <input type="hidden" name="exclude" value="http://www.jbase.com/knowlegebase/";>
> 
> it returned no results.  Did I just goof up big time with the value
> or something wrong with my system?

Well, you tell me, does it make sense to you to define 3 hidden input
parameters in a search form but not assign a value to them?  In fact,
when you put a value attribute in an input tag, but don't assign a value,
as you do above, the result is unpredictable - some browsers set the
value to an empty string, but some (like older versions of Netscape)
set the value to two spaces.  You should have value="(something)" in
those tags, whatever you feel the (something) should be, even if you
just want an empty string.  What's more, it seems you have two separate
definitions of the "exclude" input parameter in your form above.

Finally, if you're wondering about the value you give to "exclude" in the
last input tag, I'm not in a position to say whether it's appropriate
or not, as I don't have a clue what's in your database.  If all the
URLs in your database begin with "http://www.jbase.com/knowlegebase/";,
then htsearch will exclude all of them.  If there are some URLs in your
database that don't begin with that string, then they should show up in
search results, as long as they have text matching your search words,
and as long as there are no other problems in your search form (like
the ones mentioned above).

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/
Dept. Physiology, U. of Manitoba  Winnipeg, MB  R3E 3J7  (Canada)


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
ht://Dig general mailing list: <[EMAIL PROTECTED]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to