RE: Can I do that????? - 7/27/2001 17:54:00
I am not sure if I am understanding you correstly - is this what is going on?1. You have a CGI script which creates files - are these files html files or are they .txt files? 2. You wish to have the content generated by the script placed in pages that have a consistent look. If this is correct, then yes, you can use SSI. You need to create a template page, with all the navigation etc exactly as you want it to appear on all pages. This page will need to ba laid out carefully using tables. Save it as template.shtml Then every time you want a new page open the template, save it as newfilename.shtml and in the cell where you want the generated file to appear put <!--#include virtual="directoryname/generatedfile.html" --> You will need to be sure you have the path to the generated file correct. You cannot use an absolute URL. Some scripts allow you to automatically place the generated content into a template page, which is simpler. Depends on the script there. What is the name of the script? If you need to know more about SSI have a look here: www.bignosebird.com/ssi.shtml
------------------ Katherine InKK Design LinKKs - Kilkenny's Online Magazine -*-*-*-*-*-*-*-*-*-* "Dogs have owners, cats have staff!"
|