At 2:23 PM -0800 3/7/01, Jonathan Gardner wrote:
>What would be really cool is instead of using templates using some kind of
>perl script (and hence, any kind of program), with the variables 
>passed in. The perl script would be executed rather than a template 
>being loaded and
>processed. The output of the perl script would be the actual HTML to go into
>the page. Kind of like CGI, but for the search engine.

There are many ways of doing what you want. Certainly the 
template_patterns attribute can do some of what you want (showing 
images based on the page/product):

<http://www.htdig.org/attrs.html#template_patterns>

For quite some time, people have also written Perl, Python, PHP, 
Java, (etc.) "wrappers" around htsearch to format the results before 
display. You may want to take a look at these before proceeding.

<http://www.htdig.org/files/contrib/wrappers/>

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

_______________________________________________
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