 | |  |
 | |  |
 |

Cliff
Staff

Nov 22, 2004, 11:16 AM
Post #2 of 4
(3394 views)
Shortcut
|
|
Re: [beautonkin] Connecting AM and SE
[In reply to]
|
Can't Post
|
|
Hi beautonkin, Thanks for posting The problem that you are getting is due to the fact that dynamic pages, like the ones generated for the search results, can't render or process SSI code. This is the nature of all dynamic content, so the server won't know how to process those SSI properly. They will work on Article Manager though because we added functionality to handle rendering of SSI and server side scripts (PHP, ASP, etc.) in pages generated dynamically by search.cgi The best to get around this at the moment in Search Engine is to have a hard coded search query page that you can use the SSI's on. So instead of going to www.yoursite.com/cgi-bin/search/exec/search.cgi you can just make view the source of that page and save it as a new HTML page. So your users would go to www.yoursite.com/search.shtml instead. That way you can use SSI’s on the search page Then you can hard code those elements onto the search results template so have them included for the results. As for the description, all you need to do is add a description meta tag to your article templates. Something like this may work for you
<meta name="description" content="$art_summary$" /> or you can setup a unique field in Article Manager to hold the article description like this
<meta name="description" content="$art_field1$" /> Where art_field1 is the field that holds the description value. I hope that helps explain, but if you need any more details just let me know! Regards, Cliff Stefanuk - Customer Service Manager support@interactivetools.com
|
|
|  |
 | |  |
 |

ross
Staff
/ Moderator

Nov 23, 2004, 1:17 PM
Post #4 of 4
(3368 views)
Shortcut
|
|
Re: [beautonkin] Connecting AM and SE
[In reply to]
|
Can't Post
|
|
Hi Beau. Thanks for the update! I think that you are almost there with the meta tags. It looks as though you are adding the style information directly into the Article Manager database field. What you are going to want to do instead is put just the text into Article Manager and the style information onto the Search Engine results template. For example, lets say you want to have the use the following: <span lang=EN-GB>This is the description</span> You would put “This is the description” into Article Manager and then modify the “/se/templates/search_results.html” template from: <br><font size=2 class=f>Description: <font color="#000000">$description$</font></font> to <br><font size=2 class=f>Description: <span lang=EN-GB>$description$</span> Keep in mind that you’ll probably want to make the change in all four template cells on your search results template. As for your hardcoded search page, if you point to your search engine in the “action” attribute of your <form> tag, then that should get it to search using your Search Engine. The code would look something like this: <form method=”post” action=”http://www.yoursearchenginedomain.com/cgi-bin/se/exec/search.cgi"> I hope this helps. If you need any help to get either of these things going, just let me know and I’ll go into more details for you . ----------------------------------------------------------- Cheers, Ross Fairbairn - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 | |  |
|