At 03:44 PM 4/23/99 -0400, eli wendkos wrote:
>
>I am curious if there is any way I can use htsearch/htdig to resolve a
>problem I've got.
>Can anyone think of a way I can send a string via an html link, i.e.
>
><A HREF="blah/cgi-bin/htsearch?January">January</A>?
>
>I want to be able to set up predefined searches and access them from a
>link, rather than a form.
that's probably fairly straight-forward. basically when you do a search
from a search form, a crazy URL should appear in your browsers URL area.
something like:
"http://blah.com/cgi-bin/htsearch?config=htdig&restrict=&exclude=&method=and
&format=builtin-long&words=Januray".
basically, copy this URL and paste it into the html of your page, as you
wrote above.
in the event that a URL of the above form doesnt appear, it means that your
search form is set up to make "POST" queries, in which case you just need
to change your initial form tag to read: "<FORM method=get ..."
i'm not sure of the advantage of this over having a search selection ...
but it's your call.
shantonu sen
-----------------------------------------------------------
Shantonu Sen
Massachusetts Institute of Technology
[EMAIL PROTECTED]
------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.