Forum OpenACS Q&A: ht:/dig integration

Collapse
Posted by Chris Crownhart on
I am looking into using ht:/dig for a search interface to an openacs
site, and I'm curious if anyone has messed with this.  I initially set
it up to just run as a 'cgi' script through aolserver, but now I would
really like to run the htsearch program through some kind of adp
wrapper, or use adp pages in some other manner, but still take
advantage of htsearch.

Anyone have any ideas?

Thanks,
Chris

Collapse
Posted by Fred Yankowski on
When I did something similar for a PHP site, I found the following article useful:  http://www.devshed.com/Server_Side/PHP/search/

A similar scheme might work in ACS, replacing the PHP wrapper with an equivalent Tcl/ADP wrapper.

Collapse
Posted by Aaron (WRONG ACCOUNT) Swartz on
I had ht://dig spit out Tcl and then I parsed it. Code is at:

http://source.theinfo.org/getinfo2/search/search.adp

It's messy, but it works.