Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.

w3cls

http://validator.w3.org/checklink?uri=%s{ifEmpty -value ${so} -then -else &summary=on}{ifEmpty -value ${hr} -then -else &hide_redirects=on}&hide_type=${ht=all}{ifEmpty -value ${na} -then -else &no_accept_language=on}{ifEmpty -value ${r} -then -else &recursive=on&depth=${r}}{ifEmpty -value ${sc} -then -else &cookie=set}&check=Check
NAME
     
     w3cls - check a web page for dead links using the W3C Link Checker.


SYNOPSIS
     
     w3cls [ URI ] [ -so SUMMARY_ONLY ] [ -hr HIDE_REDIRECTS ] [ -ht HIDE_TYPE ] 
     [ -na NO_ACCEPT_LANGUAGE ] [ -r RECURSION_DEPTH ] [ -sc SET_COOKIE ]


DESCRIPTION
     
     w3cls provides commandline access to the web interface for the W3C.org Link Checker.  Links are 
     validated and dead links on a web page or redirects are reported.  By default the Link Checker 
     will hide all redirects.

          
OPTIONS

     -so SUMMARY_ONLY
             ("on")

     -hr HIDE_REDIRECTS
             ("on")
     
     -ht HIDE_TYPE
             ("all" or "dir")
     
     -na NO_ACCEPT_LANGUAGE
             ("on")

     -r RECURSION_DEPTH
             ("-1", "0", "1", "2", or "3"; "-1" is the default and "3" is the maximum.)

Note:  Up to 150 links may be check recursively.
     
     -sc SET_COOKIE
             ("set")


EXAMPLES
     
     Example: w3cls
     Result:  Opens the W3C Link Checker web interface at W3C.org.
     
     Example: w3cls http://www.slashdot.org
     Result:  Validates the links found on the SlashDot.org web page.
     
     Example: w3cls http://www.slashdot.org -so on
     Result:  Just shows a summary report of the links found on the SlashDot.
     
     Example: w3cls http://www.slashdot.org -hr on -ht dir
     Result:  Validates the links on SlashDot, but hides the redirects for directories.
     
     Example: w3cls http://www.slashdot.org -na on
     Result:  Does not send the No_Accept_Language header to validate links.
     
     Example: w3cls http://www.slashdot.org -r 2
     Result:  Checks linked documents recursively up to a depth of 2.
     
     Example: w3cls http://www.slashdot.org -hr on -ht all -sc set
     Result:  Validates the links on SlashDot and sets a cookie to hide redirects.


SEE ALSO

     http://validator.w3.org/docs/checklink.html


AUTHOR
     Paul M. Boren
     pmboren AT gmail DOT com
    
37 uses - Created 2008-05-30 05:54:11 - Last used 2021-10-16 01:54:09
Is this command broken? Tell Jon if you know how to fix it.
Do you find this command offensive? Let Jon know.