> The Problem I am having is that when I switch to
> source view and add the comments then save the file, Visual
> Page Deletes or moves the comments. What are the rules
> for adding comments to html files using Visual Page?
James -
The basic rule for comments with Visual Page 1.1.1 is that you can place
all the comments you want within teither the <HEAD.../HEAD> block or the
<BODY.../BODY> block and they will remain intact; all others are subject
to be removed. I have even noticed cases where repeated editing and saving
of the souce HTML will cause comments in the <HEAD> block to be relocated,
but this is fairly rare.
-
Scott Morison
Lead Technician, Internet Tools Technical Support
Symantec Corporation
-
***
Visit our Online Knowledge Base at
http://service.symantec.com/knowbase/
***
that was written by a third party using BBEdit. I do not
have a complete site mape so I am going to tag all of the
files with a comment containing the name of the source
file. The Problem I am having is that when I switch to
source view and add the comments then save the file, Visual
Page Deletes or moves the comments. What are the rules
for adding comments to html files using Visual Page?
Below is the before and after of the comments added to the
file and the file after it was saved and reopened.
===========================================================
===========================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--last modified on Wed, Sep 23, 1998 8:38 AM-->
<!--comment #0-->
<HTML>
<!--comment #1-->
<HEAD>
<!--comment #2-->
<META HTTP-EQUIV="Content-Type"
CONTENT="text/html;CHARSET=iso-8859-1">
<META NAME="GENERATOR" Content="Symantec Visual Page Mac
1.1.1">
<META NAME="Author" Content="James Medlen">
<TITLE>comments.html</TITLE>
</HEAD>
<!--comment #3-->
<BODY>
<!--comment #4-->
<P>
</BODY>
<!--comment #5-->
</HTML>
<!--comment #6-->
============================================================
AFTER
============================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--last modified on Wed, Sep 23, 1998 8:42 AM-->
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type"
CONTENT="text/html;CHARSET=iso-8859-1">
<!--comment #2-->
<META NAME="GENERATOR" Content="Symantec Visual Page Mac
1.1.1">
<META NAME="Author" Content="James Medlen">
<TITLE>comments.html</TITLE>
</HEAD>
<BODY>
<!--comment #4-->
<P>
</BODY>
</HTML>
============================================================