Forum Moderators: open

Message Too Old, No Replies

Way to clean up HTML pages

native file done in word

         

Acternaweb

9:01 pm on Oct 2, 2003 (gmt 0)

10+ Year Member



I was given a website where the "designer" created it in word. Is there a way to remove all the extra "stuff" that is included in a quick and dirty way? Or do I need to touch every page?

Thoughts?

bcolflesh

9:06 pm on Oct 2, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



MS tool for this purpose here:

microsoft.com/downloads/details.aspx?FamilyID=209ADBEE-3FBD-482C-83B0-96FB79B74DED&displaylang=en

Zaphod Beeblebrox

2:09 pm on Oct 3, 2003 (gmt 0)

10+ Year Member



Heh...someone gave me a site 2 months ago, full of Word code. The guy that 'designed' it had to spend 2 weeks manually editing them out!

sem4u

2:19 pm on Oct 3, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you have Dreamweaver there is a command to 'Clean Up Word HTML' :)

mClarke

4:25 pm on Oct 3, 2003 (gmt 0)

10+ Year Member



An application called Wordcleaner might work, I know it works on individual documents, and it seems to have a batch/export function. If you wind up doing the pages individually and have Dreamweaver MX 2004, you can also get html from word by copying and pasting from the clipboard into the *design mode* view.

Drag and drop seems to work as well, an excel sheet went in with a minimal amount of code junk, though much of the font bolding came off the excel chart that I dragged into mx 2004.

lukasz

5:31 pm on Oct 3, 2003 (gmt 0)

10+ Year Member



I think you will be better of doing it once again using CSS.
I suspect that even after "cleaning" your page will be full of unnecessary code (tons of font tags for example).

g1smd

8:25 pm on Oct 16, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I saw an online tool to clean up Word code. Seemed to save quite a lot of work in getting rid of obvious stuff.

However, if you are good with Find and Replace in a text editor, then you can do a whole page in a few minutes. The problem comes if you have more than a few dozen pages to fix.

Maybe, too, you should investigate ways to design the site so that common content is done by include files, PHP and ASP and others have a way to do this. This can make future site maintenance a whole lot easier too.