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

Re: How To Validate a HTML file using W3c API

From: Jaime Iniesta <jaimeiniesta@gmail.com>
Date: Wed, 22 Aug 2012 16:10:13 +0200
Message-ID: <CAKFFWV_F7kCnqfoEGUm3qa6t1DEM1AxVnK9BEzKr45JLnmjwyQ@mail.gmail.com>
To: David Dorward <david@dorward.me.uk>
Cc: Harshit Oberoi <oberoi.harshit@gmail.com>, www-validator@w3.org
A way to validate your local server is making it temporarily public with a
service like localtunnel:

http://progrium.com/localtunnel/

2012/8/22 David Dorward <david@dorward.me.uk>

>
> On 22 Aug 2012, at 10:53, Harshit Oberoi <oberoi.harshit@gmail.com> wrote:
>
>
> simmilarly to update file an uploaded_file parameter is there , but
> implementing this in above url :
> http://validator.w3.org/check?uploaded_file=C:\Users\harshit\Desktop\xyz\10Most.htm&doctype=HTML5&output=soap12<http://validator.w3..org/check?uploaded_file=C:%5CUsers%5Charshit%5CDesktop%5Cxyz%5C10Most.htm&doctype=HTML5&output=soap12>
>
>
>
> In general, giving any web application the path of a file on your hard
> disk isn't going to do much good. Your hard disk almost certainly isn't
> readable from the WWW, and thanks to NAT and other systems which mask the
> originating IP the server has little chance of being able to reach your
> machine (and then it would have to guess the protocol).
>
> See the documentation: http://validator.w3.org/docs/api.html
>
> uploaded_fileThe document to validate, POSTed as multipart/form-data
>
>
> You have to use a POST request and include the file itself in the request.
>
> --
> David Dorward
> http://dorward.me.uk
>
>


-- 
Jaime Iniesta, freelance web developer
http://jaimeiniesta.com
http://prorubyteam.com
Received on Wednesday, 22 August 2012 14:10:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 22 August 2012 14:11:05 GMT