I'm currently trying to execute htsearch from the command line and push the results into a variable for processing.
this is the perl code i'm using to grab the data my $search_results = `/home/mmaxey/www/cgi-bin/htsearch -v -v -v -c /etc/map.conf \?config=map\&restrict=\&exclude=\&method=or\&format=builtin-long\&sort=score\&words=africa`; this gives me the following error: ht://Dig error htsearch detected an error. Please report this to the webmaster of this site. The error message is: Unable to read word database file Did you run htmerge? the database files are world readable. here is what the config file looks like; database_dir: /home/mmaxey/www/data start_url: http://test.bleh.org limit_urls_to: ${start_url} exclude_urls: /cgi-bin/ .cgi bad_extensions: .wav .gz .z .sit .au .zip .tar .hqx .exe .com .gif \ .jpg .jpeg .aiff .class .map .ram .tgz .bin .rpm .mpg .mov .avi .css maintainer: root@localhost max_head_length: 10000 max_doc_size: 200000 no_excerpt_show_top: true search_algorithm: exact:1 synonyms:0.5 endings:0.1 template_map: Long long /home/mmaxey/www/htdig/long.html \ Short short /home/mmaxey/www/htdig/short.html # template_name: long nothing_found_file: /home/mmaxey/www/map/map_search_not_found.html page_list_header: no_page_list_header: <hr noshade size=2>All results on this page.<br> search_results_footer: /home/mmaxey/www/map/map_search_footer.html search_results_header: /home/mmaxey/www/map/map_search_header.html #search_results_wrapper: /home/mmaxey/www/htdig/search_results_template.html no_prev_page_text: maximum_pages: 1 logging: true ignore_alt_text: true # Search Pragmatics keywords_factor: 500 title_factor: 300 matches_per_page: 50 ---- any help on this topic would be greatly appreciated. Thanks all Mark Maxey __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com ------------------------------------------------------- This sf.net email is sponsored by: Dice - The leading online job board for high-tech professionals. Search and apply for tech jobs today! http://seeker.dice.com/seeker.epl?rel_code=31 _______________________________________________ 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

