Now More User-Friendly
If you’ve ever used the W3C Validator, you probably noticed a couple of things:
- The error messages produced by the
onsgmlsparser are pretty obscure. - The latest version of the Validator attempts to improve the situation by including its own, more verbose error messages, in addition to the terse ones from
onsgmls. These messages are not necessarily the clearest, but they are a big improvement.
If you’ve ever commented on this blog, you know that we run comments through a local copy of the Validator, yielding the same obscure error messages as the “old” W3C Validator. Alexei Kosut seems to have lost interest in his MTValidate plugin (at least, he never answered any of my emails). So I decided to update the plugin to use the new, more user-friendly error messages.
The result is mtvalidate-0.2. To install,
- There are some Perl module prerequisites. Get your webhost to install them, or use CPAN to install them in your
extlibdirectory. - Make sure you have the
onsgmlsSGML parser installed on your system. It comes with RedHat Linux, it’s available via fink for MacOSX,
and for other OS’s, you can always download and compile the source code.fink install opensp3 - Download and uncompress the sgml-lib directory and put it inside the
validatordirectory. - Edit the
SGML_Parserline invalidator/config/validator.confto reflect the location ofonsgmls. - Move
MTValidate.pland thevalidatordirectory into your MovableTypepluginsdirectory. - Follow my previous instructions to enable validation of comments. Alexei has instructions to enable validation of entries.
Let me know how you like the new, “improved” error-reporting. And let the W3C know if you have any suggestions for improving the error messages.
Posted by distler at May 26, 2004 11:45 PM
Re: Now More User-Friendly
If only installing MTValidate was more user-friendly.
I have my own domain that’s hosted on a shared box, but I’m not sure if SGML is installed on the system. Do you know how I can find out?