N
Nathan Martin
Hello all,
I need some serious help because I'm about to pull what little of my hair
out that's left!
On my site I use the include webbot quite a bit. I finally have a better
picture of how the include webbot works, i.e., that it actually saves the
content of the included file into the target file upon SAVING the included
or target file. I thought it was like SSI in that it was upon viewing.
So here's the problem. One of the pages that I include ends up getting
duplicated everytime I modify it in FP. It's as if FP doesn't use the
startspan and endspan code properly, ignoring the fact that the included
page is already there and puts the newly formated included below the
previously inserted copy. This only happens to the askform.htm, not to any
other included content (masthead.htm, menuleft.htm, copyright.htm, etc).
That leads me to believe that something within the askform.htm file may be
confusing FP. Here's the file:
==========BEGIN CODE==========
<html>
<body>
<hr>
<form method="POST" target="_top" action="--WEBBOT-SELF--" onsubmit="return
FrontPage_Form1_Validator(this)"
name="FrontPage_Form1" language="JavaScript">
<!--webbot bot="SaveResults" u-file="NAMECHANGED.html" s-format="HTML/BR"
s-label-fields="TRUE" b-reverse-chronology="TRUE" s-email-format="TEXT/PRE"
s-email-address="(e-mail address removed)"
b-email-label-fields="TRUE" b-email-replyto-from-field="TRUE"
s-email-replyto="emailfrom" b-email-subject-from-field="FALSE"
s-email-subject="Question from "Ask the Pastor" page"
s-date-format="%A, %B %d, %Y" s-time-format="%I:%M %p"
s-builtin-fields="REMOTE_NAME HTTP_USER_AGENT Date Time" s-form-fields="url
fullname emailfrom Question " u-confirmation-url="thankyou.htm"
startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot
bot="SaveResults" endspan i-checksum="43374" -->
<div align="center"><h2>What would you like to "<font
color="#0000FF">Ask the Pastor</font>?"</h2>
</div>
<div align="center"><p>Your full name:
<!--webbot bot="Validation" b-value-required="TRUE" --><input
name="fullname" size="40"><br>
Your email address: (ex: <em>[email protected]</em>)
<!--webbot bot="Validation" b-value-required="TRUE" --><input
name="emailfrom" size="30"><br>
<b><u>PLEASE</u></b> include your <b>email address</b> or we won't be
able to send the answer to you.</p>
</div>
<div align="center">
<p>Your question<br>
<!--webbot bot="Validation" b-value-required="TRUE" --><textarea
name="Question" rows="10" cols="60"></textarea><br>
(Note: Please include your full name and email address. Answers will be
sent by return
email. Christian Challenge reserves the right to reprint your question and
edit it for
clarity and content on our "Ask the Pastor" web page. Please
note that we will
not divulge your full name nor your email address. Typically we'll use
your first name
only. Not all questions are posted on this page - many more are responded
to
privately. Please let us know if you do <b> NOT</b> want your question
listed or if you'd prefer it to
be listed anonymously. <i><b>We respect your privacy</b></i> and will NOT
sell/give/loan your name and
email address to any other organization/business/entity.)</p>
</div>
<div align="center"><p><input type="submit" value="Submit Question"
name="SubmitQuestion"><input type="reset" value="Reset All"
name="Reset"></p>
</div>
<input type="hidden" name="url" value="">
</form>
<script type="text/javascript">
document.forms[0].url.value=location.href;
</script>
<hr>
<p>Back to the <a href="../index.html">Christian Challenge International</a>
home page! </p>
<hr>
<p>Copyright © 1999-2005 Christian Challenge International. All rights
reserved. <br>
Christian Challenge International<br>
300 Pearce Road<br>
Pineville, LA 71360<br>
318-640-4300 </p>
</body>
</html>
I need some serious help because I'm about to pull what little of my hair
out that's left!
On my site I use the include webbot quite a bit. I finally have a better
picture of how the include webbot works, i.e., that it actually saves the
content of the included file into the target file upon SAVING the included
or target file. I thought it was like SSI in that it was upon viewing.
So here's the problem. One of the pages that I include ends up getting
duplicated everytime I modify it in FP. It's as if FP doesn't use the
startspan and endspan code properly, ignoring the fact that the included
page is already there and puts the newly formated included below the
previously inserted copy. This only happens to the askform.htm, not to any
other included content (masthead.htm, menuleft.htm, copyright.htm, etc).
That leads me to believe that something within the askform.htm file may be
confusing FP. Here's the file:
==========BEGIN CODE==========
<html>
<body>
<hr>
<form method="POST" target="_top" action="--WEBBOT-SELF--" onsubmit="return
FrontPage_Form1_Validator(this)"
name="FrontPage_Form1" language="JavaScript">
<!--webbot bot="SaveResults" u-file="NAMECHANGED.html" s-format="HTML/BR"
s-label-fields="TRUE" b-reverse-chronology="TRUE" s-email-format="TEXT/PRE"
s-email-address="(e-mail address removed)"
b-email-label-fields="TRUE" b-email-replyto-from-field="TRUE"
s-email-replyto="emailfrom" b-email-subject-from-field="FALSE"
s-email-subject="Question from "Ask the Pastor" page"
s-date-format="%A, %B %d, %Y" s-time-format="%I:%M %p"
s-builtin-fields="REMOTE_NAME HTTP_USER_AGENT Date Time" s-form-fields="url
fullname emailfrom Question " u-confirmation-url="thankyou.htm"
startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot
bot="SaveResults" endspan i-checksum="43374" -->
<div align="center"><h2>What would you like to "<font
color="#0000FF">Ask the Pastor</font>?"</h2>
</div>
<div align="center"><p>Your full name:
<!--webbot bot="Validation" b-value-required="TRUE" --><input
name="fullname" size="40"><br>
Your email address: (ex: <em>[email protected]</em>)
<!--webbot bot="Validation" b-value-required="TRUE" --><input
name="emailfrom" size="30"><br>
<b><u>PLEASE</u></b> include your <b>email address</b> or we won't be
able to send the answer to you.</p>
</div>
<div align="center">
<p>Your question<br>
<!--webbot bot="Validation" b-value-required="TRUE" --><textarea
name="Question" rows="10" cols="60"></textarea><br>
(Note: Please include your full name and email address. Answers will be
sent by return
email. Christian Challenge reserves the right to reprint your question and
edit it for
clarity and content on our "Ask the Pastor" web page. Please
note that we will
not divulge your full name nor your email address. Typically we'll use
your first name
only. Not all questions are posted on this page - many more are responded
to
privately. Please let us know if you do <b> NOT</b> want your question
listed or if you'd prefer it to
be listed anonymously. <i><b>We respect your privacy</b></i> and will NOT
sell/give/loan your name and
email address to any other organization/business/entity.)</p>
</div>
<div align="center"><p><input type="submit" value="Submit Question"
name="SubmitQuestion"><input type="reset" value="Reset All"
name="Reset"></p>
</div>
<input type="hidden" name="url" value="">
</form>
<script type="text/javascript">
document.forms[0].url.value=location.href;
</script>
<hr>
<p>Back to the <a href="../index.html">Christian Challenge International</a>
home page! </p>
<hr>
<p>Copyright © 1999-2005 Christian Challenge International. All rights
reserved. <br>
Christian Challenge International<br>
300 Pearce Road<br>
Pineville, LA 71360<br>
318-640-4300 </p>
</body>
</html>