At 3:58 PM +0200 10/4/00, [EMAIL PROTECTED] wrote:
>Hello, we want to use htdigs on our web site, but have a little
>problem.
>The entire site is in PHP and read text files
>a1.txt, a2.txt, ...
>
>How to configure htdigs for having, after a research,
>the link display.php?file=a1.txt instead of a direct link
>on the text file ?

I'm really not sure what you mean. If you have a PHP-driven site, 
then ht://Dig will index it just fine. (There are many examples of 
this, including <http://www.linux.com/>)

If instead you mean that you'd like to index a1.txt, a2.txt, etc. and 
then change the link in the result form to point to the URL you 
mentioned, at a minimum, you'll have to change the result form. You 
could, for example have something like this:

<a href="http://www.foo.com/display.php?url=$(URL)">$(URL)</a> 
instead of the usual <a href="$(URL)">$(URL)</a>

For more details, you may want to see the guide to using PHP and ht://Dig:
<http://www.htdig.org/contrib/guides.html>

--
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/

------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] 
You will receive a message to confirm this. 


Reply via email to