We Recommend

bash Cookbook: Solutions and Examples for bash Users bash Cookbook: Solutions and Examples for bash Users
bash Cookbook teaches shell scripting the way Unix masters practice the craft. It presents a variety of recipes and tricks for all levels of shell programmers so that anyone can become a proficient user of the most common Unix shell -- the bash shell -- and cygwin or other popular Unix emulation packages.


Posted By

noah on 02/10/08


Tagged

Bash html xml code commandline validation cygwin tidy qa textonly openjade onsgmls w3 processor


Versions (?)


Validate XHTML with Tidy and/or OpenJade, just like the FF extension


Published in: Bash 


URL: http://onemorebug.com/blog/2007/10/28/html-validation/

Neither command will give any feedback unless invalid markup is found.

  1. tidy -eq temp.html
  2.  
  3. onsgmls -E0 -s c:\sgml-lib\xml.dcl temp.html
  4.  
  5. lwp-request http://onemorebug.com | onsgmls -E0 -s /Applications/validator-0.8.2/htdocs/sgml-lib/ISO-HTML/15445.dcl -

Report this snippet 

You need to login to post a comment.