|
Posted by Gιrard Talbot on 04/11/07 01:26
Lisa wrote :
> -it would be wonderful to have a tool that uncluttered MS html, or the
> ability to remove all span tags, all attributes from p, etc. that's
> what my authors write in.
Depending on what you want to remove, I can assure you that there are a
few free open-source software tools which can do uncluttering:
- KompoZer 0.77 markup cleaner will fix nested lists, remove trainling
<br> that WYSIWYG HTML editors often leave, remove align attributes in
empty table cells, remove empty blocks (like <p></p>). HTML Tidy will do
all this, except maybe fix nested lists
- HTML Tidy (April 2007 version) has to be your first tool because it is
mighty powerful and amazing at fixing severely poorly coded webpages.
The nice thing about HTML Tidy is that you can use it on a batch of many
webpages. It's highly configurable (with about 100 parameters possible: see
http://tidy.sourceforge.net/docs/quickref.html
)
and very powerful. I've used it for over a year now and definitely
recommend it. Around the web, you'll find lots of GUI programs for it.
For fixing 1 single webpage at a time, I use HandCoder 0.3.4
http://fabiwan.kenobi.free.fr/HandCoder/
from within KompoZer 0.77. HandCoder is not built-in in KompoZer: you
have to download it and install it. And you can download the latest .exe
available version of HTML Tidy here (in a .zip file):
http://www.paehl.com/open_source/?HTML_Tidy_for_Windows
There are GUI programs for Tidy which will fix many webpages in a batch:
you can also do this in a console window (command-line function calls).
I assure you that understanding how to use + configure HTML Tidy is
worth the trouble.
HTML Tidy will also fix validation markup errors but not all of them.
You'll still need to validate your webpages with a true SGML parser
software.
GΓ©rard
--
Using Web Standards in your Web Pages (Updated Dec. 2006)
http://developer.mozilla.org/en/docs/Using_Web_Standards_in_your_Web_Pages
Navigation:
[Reply to this message]
|