Convert extensions to HTML

  • Thread starter Thread starter Rick Campbell
  • Start date Start date
R

Rick Campbell

I need to publish/ftp one of my web sites to a server that does not include
the FP extensions. I notice when I call up the site in IE that the extension
parts, include page, nav bar, etc..., have all been converted to code. How
can I save the entire site with the code intact so I can ftp it?

TIA

Rick
 
-----Original Message-----
I need to publish/ftp one of my web sites to a server
that does not include the FP extensions. I notice when I
call up the site in IE that the extension parts, include
page, nav bar, etc..., have all been converted to code.
How can I save the entire site with the code intact so I
can ftp it?

FP replicates the content of these components when you
save the page, and not when you browse it. If 50 pages
use, say, banner.htm, then FrontPage updates all 50 pages
each time you save banner.htm. So, to use your
terminology, the code is always "intact".

Of course, the same logic doesn't apply to browse-time
components such as Hit Counter, Save Results, and Database
Results. These won;t work on a non-FrontPage-extended
server.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
|| Microsoft FrontPage Version 2002 Inside Out
|| Web Database Development Step by Step .NET Edition
|| Troubleshooting Microsoft FrontPage 2002
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
FP replicates the content of these components when you
save the page, and not when you browse it. If 50 pages
use, say, banner.htm, then FrontPage updates all 50 pages
each time you save banner.htm. So, to use your
terminology, the code is always "intact".

I'd suggest that you Publish the web to a local disk location.
Take note of what components do not work (you'll be notified
as you publish). Make any special corrections you need either
in the original site if you want permanent changes, or in the
disk area if you want "one time" changes.

I never suggest publishing direct from the FP directories unless
you are using FP to do it.
 
I guess I didn't make myself clear. Sorry.

The include page component puts the following code into my FP web page:
<!--webbot bot="Include" u-include="stylesheets/contact.htm" tag="BODY" -->

When I view that code in a browser, it shows:
<!--webbot bot="Include" u-include="stylesheets/contact.htm" tag="BODY"
startspan -->

<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="610">
<tr>
<td valign="top" align="center">
<p align="center"><br>
<font face="Arial" size="3"><strong>West Bay Real
Estate</strong></font><br>
<font size="2" face="Arial">The Market Place<br>
47E Tamal Vista Blvd.<br>
Corte Madera, CA &nbsp;94925<br>
<strong>Voice:</strong>&nbsp;&nbsp;(415) 927-1492<br>
<strong>FAX:</strong>&nbsp;&nbsp;(415) 924-6812</font></p>
<p align="center"><font size="2" face="Arial">Real Estate: </font>
<a href="mailto:[email protected]"><font size="2" face="Arial">
Jack McLaughlin</a><br>
Webmaster: <a href="mailto:[email protected]">
Information Designs</font></a></p>
<p align="center"><font size="-2" face="Arial">Licensed by the
California
Department of Real Estate.<br>
Broker's License:
<a
href="http://secure.dre.ca.gov/PublicASP/pplinfo.asp?License_id=00470225?fun
ction=search&start=1" target="_blank">
#00470225</a></font></p>
<p align="center"><a href="privacy.htm"><font face="Arial"
size="3"><b>
Privacy Policy</b></font></a></p>
<p align="center"><font color="#004080" size="4" face="Arial"><strong>
<a href="stylesheets/awards.htm">Site Awards</a></strong></font><br>
</td>
</tr>
</table>
</center>
</div>

<!--webbot bot="Include" i-checksum="671" endspan -->

So, my question is how to save this site with code that will work on a
server that doesn't have the frontpage extensions? The site is on a server
that has them and I'm conducting an experiment by putting the site on a
server without them.
 
So, my question is how to save this site with code that will work on a
server that doesn't have the frontpage extensions? The site is on a server
that has them and I'm conducting an experiment by putting the site on a
server without them.

Maybe I'm missing something, but I think the previous two answers
are correct. That is, the code is _already there_ in the page and
it really doesn't matter what server you publish to. Again, I'll
reiterate my point of publishing to a hard drive location, then
just copy the published files to a (any) server.
 
Correct
Include pages (nav bars and shared borders) are design time components that do not require the FP SE, and are hard coded as html in
your pages when you save them
The only features that require the FP SE are listed at
http://support.microsoft.com/default.aspx?scid=281532

--




| On Thu, 04 Dec 2003 00:46:28 GMT, "Rick Campbell" <[email protected]>
| wrote:
|
| >So, my question is how to save this site with code that will work on a
| >server that doesn't have the frontpage extensions? The site is on a server
| >that has them and I'm conducting an experiment by putting the site on a
| >server without them.
|
| Maybe I'm missing something, but I think the previous two answers
| are correct. That is, the code is _already there_ in the page and
| it really doesn't matter what server you publish to. Again, I'll
| reiterate my point of publishing to a hard drive location, then
| just copy the published files to a (any) server.
|
 
Right. FrontPage HTML view (or, in FP2003, Code view) shows only

<!--webbot bot="Include" u-include="stylesheets/contact.htm"
tag="BODY" -->

But if you right-click the file in the Folder List, choose Open With,
and then choose Notepad, you'll see that the full contents of the
included file are physically present in the "including" file.

You can also check this by locating the file in Windows Explorer,
right-clicking, and opening in Notepad.

So:

o FrontPage always expands Include Page components at design time,
and not at browse time.
o FrontPage HTML view (or Code view) hides this expansion from you.
But you can verify independently that it does occur.
o Pages that use Include Page Components work perfectly on servers
that don't have the FrontPage Server Extensions installed.
(Provided,
of course, that you open a FrontPage Wehb before editing them).

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
|| Microsoft FrontPage Version 2002 Inside Out
|| Web Database Development Step by Step .NET Edition
|| Troubleshooting Microsoft FrontPage 2002
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
Back
Top