W3C home > Mailing lists > Public > www-validator-css@w3.org > July 2008

Re: restful api wish

From: Kai Hendry <hendry@iki.fi>
Date: Thu, 10 Jul 2008 09:21:51 +0100
Message-ID: <b24851260807100121s3c0b3a9agc5cb5b389e3b6d01@mail.gmail.com>
To: "olivier Thereaux" <ot@w3.org>
Cc: www-validator-css@w3.org

On Wed, Jul 9, 2008 at 8:55 PM, olivier Thereaux <ot@w3.org> wrote:
> So you are suggesting a new text output, rather than modifying the existing
> text output? I guess that's feasible.

Great. :) I was also thinking that a JSON output format would be
useful for many:
http://jigsaw.w3.org/css-validator/manual.html#requestformat

> Is the output format you are suggesting compatible or equivalent to the GNU
> error output format? It seems like it would mostly need the addition of the
> document file name or URL at the beginning of each line.

http://wiki.whatwg.org/wiki/Validator.nu_GNU_Output

Yes, I've previously omitted the file as I have not figured out how I
can send multiple files with cURL yet. Does the validator support
that?

Also I think the files "leading directory components" get removed on a
post which VIM doesn't like. Though if "multiple file post/upload"
does work, having even the file's basename would be super useful for
associating validator output with the right file. :)


Kind regards,
Received on Thursday, 10 July 2008 08:22:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:20 GMT