According to Dan Langille:
> On 18 Jun 2001, at 13:39, Gilles Detillieux wrote:
> > I assume you discovered the "script_name" attribute.  It was added
> > specifically for supporting PHP wrappers around htsearch.
> 
> Hmmm, looking at http://www.htdig.org/attrs.html, it refers me to 
> contrib/scriptname, but I don't see that attribute being used there.
> 
> [dan@xeon:~/htdig-install/htdig-3.1.5/contrib/scriptname] $ grep 
> "script_name" *
> README:This is a small example to demonstrate the script_name 
> attribute.
> README:script_name:     /search/results.shtml
> results.shtml:  -- script_name example using SSI
> search.html:  -- script_name example using SSI

You have to look harder.  The actual usage of the attribute is a one-liner
in the README.  The rest of the example is a collection of SSI HTML files
and templates that represent an instance where this attribute is needed.

> I've been able to achieve a working wrapper without any &.  I just don't 
> try to use them at all.  I spent a few hours creating very nice little 
> scripts.  I enjoyed it but finally discovered a more simple approach.
> 
> Folks: please use and thrash this search page for me:
> 
> http://diary.unixathome.org/htdig/results.php
> 
> I think I've completed the basics. I just need to tidy it up. I'd like to know 
> that it's functional before I start that process.  The code is available at 
> http://diary.unixathome.org/htdig/results.php.txt and feedback is 
> solicited.

I tried a couple searches without any problems.  The page buttons do seem
to work correctly, which I think was the main concern discussed here.  I
have no PHP experience, though, so I won't bother examining and commenting
on your code.

-- 
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

Reply via email to