04-10-2016, 08:27 PM | #1 |
just an egg
Posts: 1,586
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
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! |
04-10-2016, 10:06 PM | #2 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
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). |
Advert | |
|
04-11-2016, 12:04 AM | #3 |
just an egg
Posts: 1,586
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
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! |
04-11-2016, 01:45 AM | #4 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
It looks like it also depends on some java .jar's from Jigsaw.
Java programs tend to be awkward that way. |
04-11-2016, 03:38 AM | #5 |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
|
Advert | |
|
04-11-2016, 10:57 PM | #6 |
just an egg
Posts: 1,586
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
Thanks eschwartz! Sadly, Jigsaw is beyond my technical skills
Thanks Doitsu! I will check it out! Last edited by odamizu; 04-13-2016 at 01:01 AM. Reason: typo |
04-12-2016, 06:06 PM | #7 |
Grand Sorcerer
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
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. |
04-12-2016, 06:46 PM | #8 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
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. ) |
04-12-2016, 07:11 PM | #9 |
Grand Sorcerer
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
04-13-2016, 01:09 AM | #10 | |
just an egg
Posts: 1,586
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
Quote:
Sadly, everything you just said went way over my head Last edited by odamizu; 04-15-2016 at 10:40 PM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Suggestion] Sigil validator should check missing type="text/css" attribute | quiris | Sigil | 13 | 01-21-2018 02:00 PM |
CSS validation uses wrong validator? | bookman156 | Sigil | 18 | 03-26-2016 04:22 PM |
W3C css Validator problem? | pete6055 | Sigil | 14 | 02-28-2013 09:19 AM |
css pseudo elements and adjacent combinators in extra css? | ldolse | Calibre | 2 | 12-21-2010 05:09 PM |