W3C home > Mailing lists > Public > www-validator@w3.org > June 2012

RE: Export Options

From: John Albaugh <JohnA@vdsys.com>
Date: Wed, 6 Jun 2012 09:57:41 -0400
Message-ID: <3172D008F1FF7347ABCF5C62B61AB155025506D9@sbs.VDSYS.loc>
To: "Michael[tm] Smith" <mike@w3.org>
Cc: <www-validator@w3.org>
Thank you for that link Michael.  

Unfortunately the error(s) and count(s) are different from the
webservice and the validator.  Using www.vdsys.com as an example, I only
get 4 errors from the webservice
http://validator.w3.org/nu/?doc=http://www.vdsys.com&out=text and it
looks like it had to stop whereas the validator found 16 errors and 8
warnings.  I imagine that the validator is the more comprehensive test
and will continue parsing through that data since the webservice doesn't
seem to be functioning properly.

Thanks,

John Albaugh
Project Manager
410.964.8665 Ext. #268
VisualDataSystems.com
-----Original Message-----
From: Michael[tm] Smith [mailto:mike@w3.org] 
Sent: Wednesday, June 06, 2012 6:07 AM
To: John Albaugh
Cc: www-validator@w3.org
Subject: Re: Export Options

John Albaugh <JohnA@vdsys.com>, 2012-06-05 09:28 -0400:

> I am in the QA process of a web project and as I check the validation
of
> pages I noticed that there aren't any simple export options of the
> reports generated.  Being able to download a csv, xml, or excel file
of
> a validation report would be extremely helpful as I assemble reports
and
> manage QA for our projects.

If you use the W3C Nu Validator, you can use the REST API with the "out"
parameter to get errors reported in alternative formats; the ones that
are
intended for post-processing are:

  http://validator.w3.org/nu/?doc=http://vdsys.com&out=json
  http://validator.w3.org/nu/?doc=http://vdsys.com&out=xml
  http://validator.w3.org/nu/?doc=http://vdsys.com&out=gnu

There's some documentation here:

  http://wiki.whatwg.org/wiki/Validator.nu_Web_Service_Interface

-- 
Michael[tm] Smith http://people.w3.org/mike
Received on Wednesday, 6 June 2012 14:30:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 6 June 2012 14:31:04 GMT