• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 231
  • Last Modified:

Copying from rtf file into FP2000

First off, I've inherited this process, so I can understand if there is a better solution than what I am about to ask.

I upgraded my machine from Windows 98 to 2000, and along with it upgraded Frontpage 98 to 2000.

When I try to copy and paste a list of members (generated through an Access query, and published into Word {both 2000} rtf file.  I am getting a bunch of additional HTML code that I have never had when I was using the 98's.

After pasting into FP98 this is what the HTML page would look like:
<br>
1040 Kids Inc<br>
69th St Fifth-Madison Association<br>
82nd Street Business Improvement District<br>
A Better World Fund<br>
<a href="http://www.members.petfinder.org">A Cause for Paws (ACFP)</a><br>
<a href="http://www.adarc.org">Aaron Diamond AIDS Research Center</a><br>
<a href="http://www.alba-valb.org">Abraham Lincoln Brigade Archives</a><br>
Academy for Cultural Enrichment<br>

When I try the same thing in FP2000 I get :
<p class=MsoNormal style='margin-top:.05pt;mso-pagination:none;tab-stops:4.5pt;
mso-layout-grid-align:none;text-autospace:none'><span style='font-size:8.0pt;
font-family:Arial;color:black'>A Better World Fund&lt;br&gt;</span><span
style='font-size:10.0pt;font-family:Arial;color:black'><o:p></o:p></span></p>

<p class=MsoNormal style='margin-top:.05pt;mso-pagination:none;tab-stops:4.5pt;
mso-layout-grid-align:none;text-autospace:none'><span style='font-size:8.0pt;
font-family:Arial;color:black'>&lt;a href=http://www.members.petfinder.org>;
A Cause for Paws (ACFP)&lt;/a&gt;&lt;br&gt;</span><span style='font-size:10.0pt;
font-family:Arial;color:black'><o:p></o:p></span></p>

What is all of this and how do I get rid of it when copying and pasting?
0
craigweinrich
Asked:
craigweinrich
  • 2
1 Solution
 
webwomanCommented:
It's MS garbage, they're trying to be XML compliant and doing a totally horrible job of it.

You're stuck with it if you copy/paste. And it won't matter if you copy/paste or export as HTML, it will be the same junk.

The best option (and it's not a good one) is to export as TEXT ONLY, then copy/paste the TEXT into FP. You will lose ALL formatting, any tables, etc. But you won't get that crap.

I haven't found anything that was good on cleaning it up, either. I've tried Dreamweaver (which does have a 'clean up Word HTML' option, but that tends to not do much or destroy everything, IMHO), tried doing a search/replace in HomeSite (which takes forever), etc.

If you're comfortable using a code editor, you can copy/paste Word text right into HomeSite, which will ignore all the formatting. Basically you eliminate the export as txt step.

You can try copying/pasting into HTML view rather than the normal view. I haven't tried it, but it might eliminate the save as txt step.
0
 
webwomanCommented:
Sorry it couldn't be a better answer -- I haven't found one. If you find something (anything!) that works, please make sure to post it so everybody can find it.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now