Kapil Hari Paranjape
kapil at imsc.res.in
Thu Mar 18 08:35:03 MSK 2004
On Wed, Mar 17, 2004 at 11:35:20AM -0500, Ben Okopnik wrote:
> On Wed, Mar 17, 2004 at 06:35:26AM +0530, Kapil Hari Paranjape wrote:
> > You could also reduce the load on the w3c server by using "tidy" which
> > is their downloadable validator (written in Perl).
> Thanks, Kapil, that's a handy tip! I already ran "tidy" on my HTML, but
> I also have a link that says
Since Ben thanked me I checked my info more carefully :-)
What I "meant" was the program "tidy-proxy" which allows you to view
pages through "tidy". So you run "tidy-proxy" (you also need to install
"tidy"), then set your web proxy as "http://localhost:9090/". After this
any page you view will be examined.
In the process, I also found "wdg-html-validator" which is actually a
"local" version of the validator. It depends on lots of SGML stuff and
so I suppose does a "formal" validation using the DTD's and so on. I
haven't tried it out.
You can also ask "tidy-proxy" to use "wdg-html-validator" with the
"--action v" switch.
DISCLAIMER(!): "tidy" "tidy-proxy" and "wdg-html-validator" are the Debian
package names. If you use any other distribution you will probably find
equivalent packages with similar names.
More information about the TAG