Skip to content Skip to sidebar Skip to footer

Tools To Reduce Generated Html Size

I'm using google docs, and some templates we are using were created using MS-Office. The resulting HTML is fat and ugly, and the 500KB per doc limitation on google makes some clean

Solution 1:

MS-Office makes crappy HTML, period. You're better of spending time rebuilding the HTML from the original text than trying to walk through that minefield.

I made a few macros that do some search/replace functions on Word to do basic things like wrap <p> tags around paragraphs and stuff like that, then re-markup the whole thing from scratch.

Solution 2:

You could try tidy it will clean up many things.

Solution 3:

Without commenting on its name, I could mention demoronizer, which the author describes as:

...a Perl program available for downloading from this site which corrects numerous errors and incompatibilities in HTML generated by, or edited with, Microsoft applications.

YMMV.

Solution 4:

One of my favourite utilties now is actually Windows Live Writer - it does a neat job of stripping rubbish out of Word doc files. Some might disagree but I use it quite often!

Post a Comment for "Tools To Reduce Generated Html Size"