Re: HTML Code Produced by FP



The OP is not using a script - he is designing a page that will be
parsed by a script, as I do for Perl.

In pages I write that will be parsed by a Perl script I do not allow
FrontPage to write any code. I make extensive use of Code View, and
NEVER use Layout tables or cells, FP Navigation or any other webbots
in any area that will contain a variable.
You could instead wrap your code in the HTML mark-up webbot
Insert->Web Component->Advanced Controls->HTML
in code view it would appear as:

<!--webbot bot="HTMLMarkup" startspan -->Your email address is:
(%Email Address%)<p>Your first name: (%First Name 1%)<!--webbot
bot="HTMLMarkup" endspan -->

but this may make matters worse, depending on your script.

See www.rxs-enterprises.org/_borders/cgi/faqmail.htm as an example,
where variables are delimited by [variable]
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support: http://www.frontpagemvps.com/

"Steve Easton" <admin@xxxxxxxxxxxxx> wrote in message
news:%23P%23a2xdWGHA.3660@xxxxxxxxxxxxxxxxxxxxxxx
iirc, There's an option in Page Settings to disallow line breaks in
scripts.


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



"Bruce E. Breeding" <bebl.it@xxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:uQOjSJdWGHA.3440@xxxxxxxxxxxxxxxxxxxxxxx
Is there any way (like settings?) to control the html code produced
by FrontPage?

I am using FP as an html editor. What I see in the preview code is
okay; certain phrases (they are really variables) are shown on
lines by themselves as I designed.

However, FP puts breaks (inserts html code) in places in the actual
html code (that don't appear in the Preview) where I don't want
breaks.

The output (html file) is sent to another software program which
reads the variable names and substitutes data for the variable
names. Needless to say, I can't have a variable name split across
two lines in the html code.

In the example below, the variable in between the % characters
cannot span two lines. Now, of course, I fixed the problem once by
just going into the HTML code itself and removing the offending
HTML code. But, I don't want to do that every time I create such a
file or modify it.

Below follows a sample of what appears in FP under Preview mode:
***** starts next line
Your email address is: (%Email Address%)
Your first name: (%First Name 1%)
***** ends previous line


Below follows the html code as it appears in FP:
***** starts next line
<!-- MSCellType="ContentBody" -->
Your email address is: (%Email Address%)<p>Your first name:
(%First Name
1%)<br>
***** ends previous line

If you've had experience with this kind of situation, I'd be
interested in how you solved it.

Bruce






.



Relevant Pages

  • Re: Decoding html pages
    ... the HTML code that the PHP engine produces *from* the raw html code and that ... That's the case with practically any PHP "page" (or any by a ... server-side script generated page for that matter). ... Of course the script does load, when you load the proper page (else it would ...
    (comp.lang.javascript)
  • Re: Deadlock -- a Webmasters Tool -- password protection
    ... I must be completely misunderstanding what this is supposed to do, ... copy and paste encrypted html code that appears in box 2 to a NEW ... This script requires no server side intervention, ... with any java enabled web browser. ...
    (comp.sys.cbm)
  • Re: This is clever
    ... anybody looking at it & seeing what the HTML Code of the Page is. ... Or do you mean how does the Number guessing thing in the .SWF ShockWave ... The Page is done simply by using a Script that has various Characters ... (which rather defeats the idea of all that "Obfuscating" of it all)... ...
    (uk.people.silversurfers)
  • Parsing Links
    ... Hi I have a script that someone helped me make. ... The players data still has the html code around it. ... Set objFile = objFSO.GetFile) ...
    (microsoft.public.scripting.vbscript)
  • HTML::Template
    ... I am new to perl. ... I am using HTML::Template module to display tmpl ... I mean I need to use both the following things in the script: ...
    (comp.lang.perl.misc)