[mso] Re: Utility to clean up FP code?

  • From: "Dian Chapman" <dian@xxxxxxxxxxxxx>
  • To: <mso@xxxxxxxxxxxxx>
  • Date: Fri, 10 Jan 2003 18:07:06 -0600

Well...to each his own, I guess. I did get a sample and here's hers on
the top with a matching (more or less...didn't wanna mess up my style
sheet, so it's an approximation of similar styling). Hers is on the top
and the same text I dropped into DW is at the bottom, with similar
formatting via my style sheet.

This is not an argument I care to get into...again...FP vs DW. Use what
you want...I don't care. But you can see what she means below that her
stuff has a lot of excess boogers. And you can't have all that if you
plan to use an Application Provider...it must be clean HTML so it falls
into their CSS. 

Good luck with the clean up, Michele!

Original code....
=================
<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title>A special offer for all Living Out Your Dream Subscribers and
their 
friends</title>
</head>

<body>

<font face="Comic Sans MS" color="#008080" size="2">
<blockquote style="border-left: 2px solid #0000ff; margin-left: 5px;
margin-right: 0px; padding-left: 5px" TYPE="CITE">
  <div>
    <font lang="0" style="background-color: #ffffff" face="Arial"
color="#ff0000" size="4" FAMILY="SANSSERIF">
    <b><span class="012431618-07012003">A special offer for all Living
Out Your 
    Dream Subscribers and their friends.</span></b></font></div>
  <div>
    &nbsp;</div>
  <div>
    <font lang="0" style="background-color: #ffffff" face="Arial"
color="#000000" size="3" FAMILY="SANSSERIF">
    <b><span class="012431618-07012003">You probably have many dreams
and 
    goals&nbsp;for the new year!&nbsp; </span></b></font>
  </div>
  <div>
    &nbsp;</div>
  <div>
    <font lang="0" style="background-color: #ffffff" face="Arial"
color="#000000" size="3" FAMILY="SANSSERIF">
    <b><span class="012431618-07012003">Is there anything that&nbsp;
would stop 
    you&nbsp;from making them a reality? </span></b></font>
  </div>
  <div>
    &nbsp;</div>
  <div>
    <font lang="0" style="background-color: #ffffff" face="Arial"
color="#000000" size="3" FAMILY="SANSSERIF">
    <b><span class="012431618-07012003">Sign up for this 2 part
teleclass,&quot;
    <font size="4"><font color="#ff0000">Ready?</font><font
face="Arial"><font lang="0" style="background-color: #ffffff"
color="#0000ff" FAMILY="SANSSERIF">&nbsp; 
    Set?</font><font lang="0" style="background-color: #ffffff"
color="#ff0000" FAMILY="SANSSERIF">&nbsp;</font><font lang="0"
style="background-color: #ffffff" color="#800080" FAMILY="SANSSERIF"> 
    Go?&quot;, </font></font></font>to push through any fears or blocks
and get ready 
    to create that which you most desire.&nbsp; </span></b></font>
  </div>
  <div>
    &nbsp;</div>
  <div>
    <font lang="0" style="background-color: #ffffff" face="Arial"
color="#000000" size="3" FAMILY="SANSSERIF">
    <b><span class="012431618-07012003">Feel free to contact me at
    <a
href="mailto:coach@xxxxxxxxxxxxxxxxxx";>coach@xxxxxxxxxxxxxxxxxx</a>&nbsp
; or 
    770.643.0886 with any questions you might have and please pass along
this 
    email to anyone who might be interested.</span></b></font></div>
  <div>
    &nbsp;</div>
  <div>
    <font lang="0" style="background-color: #ffffff" face="Arial"
color="#000000" size="3" FAMILY="SANSSERIF">
    <b><span class="012431618-07012003">Warmest wishes for a healthy,
fulfilling 
    and prosperous new year.</span></b></font></div>
  <div>
    &nbsp;</div>
  <div>
    <font lang="0" style="background-color: #ffffff" face="Arial"
color="#000000" size="3" FAMILY="SANSSERIF">
    <b><span class="012431618-07012003">Stacey</span></b></font></div>
  <div>
    <font lang="0" style="background-color: #ffffff" face="Arial"
color="#ff0000" size="4" FAMILY="SANSSERIF">
    <b><span class="012431618-07012003">
 
------------------------------------------------------------------------
-----------------------------------</span></b></font></div>

===end original code========

====dian's version======

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="MouseTraxStyles.css" type="text/css">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p class="StandardPageTextBoldRed"> A special offer for all Living Out
Your Dream 
  Subscribers and their friends. </p>
<p class="StandardPageTextBold"> You probably have many dreams and goals
for the 
  new year! </p>
<p class="StandardPageTextBold"> Is there anything that would stop you
from making 
  them a reality? </p>
<span class="StandardPageTextBold"> Sign up for this 2 part
teleclass,&quot; </span>
<span class="StandardPageTextBoldRed">Ready?</span> 
<span class="StandardPageTextBoldBlue">Set?</span><span
class="StandardPageTextBold"> 
</span><span class="StandardPageTextBoldRed">Go?</span><span
class="StandardPageTextBold">&quot;, 
to push through any fears or blocks and get ready to create that which
you most 
desire. <br>
<br>
Feel free to contact me at <a
href="mailto:coach@xxxxxxxxxxxxxxxxxx";>coach@xxxxxxxxxxxxxxxxxx</a> 
or 770.643.0886 with any questions you might have and please pass along
this email 
to anyone who might be interested.<br>
<br>
Warmest wishes for a healthy, fulfilling and prosperous new year.<br>
<br>
Stacey</span><br>
<span
class="StandardPageTextBoldRed"><b>-------------------------------------
----------------------------------------------------------------------</
b></span><br>
<br>
</body>
</html>

=====end dian's code====


Dian Chapman
Technical Consultant, Instructor,
Microsoft MVP & TechTrax Editor

Word AutoForm/VBA eBook: http://www.mousetrax.com/books.html
Tutorial web site: http://www.mousetrax.com/techpage.html
TechTrax Ezine: http://www.mousetrax.com/techtrax/

-----Original Message-----
From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On
Behalf Of Linda F. Johnson
Sent: Friday, January 10, 2003 9:32 AM
To: mso@xxxxxxxxxxxxx
Subject: [mso] Re: Utility to clean up FP code?



Aha...I see the problem.....it isn't FrontPage that's causing all the
messy code....it's probably cuz she's copying and pasting it from
somewhere ELSE into FrontPage.  Tell her to copy/paste it into notepad
first, then copy it from there into FrontPage, then just add the
graphics manually.  It will be much cleaner that way and all she will
have to do is remove the FrontPage meta tags if she wants to.

Linda
Publisher ~ ABC ~ All 'Bout Computers
Owner ~ Linda's Computer Stop http://personal-computer-tutor.com
FREE MS Office eBook Tutorial
http://personal-computer-tutor.com/library.htm
 


-----Original Message-----
From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On
Behalf Of Dian Chapman
Sent: Friday, January 10, 2003 3:33 AM
To: mso@xxxxxxxxxxxxx
Subject: [mso] Re: Utility to clean up FP code?



I'll see if she can pass me something. This is what she wrote me...

"Subject: Cleaning up FrontPage Code
I hope you don't mind my contacting you about a question I have. I know
you put together an extensive tutorial in your newsletters about HTML,
so you're the first person I thought of. :-) I am helping someone to
prepare an HTML newsletter to submit to a broadcast system/service that
they are using. I am a novice with HTML and am trying to convert the
text to HTML by copying and pasting into FrontPage. The FrontPage code
is pretty messy, I guess, because it takes many more characters than it
should when I put it into the broadcast system. Do you know of a way I
can clean up the code? Is there some sort of program I can run it
through that will get rid of all this extra stuff I see?"


Dian Chapman
Technical Consultant, Instructor,
Microsoft MVP & TechTrax Editor


*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx
or MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx?Subject=unsubscribe

Or, visit the group's homepage and use the dropdown menu.  This will
also allow you to change your email settings to digest or vacation (no
mail). //www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group,
send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an
invitation with instructions.  Once you are a member of the files group,
you can go here to upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx?Subject=unsubscribe

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: