![]() |
#1 |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,612
Karma: 5041066
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! |
![]() |
![]() |
![]() |
#2 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
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 | |
|
![]() |
#3 |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,612
Karma: 5041066
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! |
![]() |
![]() |
![]() |
#4 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
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. |
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,627
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,612
Karma: 5041066
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 |
![]() |
![]() |
![]() |
#7 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,736
Karma: 197700000
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. |
![]() |
![]() |
![]() |
#8 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
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. ![]() |
![]() |
![]() |
![]() |
#9 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,736
Karma: 197700000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
![]() |
![]() |
![]() |
#10 | ||
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,612
Karma: 5041066
Join Date: Mar 2015
Device: Kindle, iOS
|
Quote:
![]() Quote:
![]() ![]() ![]() ![]() Last edited by odamizu; 04-15-2016 at 10:40 PM. |
||
![]() |
![]() |
![]() |
|
![]() |
||||
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 |