Re: How To Validate a HTML file using W3c API

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 UTC