PC Review
Forums
Newsgroups
Microsoft Word
Microsoft Frontpage
Clean up FP code?
Forums
Newsgroups
Microsoft Word
Microsoft Frontpage
Clean up FP code?
![]() |
Clean up FP code? |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
I just saw this on a website and was wondering if you experts could comment
on whether "cleaning up" FP code is advisable b/c of download time. ******* Clean Up Microsoft FrontPage Pages Microsoft FrontPage is a popular web design program for those just learning web design. Unfortunately, FrontPage also adds a lot of unneccessary code (also referred to as "code bloat") which can add to the download time. You can use this clean up tool to remove all the excess code from FrontPage generated pages. This will result in quicker download times for visitors, as well as making much neater source code. ****** Thanks, Beverly |
|
|
|
#2 |
|
Guest
Posts: n/a
|
"Beverly-Texas" <BeverlyTexas@discussions.microsoft.com> wrote in message news:3E7F0B73-228C-4E50-933E-0F4E45F36DF6@microsoft.com... >I just saw this on a website and was wondering if you experts could comment > on whether "cleaning up" FP code is advisable b/c of download time. > > ******* > Clean Up Microsoft FrontPage Pages > > Microsoft FrontPage is a popular web design program for those just > learning > web design. Unfortunately, FrontPage also adds a lot of unneccessary code > (also referred to as "code bloat") which can add to the download time. > > You can use this clean up tool to remove all the excess code from > FrontPage > generated pages. This will result in quicker download times for visitors, > as > well as making much neater source code. > ****** > > Thanks, > Beverly Dangerous snake oil. |
|
|
|
#3 |
|
Guest
Posts: n/a
|
Could result in never being able to edit the page again in FP.
You can avoid the so called "code bloat" by not using Themes, FP Navigation, FP2003 Behavior (JavaScript), VML Graphics, FP Database components, instead use standard text hyperlink, single image hyperlinks, hand code your ASP, etc. -- ============================================== 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 "Beverly-Texas" <BeverlyTexas@discussions.microsoft.com> wrote in message news:3E7F0B73-228C-4E50-933E-0F4E45F36DF6@microsoft.com... >I just saw this on a website and was wondering if you experts could comment > on whether "cleaning up" FP code is advisable b/c of download time. > > ******* > Clean Up Microsoft FrontPage Pages > > Microsoft FrontPage is a popular web design program for those just learning > web design. Unfortunately, FrontPage also adds a lot of unneccessary code > (also referred to as "code bloat") which can add to the download time. > > You can use this clean up tool to remove all the excess code from FrontPage > generated pages. This will result in quicker download times for visitors, as > well as making much neater source code. > ****** > > Thanks, > Beverly |
|
|
|
#4 |
|
Guest
Posts: n/a
|
Beverly,
I have read on this newsgroup and elsewhere about FP producing bloated code. Having used FP and then worked on the code it produces, that may well be true. For example styles, fonts etc, may be specified for each element rather than for a group of elements. The only way around this would be to eyeball the code and change it manually One other place that may help is http://validator.w3.org/ which will check the code (HTML or CSS) on a website for validity against the W3C standards. This won't remove bloated code, however, and if the code was generated by FP and used unchanged, it is unlikely that it would not validate. I just throw this in for what it may be worth - my $AUS0.02 :-)) -- Cheers, Trevor L. I choose Polesoft Lockspam to fight spam, and you? http://www.polesoft.com/refer.html |
|
|
|
#5 |
|
Guest
Posts: n/a
|
Thanks for the validator site... It gave me an error that my document had no
doctype declaration and that this is mandatory for current markup languages. Frontpage starts my code with: <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns ="urn:schemas-microsoft-com ffice ffice"xmlns="http://www.w3.org/TR/REC-html40"> but it appears there's supposed to be something like this before: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> Does FP not insert this for some reason or is there something I should do? Thanks, Beverly "Trevor L." wrote: > Beverly, > I have read on this newsgroup and elsewhere about FP producing bloated code. > > Having used FP and then worked on the code it produces, that may well be > true. For example styles, fonts etc, may be specified for each element > rather than for a group of elements. The only way around this would be to > eyeball the code and change it manually > > One other place that may help is http://validator.w3.org/ which will check > the code (HTML or CSS) on a website for validity against the W3C standards. > This won't remove bloated code, however, and if the code was generated by FP > and used unchanged, it is unlikely that it would not validate. I just throw > this in for what it may be worth - my $AUS0.02 :-)) > -- > Cheers, > Trevor L. > > > I choose Polesoft Lockspam to fight spam, and you? > http://www.polesoft.com/refer.html > > > |
|
|
|
#6 |
|
Guest
Posts: n/a
|
It's something you should do because you need to determine the proper type to use with your pages.
The most commonly used one is this: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> You should also add this ( or the proper equivilent ) if it's not already there:" <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> -- Steve Easton Microsoft MVP FrontPage 95isalive This site is best viewed............ ........................with a computer "Beverly-Texas" <BeverlyTexas@discussions.microsoft.com> wrote in message news:1F73EF13-C38A-4DD1-8BB8-98FC3DFA658C@microsoft.com... > Thanks for the validator site... It gave me an error that my document had no > doctype declaration and that this is mandatory for current markup languages. > Frontpage starts my code with: > > <html xmlns:v="urn:schemas-microsoft-com:vml" > xmlns ="urn:schemas-microsoft-com ffice ffice"> xmlns="http://www.w3.org/TR/REC-html40"> > > but it appears there's supposed to be something like this before: > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > > > Does FP not insert this for some reason or is there something I should do? > > Thanks, > Beverly > > > "Trevor L." wrote: > > > Beverly, > > I have read on this newsgroup and elsewhere about FP producing bloated code. > > > > Having used FP and then worked on the code it produces, that may well be > > true. For example styles, fonts etc, may be specified for each element > > rather than for a group of elements. The only way around this would be to > > eyeball the code and change it manually > > > > One other place that may help is http://validator.w3.org/ which will check > > the code (HTML or CSS) on a website for validity against the W3C standards. > > This won't remove bloated code, however, and if the code was generated by FP > > and used unchanged, it is unlikely that it would not validate. I just throw > > this in for what it may be worth - my $AUS0.02 :-)) > > -- > > Cheers, > > Trevor L. > > > > > > I choose Polesoft Lockspam to fight spam, and you? > > http://www.polesoft.com/refer.html > > > > > > |
|
|
|
#7 |
|
Guest
Posts: n/a
|
FP has no way of know what DOCTYPE you would want to use. Because if you specify a DOCTYPE then you
have to make sure that all coding on the page meets that requirements of the specific DOCTYPE. -- ============================================== 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 "Beverly-Texas" <BeverlyTexas@discussions.microsoft.com> wrote in message news:1F73EF13-C38A-4DD1-8BB8-98FC3DFA658C@microsoft.com... > Thanks for the validator site... It gave me an error that my document had no > doctype declaration and that this is mandatory for current markup languages. > Frontpage starts my code with: > > <html xmlns:v="urn:schemas-microsoft-com:vml" > xmlns ="urn:schemas-microsoft-com ffice ffice"> xmlns="http://www.w3.org/TR/REC-html40"> > > but it appears there's supposed to be something like this before: > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > > > Does FP not insert this for some reason or is there something I should do? > > Thanks, > Beverly > > > "Trevor L." wrote: > >> Beverly, >> I have read on this newsgroup and elsewhere about FP producing bloated code. >> >> Having used FP and then worked on the code it produces, that may well be >> true. For example styles, fonts etc, may be specified for each element >> rather than for a group of elements. The only way around this would be to >> eyeball the code and change it manually >> >> One other place that may help is http://validator.w3.org/ which will check >> the code (HTML or CSS) on a website for validity against the W3C standards. >> This won't remove bloated code, however, and if the code was generated by FP >> and used unchanged, it is unlikely that it would not validate. I just throw >> this in for what it may be worth - my $AUS0.02 :-)) >> -- >> Cheers, >> Trevor L. >> >> >> I choose Polesoft Lockspam to fight spam, and you? >> http://www.polesoft.com/refer.html >> >> >> |
|
|
|
#8 |
|
Guest
Posts: n/a
|
On Wed, 9 Mar 2005 13:07:33 -0500, Steve Easton wrote:
> It's something you should do because you need to determine the proper type to use with your pages. > The most commonly used one is this: > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > "http://www.w3.org/TR/html4/loose.dtd"> > > You should also add this ( or the proper equivilent ) if it's not already there:" > > <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> Is that the same as charset=windows-1252 ? -- Jim on Tyneside UK Remove X to email me. http://freespace.virgin.net/mr.jimscott/ |
|
|
|
#9 |
|
Guest
Posts: n/a
|
So do you have to manually go in and add this to every website code or does
it really even need to be there? Could it not load properly on someone's machine because it's missing? Thanks, Beverly "Thomas A. Rowe" wrote: > FP has no way of know what DOCTYPE you would want to use. Because if you specify a DOCTYPE then you > have to make sure that all coding on the page meets that requirements of the specific DOCTYPE. > > -- > ============================================== > 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 > > "Beverly-Texas" <BeverlyTexas@discussions.microsoft.com> wrote in message > news:1F73EF13-C38A-4DD1-8BB8-98FC3DFA658C@microsoft.com... > > Thanks for the validator site... It gave me an error that my document had no > > doctype declaration and that this is mandatory for current markup languages. > > Frontpage starts my code with: > > > > <html xmlns:v="urn:schemas-microsoft-com:vml" > > xmlns ="urn:schemas-microsoft-com ffice ffice"> > xmlns="http://www.w3.org/TR/REC-html40"> > > > > but it appears there's supposed to be something like this before: > > > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > > > > > > Does FP not insert this for some reason or is there something I should do? > > > > Thanks, > > Beverly > > > > > > "Trevor L." wrote: > > > >> Beverly, > >> I have read on this newsgroup and elsewhere about FP producing bloated code. > >> > >> Having used FP and then worked on the code it produces, that may well be > >> true. For example styles, fonts etc, may be specified for each element > >> rather than for a group of elements. The only way around this would be to > >> eyeball the code and change it manually > >> > >> One other place that may help is http://validator.w3.org/ which will check > >> the code (HTML or CSS) on a website for validity against the W3C standards. > >> This won't remove bloated code, however, and if the code was generated by FP > >> and used unchanged, it is unlikely that it would not validate. I just throw > >> this in for what it may be worth - my $AUS0.02 :-)) > >> -- > >> Cheers, > >> Trevor L. > >> > >> > >> I choose Polesoft Lockspam to fight spam, and you? > >> http://www.polesoft.com/refer.html > >> > >> > >> > > > |
|
|
|
#10 |
|
Guest
Posts: n/a
|
It really only applies if you what to validate your pages.
-- ============================================== 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 "Beverly-Texas" <BeverlyTexas@discussions.microsoft.com> wrote in message news:7BF285D1-11A3-47E6-8711-C6C04EB6E359@microsoft.com... > So do you have to manually go in and add this to every website code or does > it really even need to be there? Could it not load properly on someone's > machine because it's missing? > > Thanks, > Beverly > > "Thomas A. Rowe" wrote: > >> FP has no way of know what DOCTYPE you would want to use. Because if you specify a DOCTYPE then >> you >> have to make sure that all coding on the page meets that requirements of the specific DOCTYPE. >> >> -- >> ============================================== >> 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 >> >> "Beverly-Texas" <BeverlyTexas@discussions.microsoft.com> wrote in message >> news:1F73EF13-C38A-4DD1-8BB8-98FC3DFA658C@microsoft.com... >> > Thanks for the validator site... It gave me an error that my document had no >> > doctype declaration and that this is mandatory for current markup languages. >> > Frontpage starts my code with: >> > >> > <html xmlns:v="urn:schemas-microsoft-com:vml" >> > xmlns ="urn:schemas-microsoft-com ffice ffice">> > xmlns="http://www.w3.org/TR/REC-html40"> >> > >> > but it appears there's supposed to be something like this before: >> > >> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" >> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> >> > >> > >> > Does FP not insert this for some reason or is there something I should do? >> > >> > Thanks, >> > Beverly >> > >> > >> > "Trevor L." wrote: >> > >> >> Beverly, >> >> I have read on this newsgroup and elsewhere about FP producing bloated code. >> >> >> >> Having used FP and then worked on the code it produces, that may well be >> >> true. For example styles, fonts etc, may be specified for each element >> >> rather than for a group of elements. The only way around this would be to >> >> eyeball the code and change it manually >> >> >> >> One other place that may help is http://validator.w3.org/ which will check >> >> the code (HTML or CSS) on a website for validity against the W3C standards. >> >> This won't remove bloated code, however, and if the code was generated by FP >> >> and used unchanged, it is unlikely that it would not validate. I just throw >> >> this in for what it may be worth - my $AUS0.02 :-)) >> >> -- >> >> Cheers, >> >> Trevor L. >> >> >> >> >> >> I choose Polesoft Lockspam to fight spam, and you? >> >> http://www.polesoft.com/refer.html >> >> >> >> >> >> >> >> >> |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

="urn:schemas-microsoft-com
