Alternative to SSIs?

  • Thread starter Thread starter Peter Ashton
  • Start date Start date
P

Peter Ashton

Hi

I have been working on a web site which has a nice Javascript drop-down menu
on the top of each page. To test the site, I have been using a server-side
include to pull in the HTML fragments that contains the tables and
positioning and a reference to the Javascript code that does the drop-down
stuff. However, I don't have control over the server on which the final
site will run and this is set up to specifically prohibit SSIs. To make
things even worse, it also does not support the FrontPage extensions, so I
cannot use the Web Components->Included content functionality in FrontPage.

Is there an alternative that I can use? Ideally, what I would like to be
able to do is specify in FrontPage that the content should be included
whenever the web page is published to the web, rather than it all happening
when the server delivers the page. Can I do this with FrontPage? If not,
is there anything else out there that can help? As a last resort, I will
probably write a Perl script to parse out the <!--#include virtual>
directive from the published pages and insert the code, but I'd rather avoid
that if I can...

Many thanks

Peter Ashton
 
You can use the FP Include Page component, as it is a design-time component and is included in your
page when you save it.

You can also continue to use the SSI include if the server supports ASP.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
Hi again
You can use the FP Include Page component, as it is a design-time
component and is included in your
page when you save it.

That's what I thought, but when I try that and publish the web, the file is
not included. Instead, when I do a view source, it still has the

<!--webbot bot="Include" U-Include="header.htm" TAG="BODY"
startspan --><!--webbot bot="Include" i-checksum="0" endspan -->

in, where I would have expected it to put the included text. Is this what
you would expect? I should have said in the original post that this is
using FP2002, but I have remembered to say that the front page extensions
are not present in the Page options...|Compatibility dialog.

Thanks for trying though... :)
You can also continue to use the SSI include if the server supports ASP.

It doesn't :(

Cheers

Peter
 
Forget that, it was me being stupid, and not having a <BODY> tag in the
included file, so the web component didn't think there was anything to
include...

Oh well, it works now

Many thanks

Peter
 
How are you uploading via FP's FTP mode or with a 3rd Party FTP application?

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top