 |

jferry
User
Aug 6, 2002, 7:54 PM
Post #1 of 5
(2268 views)
Shortcut
|
|
SSI in Search Results
|
Can't Post
|
|
Can't seem to get SSI to work in the search results page. Anything special I need to do? jferry
|
|
|  |
 |

jferry
User
Aug 7, 2002, 5:37 AM
Post #3 of 5
(2260 views)
Shortcut
|
|
Re: [terrill] SSI in Search Results
[In reply to]
|
Can't Post
|
|
Sorry for not including more detail. We use SSI all over our Article Manager pages with great results. One example is our daily news page at: http://www.circuitnet.com/news.htm. The navigation at the top of the page, the entire right side column, and footer come from 3 separate SSI's. However using SSI in the exact same way on search results pages does not show up. Is it because of the file depth of the search results page, or that it comes from the cgi-bin folder? jferry
|
|
|  |
 |

Thomas
User
Aug 7, 2002, 6:35 AM
Post #4 of 5
(2255 views)
Shortcut
|
|
Re: [jferry] SSI in Search Results
[In reply to]
|
Can't Post
|
|
Hi I am pretty sure this is because you cannot call SSI's from a .cgi page. I wrote to interactive tools a while ago to ask about this and they suggested calling a javascript include instead of an SSI. I tried this but it turned out to be more hassle than it was worth, so now my search pages just have a standard menu that I wrote into the template.
|
|
|  |
 |

Luke
Staff
/ Moderator

Aug 7, 2002, 1:44 PM
Post #5 of 5
(2237 views)
Shortcut
|
|
Re: [jferry] SSI in Search Results
[In reply to]
|
Can't Post
|
|
Hi jferry, HTML output by CGI scripts can't call standard SSIs. e.g. <!--#include virtual="/path/filename.html" --> So the HTML output by the search.cgi script won't be able to call SSIs like the one above. It is possible, however, to include SSI files into the search output. Although the search engine doesn't technically support SSIs it can include other "template" or published files with a special tag. You might notice in some of the templates we use both. One works for the web server and one for the cgi script. Here's an example of how it looks. <!-- template include : /path/filename.html --> I'm here to help, so let me know if this works. :) Luke Holzken Product Development
|
|
|  |
|