case you don't have htsearch handy, the output should look something like
the following.
usage: htsearch [-v][-d][-c configfile] [query_string] This program is part of ht://Dig 3.1.6
Options: -v -d Verbose mode. This increases the verbosity of the program. Using more than 2 is probably only useful for debugging purposes. The default verbose mode gives a progress on what it is doing and where it is.
-c configfile Use the specified configuration file instead on the default.
query_string A CGI-style query string can be given as a single argument, and is only used if the REQUEST_METHOD environment variable is not set. If no query_string is given, and REQUEST_METHOD is not set, htsearch will prompt for the query.
Jim
On Wed, 25 Aug 2004, Malka Cymbalista wrote:
I know that htdig can be called from the command line. My question was if htsearch can be called from the command line. If yes, what are the parameters?
Malki Cymbalista Webmaster, Weizmann Institute of Science Rehovot, Israel 76100 Internet: [EMAIL PROTECTED] 08-934-3036
"Harrell, Roger" <[EMAIL PROTECTED]> 24/08/2004 01:09:17 >>>
I am running htdig 3.1.6. Is it possible to call htsearch from withinascript? I want to be able to search part of my site but I am notdoingIit directly from an html page. I have a script that searches various different sources of information. One of the sources of informationwant to search for is part of the web pages on my site. Is there awayto call htsearch from a script with appropriate parameters? thanks for any help.
Since htdig can be called from a command line you can call it this way, then it's just a matter of parsing the return.
Roger
------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ 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