On Wed, 07 Mar 2001, Clint Gilders wrote:
> Hi Jonathan
>       My Perl wrapper htsearch_cgi could probably be modified to do what you
> want.  Right now it just gets the search results and prints them out as
> returned, but it would be pretty easy to use some regexs and display an
> image/extra text based on the URL or title of the page as long as these
> are specific to each product.
>       It may be a place to start.  htsearcg_cgi is available in the
> contrib/wrapper section of the ht://dig ftp archive.  I found an
> ommision in the README, but I am sending Geoff a fixed copy.  Should be
> up soon hopefully.

So basically, I would modify the template so it showed only the link, and maybe
the text. Then, in my serach results cgi script, I would call htsearch, get the
results, and parse out the link, and then process the link in the script.

Sounds like this could work.

Maybe I was reading too much about Apache and I was just in the Apache modules
mindset - where you can go in and interrupt or modify any step in the way it
processes a request. It seemed like a good idea if you could do something where
you can interfere with the various steps it takes to either crawl or to get
and display results, like you do with Apache, but this should work for our
purposes.

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to