Re: restful api wish

http://wiki.whatwg.org/wiki/Validator.nu_GNU_Output
http://svn.natalian.org/projects/html5/validate-js.sh


An example how I would like to see the CSS validator api to work:

x61:/tmp% cat style.css
body { colour: green; }

curl -s -F css=@style.css http://jigsaw.w3.org/css-validator

And then your service would return in a line based text format:

style.css:1:8:Property colour doesn't exist :  green

So vim could parse this errorformat easily as
filename:lineno:colno:error message

Kind regards,

Received on Wednesday, 25 June 2008 13:22:24 UTC