Welcome to WebmasterWorld Guest from 54.221.30.139

Forum Moderators: open

Message Too Old, No Replies

FrontPage 2003 Alters Code after Include Statements - a Solution!

How to prevent FP 2003 messing with your includes

     

Siteman

4:50 pm on Dec 16, 2008 (gmt 0)

5+ Year Member



Some time ago this thread discussed how to prevent FP 2003 from messing with your code when you are using include statements (see [webmasterworld.com...]

Essentially, FP 2003 changes your nicely structured includes from:

<!--webbot bot="include" u-include="file1.htm" tag="body" -->
<!--webbot bot="include" u-include="file2.htm" tag="body" -->
<!--webbot bot="include" u-include="file3.htm" tag="body" -->

... to this mess:

<!--webbot bot="include" u-include="file1.htm" tag="body" --><!--webbot bot="include" u-include="file2.htm" tag="body" --><!--webbot bot="include" u-include="file3.htm" tag="body" -->

There seems to be an easy fix: Delete the tag="body" part of the include statement, and FP leaves your code alone... eg:

<!--webbot bot="include" u-include="file1.htm" -->
<!--webbot bot="include" u-include="file2.htm" -->
<!--webbot bot="include" u-include="file3.htm" -->

Give it a try!

S.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month