Re: Direct submit of local file to validate

On 13.04.01 at 09:35, dhulse@macromedia.com wrote:

>Rather than using the form page in
>http://validator.w3.org/file-upload.html to submit a local file for
>validation, is it possible to get the direct URL with the correct
>parameters for a direct submission?
>
>E.g., if I am using an HTML editor that has scripting/macro capabilities,
>I would like to create a script to call the validator, passing in the
>currently loaded file to validate.

Just create a suitable multipart/form-data MIME object with your document
in a part named "file_upload" -- and any other options as wanted -- and
HTTP POST it to <URL:http://validator.w3.org/check>.

Received on Friday, 13 April 2001 17:23:58 UTC