Include problem with FP2003

W

whitesmith

I have a simple copyright message that I placed in an include file
called my_include.htm:

<body>
Copyright 2007 Yada, Yada
</body>

I insert the include file by doing this on a content page:
Insert
Web Component
Included Content
Page
browse to page_footer.htm
OK

This puts *only* the following code on the page: "<!--webbot
bot="Include" U-Include="include/page_footer.htm" TAG="BODY" -->"

In previous versions of FP included content always consisted of this
line followed by a startspan line, the actual included text, and an
endspan line. Is this minimalist approach the way FP 2003 is supposed
to work or am I doing something wrong? Thanks for any help -- I'm
frustrated by this unexpected behavior.
 
D

David Berry

This is the way it's supposed to work and always did work this way. You
only see all the text if you do a View Source from your browser
 
S

Stefan B Rusynko

In code view you will never see anything but
<!--webbot bot="Include" U-Include="include/page_footer.htm" TAG="BODY" -->
- in any version of FP

The Content of a valid FP include is written to the file on file save
- and removed (replaced by the webbot code above) when opened in a FP web

In the Browser (view source) is the only place where you would see
<!--webbot bot="Include" U-Include="include/page_footer.htm" TAG="BODY" startspan -->
Copyright 2007 Yada, Yada<!--webbot bot="Include" i-checksum="59371" endspan -->

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


|I have a simple copyright message that I placed in an include file
| called my_include.htm:
|
| <body>
| Copyright 2007 Yada, Yada
| </body>
|
| I insert the include file by doing this on a content page:
| Insert
| Web Component
| Included Content
| Page
| browse to page_footer.htm
| OK
|
| This puts *only* the following code on the page: "<!--webbot
| bot="Include" U-Include="include/page_footer.htm" TAG="BODY" -->"
|
| In previous versions of FP included content always consisted of this
| line followed by a startspan line, the actual included text, and an
| endspan line. Is this minimalist approach the way FP 2003 is supposed
| to work or am I doing something wrong? Thanks for any help -- I'm
| frustrated by this unexpected behavior.
|
 
T

Thomas A. Rowe

Occasionally you would see what you indicated, but that is an error on FP's part.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================
 
W

whitesmith

In code view you will never see anything but
<!--webbot bot="Include" U-Include="include/page_footer.htm" TAG="BODY" -->
- in any version of FP

The Content of a valid FP include is written to the file on file save
- and removed (replaced by the webbot code above) when opened in a FP web

In the Browser (view source) is the only place where you would see
<!--webbot bot="Include" U-Include="include/page_footer.htm" TAG="BODY" startspan -->
Copyright 2007 Yada, Yada<!--webbot bot="Include" i-checksum="59371" endspan -->

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


|I have a simple copyright message that I placed in an include file
| called my_include.htm:
|
| <body>
| Copyright 2007 Yada, Yada
| </body>
|
| I insert the include file by doing this on a content page:
| Insert
| Web Component
| Included Content
| Page
| browse to page_footer.htm
| OK
|
| This puts *only* the following code on the page: "<!--webbot
| bot="Include" U-Include="include/page_footer.htm" TAG="BODY" -->"
|
<snip>

Thanks to all who replied. I've always used SlickEdit to manipulate
code and never thought that it (and browsers) see something that Code
View doesn't.

Do I have this right? When FP saves a page with included content, it
adds the startspan line, then the included code between <body> and </
body> tags, and finally the endspan line?
 
S

Stefan B Rusynko

Yes

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


| > In code view you will never see anything but
| > <!--webbot bot="Include" U-Include="include/page_footer.htm" TAG="BODY" -->
| > - in any version of FP
| >
| > The Content of a valid FP include is written to the file on file save
| > - and removed (replaced by the webbot code above) when opened in a FP web
| >
| > In the Browser (view source) is the only place where you would see
| > <!--webbot bot="Include" U-Include="include/page_footer.htm" TAG="BODY" startspan -->
| > Copyright 2007 Yada, Yada<!--webbot bot="Include" i-checksum="59371" endspan -->
| >
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > _____________________________________________
| >
| >
| > |I have a simple copyright message that I placed in an include file
| > | called my_include.htm:
| > |
| > | <body>
| > | Copyright 2007 Yada, Yada
| > | </body>
| > |
| > | I insert the include file by doing this on a content page:
| > | Insert
| > | Web Component
| > | Included Content
| > | Page
| > | browse to page_footer.htm
| > | OK
| > |
| > | This puts *only* the following code on the page: "<!--webbot
| > | bot="Include" U-Include="include/page_footer.htm" TAG="BODY" -->"
| > |
| <snip>
|
| Thanks to all who replied. I've always used SlickEdit to manipulate
| code and never thought that it (and browsers) see something that Code
| View doesn't.
|
| Do I have this right? When FP saves a page with included content, it
| adds the startspan line, then the included code between <body> and </
| body> tags, and finally the endspan line?
|
|
 

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