Metasearch using .shtml file extensions

Post Reply
alistvideos
Posts: 26
Joined: Tue May 01, 2001 8:58 pm

Metasearch using .shtml file extensions

Post 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
User avatar
mark
Site Admin
Posts: 5513
Joined: Tue Apr 25, 2000 6:56 pm

Metasearch using .shtml file extensions

Post 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.
alistvideos
Posts: 26
Joined: Tue May 01, 2001 8:58 pm

Metasearch using .shtml file extensions

Post 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
User avatar
John
Site Admin
Posts: 2597
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

Metasearch using .shtml file extensions

Post 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>
John Turnbull
Thunderstone Software
Post Reply