This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Front Page > March 2004 > Alternative to SSIs?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Alternative to SSIs?
|
|
| Peter Ashton 2004-03-31, 11:38 am |
| 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
| |
| Thomas A. Rowe 2004-03-31, 11:38 am |
| 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)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
"Peter Ashton" <pete.ashton@tiscali.co.uk> wrote in message
news:ub$P2AzFEHA.2208@TK2MSFTNGP09.phx.gbl...
> 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
>
>
| |
| Peter Ashton 2004-03-31, 1:37 pm |
| 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
>
> --
> ==============================================
> Thomas A. Rowe (Microsoft MVP - FrontPage)
> WEBMASTER Resources(tm)
> http://www.ycoln-resources.com
> FrontPage Resources, WebCircle, MS KB Quick Links, etc.
> ==============================================
> To assist you in getting the best answers for FrontPage support see:
> http://www.net-sites.com/sitebuilder/newsgroups.asp
>
> "Peter Ashton" <pete.ashton@tiscali.co.uk> wrote in message
> news:ub$P2AzFEHA.2208@TK2MSFTNGP09.phx.gbl...
menu[color=darkred]
server-side[color=darkred]
drop-down[color=darkred]
I[color=darkred]
FrontPage.[color=darkred]
be[color=darkred]
happening[color=darkred]
not,[color=darkred]
will[color=darkred]
avoid[color=darkred]
>
>
| |
| Peter Ashton 2004-03-31, 1:38 pm |
| 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
"Peter Ashton" <pete[dot]ashton[at]tiscali.co.uk> wrote in message
news:uDx3SdzFEHA.692@TK2MSFTNGP09.phx.gbl...
> Hi again
>
> component and is included in your
>
> 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... :)
>
>
> It doesn't :(
>
> Cheers
:
> Peter
drop-down[color=darkred]
> menu
> server-side
> drop-down
final[cohor=darkred]
make[color=darkred]
so[color=darkred]
> I
> FrontPage.
> be
> happening
> not(
> will
> avoid
>
>
| |
| Thomas A. Rowe 2004-03-31, 1:38 pm |
| 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)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
"Peter Ashton" <pete[dot]ashton[at]tiscali.co.uk> wrote in message
news:uDx3SdzFEHA.692@TK2MSFTNGP09.phx.gbl...
> Hi again
>
> component and is included in your
>
> 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... :)
>
>
> It doesn't :(
>
> Cheers
>
> Peter
> menu
> server-side
> drop-down
> I
> FrontPage.
> be
> happening
> not,
> will
> avoid
>
>
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|