> Following my comments on comp.infosystems.www about device-indpendent
> HTML and the like, a number of people have suggested that what's needed
> is a tool for the checking of HTML code for inconsistencies and bad
> practices. To that end, I'm starting to work on "lint for the web" sort
> of program.
I think you could put in a user-defined flag, to see whether
the program would collapse empty lines and remove empty spaces before
lines.
I'd like to know what's correct about paragraph breaks myself;
"<pre>a line</pre>" puts a break at the end in Mosaic for X, but not
MacMosaic; the same for ending header tags and list tags.
I'd like the program to traverse a directory tree and automagically
fix the files, say replacing them and moving the original to
"original.html.bak" or "original.html~" or some other user-defined suffix.
Perhaps a "noclobber" option would be in order...
...and it would be great to be able to substitute strings, so when
host names in URLs change, I could fix all my HTML documents in one
swoop! Well, I don't want to sound pushy, but I've been wanting to do that
for some time. Good luck and thanks for taking on the job!
-- Kevin
-- Kevin Hughes * kevinh@eit.com Enterprise Integration Technologies Webmaster (http://UNDER.CONSTRUCTION/) Hypermedia Industrial Designer * Duty now for the future!