On Fri, 2 Feb 2001, Richard Seymour wrote:
> 1. When htdig encounters the above, is there a way to strip off the
> ?sessionid=1234567890 part, so it will not be a part of the URL in
> search results? How?
There was previously a patch to just strip off query strings, but a quick
scan through the patch archive didn't turn it up:
<ftp://ftp.ccsf.org/htdig-patches/>
On the other hand, there's a more thorough URL rewriting patch to 3.1.5
available as well:
<ftp://ftp.ccsf.org/htdig-patches/3.1.5/htdig-3.1.5.aarmstrong.tar.gz>
> 2. When the search results page is being generated, is there any way I
> can dynamically mess with the links the user will click on, so I can add
> that users session information to the link?
All CGI environment variables are passed through to the templates, which
might prove helpful, plus you can use allow_in_form to add additional
fields to the search form itself that come through as variables:
<http://htdig.sourceforge.net/attrs.html#allow_in_form>
Beyond that, you'd probably need to write some sort of wrapper for
htsearch.
--
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/
_______________________________________________
htdig-general mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/htdig-general