I didn't find a lot of information about this, but at least here are some configuration parameters:
W3C css-validator.jar: Where do I find documentation about local usage (parameters, etc.)?
-
04-10-2022 - |
Pregunta
I successfully installed W3C css-validator.jar locally as described here:
How can I validate CSS on internal web pages?
Now I'm looking for some documentation about how to use it.
At the moment I'm doing something like this:
java -jar css-validator.jar --output=soap12 file:source.css > result.xml
I'd like to accomplish the following:
- Output in a different format, e.g. XML (I guess that I can simply do
--output xml
for this) - Input a string directly without a file, e.g.
string:"body { color: red; }"
- Output the result directly without a file (so not like
> result.xml
) so I can do something likeRESULT = java -jar css-validator.jar...
Any help on this is highly appreciated.
Solución
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow