static site checker

SSC has a number of switches, including:

-h Output simple help
-V Output SSC’s version
-f f Load configuration from file f
-F Load configuration from ~/.ssc/config
-o f Output a report to file f
-v x Report level x issues, where x is
0 None
1 Catastrophes
2 Abhorrences
3 Errors
4 Warnings
5 Info
6 Comments
7 Debug
8… more and more debug
-I Process Server Side Includes
-g d set the root directory to d (defaults to current directory)
-x x treat files with extension x as HTML/XHTML
-i f file f is default (default index.html)
-s x x is the local site’s domain name
-L vd Define a virtual directory (vd is formatted ‘virtual=physical’)
-e Check external links (each link is checked once per run, not once per encounter)
-l Check internal links
-O Report each broken link once, not each time it’s found
-r Do not check for https certificate revocation
-X Check crosslinked IDs
-Y 1 Disable multithreading
-M Check microformats use of class attribute
-m Check ontologies use of WhatWG microdata attributes
-S Report site statistics
-A Report switches noticed by SSC, and exit.

If you find yourself having switch problems, add -A to your command line to see which switches SSC has noticed. -A kyboshes other processing.

For a full list of SSC’s command line switches, browse https://ssc.lu/.