W3C home > Mailing lists > Public > public-evangelist@w3.org > July 2004

Re: XHTML Validator to RSS

From: olivier Thereaux <ot@w3.org>
Date: Tue, 6 Jul 2004 14:40:07 +0900
Message-Id: <F05D500C-CF0E-11D8-B2B0-000A95E54002@w3.org>
Cc: public-evangelist@w3.org
To: Matt Mullenweg <m@mullenweg.com>
Matt,

On Jul 6, 2004, at 5:58, Matt Mullenweg wrote:
>
> WordPress does some rudimentary XML validity checking and correcting,  
> but it's far from perfect. As a developer it would be great to have a  
> fast, high-availability web service that we could text to and have it  
> check (and optionally corrected), preferably over XML-RPC.

A SOAP 1.2 interface is one mid-term goal for the Markup Validator,  
actually...
Currently we have :
	http://validator.w3.org/docs/users#Output
but as the warning message says, we want to move to something more  
stable, and any help (in the form of requirements, discussion or code)  
from the community would be more than welcome.

Among the existing alternate interfaces, there is at least one I would  
like to keep, the HTTP header output, e.g:
[[
ot@wasabi ~% HEAD  
"http://validator.w3.org/check?uri=http%3A%2F%2Fwww.w3.org%2F; 
output=xml"
200 OK
Connection: close
Date: Tue, 06 Jul 2004 05:36:31 GMT
Server: Apache/1.3.27 (Unix)
Content-Type: application/xml; charset=UTF-8
Client-Date: Tue, 06 Jul 2004 05:36:31 GMT
Client-Peer: 128.30.52.13:80
Client-Response-Num: 1
X-W3C-Validator-Errors: 0
X-W3C-Validator-Status: Valid
]]

Still crude, but better than scraping the (XHTML) validation results.
Ironically, as I notice only now, this is the least documented  
interface...
I'll fix that.

-- 
olivier

Received on Tuesday, 6 July 2004 01:40:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 15 July 2011 00:13:22 GMT