Paste text and match formatting, but retain links

Hi, I am fairly new to RapidWeaver and have just started to migrate a site from iWeb to RW. The old site has lots of links to external sites that I’d really like to avoid having to recreate. However, pasting old text (be it from iWeb or a web browser showing the old site), it seems I either have the choice between:

Pasting as plain text, which gets rid of messy formatting, but also removes the links
Pasting to match the existing style, which is even better as it conforms to the style I want to use, but this way also removes the links
Just regular pasting, which does retain the links, but also all formatting and sometimes it is hard to edit the formatting

Is there any way to find achieve “middle ground” where links are retained, but otherwise old formatting is removed?

You could try to copy the text from the source code (HTML), if that’s possible. The links would remain in the HTML.

If you used an app like Site Sucker, it should be easier to locate the HTML.

1 Like

Thanks, I looked into this, but HTML did not help much. I am trying a workaround through Word without formatting, which works somewhat better.

You can also do some code like this and use words (in this case I used Privacy): <a href=''>Privacy</a>

It’s in the footer text on all my pages:

1 Like

Thanks for the tip (your site looks very good!), but I am not sure how this would help pasting from my old site?

It would be a little more work but this way you don’t have to worry about formatting (by cutting and pasting) in the future.

You’re really wanting the impossible – keeping one functional piece of coding, the <a> links, while ignoring the rest. You could (although I doubt if it would be very labour-saving) copy and paste the text as plain text, then look at the page source and copy and paste all the links into the new pages. In theory you could take the page source and filter out all the unwanted formatting in, say, BBEdit, but I think that would take even longer. I’d bite the bullet and recreate the links.

1 Like

I fear you are right, thanks for considering it!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.