Page 1 of 1

Metasearch using .shtml file extensions

Posted: Thu Feb 28, 2002 10:07 am
by alistvideos
Hello, I'm using the metasearch script from webinator version 2.5. I would like to incorporate .shtml extensions so that I can incorporate a rotating banner program on my results page(s).
My results page is : http://www.mysite.com/cgi-bin/texis/web ... w1?q=xyzzy

Can I have ssi called from the script to incorporate say a rotating banner program?

Thanks

Metasearch using .shtml file extensions

Posted: Thu Feb 28, 2002 10:58 am
by mark
If you'd use #exec in shtml, use <exec> and <send> in vortex. If you'd use #include in shtml, use <spew> in vortex.

Metasearch using .shtml file extensions

Posted: Fri Mar 01, 2002 5:46 pm
by alistvideos
Thanks - I'm using #exec in shtml(<!--#exec cgi="cgi-bin/banner.pl" -->). I tried to incorporate that in my vortex script but not sure where to put it. I have a section of my search script defined <ADBANNER> in the header of the script. Should I put the <exec> and <send> there? or do I put it around the ssi call?

Any help or reference would be greatly appreciated.

Thanks, Paul

Metasearch using .shtml file extensions

Posted: Fri Mar 01, 2002 10:46 pm
by John
You should be able to replace the #exec with either the <exec> and <send>, or if you script needs to run as a CGI you can use

<fetch "http://localhost/cgi-bin/banner.pl">
<send $ret>