Re: HTML Code Produced by FP
- From: "Ronx" <ronx917@xxxxxxxxxxx>
- Date: Fri, 7 Apr 2006 08:57:21 +0100
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
.
- Follow-Ups:
- Re: HTML Code Produced by FP
- From: Bruce E. Breeding
- Re: HTML Code Produced by FP
- References:
- HTML Code Produced by FP
- From: Bruce E. Breeding
- Re: HTML Code Produced by FP
- From: Steve Easton
- HTML Code Produced by FP
- Prev by Date: Re: getelementbyid question
- Next by Date: FP2000 error
- Previous by thread: Re: HTML Code Produced by FP
- Next by thread: Re: HTML Code Produced by FP
- Index(es):
Relevant Pages
|