![]() |
Offline CSS Validator?
Does anyone know of a CSS Validator that works without an Internet connection? Everything I've found seems to require a live Internet connection to access W3C.
I did find this page, which has command-line instructions. The instructions are a little over my head and I couldn't get it to work, but it seems you still need an Internect connection: https://jigsaw.w3.org/css-validator/DOWNLOAD.html Thanks for any help! |
The command-line instructions are for running the jar directly, versus running a local server and using it via a browser.
Either way you need no internet (unless you want to use someone else's remote instance --- e.g. the W3.org copy). |
Ooh! That's what I want — running the jar without internet! But I couldn't get it to work. I downloaded the css-validator.jar file and tried a bunch of Terminal commands based on java -jar css-validator.jar, but no joy.
I think I'm missing the prerequistes — source code? Java servlet container? All that is beyond my technical skills. Can you tell me whether I need more than the css-validator.jar file, a terminal window, and JRE 8? Thanks! |
It looks like it also depends on some java .jar's from Jigsaw.
Java programs tend to be awkward that way. |
|
Thanks eschwartz! Sadly, Jigsaw is beyond my technical skills :o
Thanks Doitsu! I will check it out! |
As far as I know, you don't HAVE to have a working Apache with Jigsaw or Tomcat installation, but there is a missing jar library from the download that would prevent it from working from the command line.
Most advice I've seen is to install ant and build from a full CVS source configured to point to the necessary servlet jar (which can be pulled from a binary Tomcat package if necessary). I've not gotten around to trying it myself yet, though. |
That's what I said -- it depends on one or more *.jar's from Jigsaw.
Building it from source appears to be beyond the OP's technical skills, though. (Also, that is VCS, not CVS -- unless you truly mean that ancient version control system which isn't being used here regardless. As typos go, that one is always good. :D) |
Quote:
I didn't want to look up what specific system they were using. ;) |
Quote:
Quote:
|
| All times are GMT -4. The time now is 08:55 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.