Re: FP2000 SSI, webbot, and changing code

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Thomas A. Rowe (tarowe_at_mvps.org)
Date: 08/19/04


Date: Thu, 19 Aug 2004 03:34:08 -0400

FP2003 may handle this better, but FP will still see this as invalid HTML code, since FP can not
display SSI.

I use FP2000 for all development and work with ASP and use ASP's version of SSI, as well as the FP
Include Page component. I have yet to come across a reason where a HTML code blocks needs to be
split between a include and the container page.

When you split HTML code blocks, you reduce the ability to reuse the include content anywhere on a
page or another site, because you have to be concern about breaking HTML code blocks.

-- 
==============================================
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
"TechnoShroom" <irc5spam@NOSPAMpacbellspam.net> wrote in message
news:O7hImtbhEHA.904@TK2MSFTNGP09.phx.gbl...
> Thank you for replying.
>
> Working in HTML view is not an option either because FP changes the code
> even when in HTML view and the preserve existing HTML box is checked.
>
> Inserting SSI into a single cell is no problem. The problem is the cell tags
> need to be in the surrounding SSI and not on the page from which they are
> called.
>
> If I set Notepad to be the editor there doesn't seem to be a reason to use
> FP in the first place.
>
> Some additional things I've tried...
>
> I've tried inserting the HTML via the Insert>Advanced>HTML dialog and even
> though it says it will not be checked for correctness it still "corrects"
> and breaks the page.
>
> I've tried making the included pages .txt and treating them as text or html
> but they still are changed.
>
> Is there anything else I can try?
>
>
>
> "Thomas A. Rowe" <tarowe@mvps.org> wrote in message
> news:eay4bRbhEHA.1644@tk2msftngp13.phx.gbl...
> > Your current method doesn't allow FP that ability to parse the page
> correctly when viewed in Normal
> > View.
> >
> > If you can't change the way the pages are coded, then you have to work in
> HTML View or set FP to use
> > Notepad as the HTML editor.
> >
> > You should be able use SSI to insert content into individual cells without
> breaking the tables.
> >
> > The only workaround is to code the pages in a way that allows FP to parse
> the pages correctly.
> >
> > -- 
> > ==============================================
> > 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
> >
> > "TechnoShroom" <irc5spam@NOSPAMpacbellspam.net> wrote in message
> > news:OTl6j8ahEHA.592@TK2MSFTNGP11.phx.gbl...
> > > I'm having trouble trying to figure out a way around FP2000 changing my
> > > code. I work on my site live. Most of the page is brought in through
> SSI.
> > > Since I don't publish my site I have standard tags for SSI along with
> the FP
> > > webbot includes. The standard SSI tags for the server and the webot so I
> get
> > > a WYSIWYG view when editing content that isn't brought in through SSI.
> > >
> > > The problem is, because of the site layout, the includes can't be broken
> > > down into neat tables. There are several includes that end with an open
> tag
> > > (example <td>) followed by content and then finished with an include
> that
> > > starts with the corresponding close tag (example </td>). However, even
> with
> > > preserve HTML selected in the options when you open the page in FP it
> > > modifies the original code stripping the original tags and adding
> <table>.
> > > This breaks apart the page in normal view.
> > >
> > > To make matters worse, if you open one of the include files in FP it
> alters
> > > (deletes the end tags and replaces it with table) and saves the page
> without
> > > my specifically telling it to save.
> > >
> > > So is there a work around for this behavior?
> > >
> > > Any help is appreciated.
> > >
> > >
> >
> >
>
>


Relevant Pages

  • RE: [PHP] Removing security-problematic chars from strings
    ... >> # Create an array with allowed tags ... I sometimes use it to allow certain HTML code to be entered in a form. ... Usually agree for forum like applications. ...
    (php.general)
  • Re: FP2000 SSI, webbot, and changing code
    ... table in the footer SSI. ... I have yet to come across a reason where a HTML ... > When you split HTML code blocks, you reduce the ability to reuse the ... >> though it says it will not be checked for correctness it still ...
    (microsoft.public.frontpage.client)
  • Re: FP2000 SSI, webbot, and changing code
    ... Yes, you are generated valid HTML as far as the browser can see, and the validator, however any HTML ... complete table for the footer content in the footer SSI, and then on the container page a complete ...
    (microsoft.public.frontpage.client)
  • RE: Intellisennce Issue with html validation
    ... >Now when I try to author the page without <HTML> etc tags, ... corresponding language parser couldn't recognize those HTML code and so the ... intellisence would be unavailable as well as the html validation, ...
    (microsoft.public.vsnet.general)
  • Re: FP2000 SSI, webbot, and changing code
    ... Working in HTML view is not an option either because FP changes the code ... Inserting SSI into a single cell is no problem. ... The problem is the cell tags ... though it says it will not be checked for correctness it still "corrects" ...
    (microsoft.public.frontpage.client)