RE: Some draft code for mobileOK Basic Tests RI

> I have some to add:
> - parsing informations
>         - errors, warnings (structure, encoding)
> - document size of the response document?
> - external resources
>         - (image) HTTP Response Headers and real content type
> 
>   roland

Yes, good point!

Purely as a recreational exercise this is along similar lines:

http://rabin.mobi/r/format?uri=http://t-mobile.mobi

The PHP HTML Parsers have some weaknesses (ahem) that don't make
validation practical. This version calls the w3c cgi tidy for tidied
output. But I suppose that could equally be done from within the XSLT.
 
Food for thought, possibly.

It would be nice if the W3C validators returned results in XML.


Jo

Received on Thursday, 8 February 2007 11:34:04 UTC