According to Martin Cermak:
> What if I want to get just a list of URLs matching the Query (not to
> generate a Search results page).
> Is there any script I can call from the command line (e.g.: show me all
> the URLs of documents matching the query "computer")?
You can create a stripped down "urls.conf" file for search results, which
would contain something like:
include: ${config_dir}/htdig.conf
maximum_pages: 1
matches_per_page: 10000
search_results_header: /dev/null
search_results_footer: /dev/null
template_map: URLs urls ${common_dir}/urls.html
template_name: urls
where the urls.html file in your common directory would simply contain:
$&(URL)
Then, the query /path/to/htsearch -c /path/to/urls.conf words=computer
would give all matching URLs.
--
Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba Phone: (204)789-3766
Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
_______________________________________________
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