LPM: Checking HTML syntax?

Rich Bowen rbowen at rcbowen.com
Wed Mar 22 19:19:29 CST 2000


Gregg Casillo wrote:
> 
> Does anyone know of a module or other means to check HTML syntax with Perl?
> I'm working on a web page publishing system that checks links, document
> weight, and hopefully HTML syntax of web pages. The syntax validation would be
> something in the mold of W3C's Tidy program
> (http://www.w3.org/People/Raggett/tidy/).
> 
> If there are serious HTML mistakes/errors, I want to catch them and report
> them to the people submitting publishing requests (that is, those folks who
> submit URLs to my publishing/checking script.

There's HTML::QuickCheck (very lightweight - perhaps what you need) and
HTML::Validator, which is more robust and picky.

Rich
-- 
http://www.ApacheUnleashed.com/
Lexington Perl Mongers - http://lexington.pm.org/
PGP Key - http://www.rcbowen.com/pgp.txt



More information about the Lexington-pm mailing list