From: Harry Hopp > I am writing an HTML/CSS editor under Windows and I would like to > incorporate a feature to enable the user to upload the HTML or CSS > code in the editor window to the W3C Validator. I have seen that > other editors do this. Could you please tell me what the command > line should look like in order to upload a file containing HTML > or CSS code for validation? The Markup Validator is designed to operate over HTTP, not directly from the command line. Any command line used to access it would run a program that issued an HTTP request (and there many possible options here, including Curl and most programming languages have HTTP libraries available for them, Perl even has WebService::Validator::HTML::W3C). The command line you use would depend on the software you are using to make the HTTP request. -- David Dorward http://dorward.me.uk/Received on Monday, 14 May 2007 08:32:47 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 20 September 2007 14:26:38 GMT