Displaying includes using FrontPage's WEBBOT tag

M

Mike Mize

I've got a problem that I'm trying to resolve with the way FrontPage
does server side includes. We have an IIS 5 server that originally had FPE
2000 then was later upgraded to FPE 2002.
When web authors use FrontPage to include local html files, FrontPage
inserts something like <--WEBBOT BOT="Include" U-Include="file.htm"
TAG="Body" -->. Sometimes there is a "startspan" at the end of this,
followed by some html, then a <--webbot... line that ends with "stopspan".
You're probably all familiar with this. When the author sees the document
in FrontPage it looks exactly like its supposed to. But when using a
browser to view the resultant page, the FrontPage supplied includes simply
don't show up.
When I try this on my workstation which is running the XP version of IIS
with FPE 2002 it works correctly. If I use the standard <==#include
file="file.html" --> on the server it works correctly. But for some reason
the FrontPage inserted tags don't. There has to be some sort of
configuration setting that I've missed, but I can't for the life of me find
it. Has anyone else ever run into this?

Mike Mize
California State University, Fresno
 
S

Steve Easton

The FrontPage include page feature is not an SSI, it is a design time feature,
and the include is added to the page at publishing time, or when the include
page or the page with included content is saved on the live server.

I would have your clients run a recalculate hyperlinks on both their local and
remote webs and see if it clears the issue.
Also, have them publish from the client to the server afterwards.

hth


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
T

Thomas A. Rowe

Make sure the page that you are using for the Include have standard opening tags that would be on a
normal page.

<html>
<title>
<head>
</head>
<body>
page content. content that is to be included on other pages.
</body>
</html>


When you use ASP SSI, those tags are not needed, but for FP they have to be included.

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

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

Mike Mize

I appreciate the comments from everyone. After these and a few more
searches in Google I finally figured out what was happening. The WEBBOT
pseudo-tag has a component (TAG="BODY") that appears to mean "only use the
stuff between <body> and </body>, which makes sense. Otherwise you could
end up with meta tags being redefined. Anyway, the web author only had the
html to define a table in his includes. No <body> or </body> tags and this
resulted in nothing being included. He assures me that mine is the only
server he's ever encountered that works this way. Oh well, it seems to be
fixed now. Thanks.

Mike Mize
California State University, Fresno

Thomas A. Rowe said:
Make sure the page that you are using for the Include have standard
opening tags that would be on a
 
T

Thomas A. Rowe

All FP Includes work this way, and it is not a server related issue. The client is thinking of
Server-Side Includes.

--
==============================================
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

Top