diff options
author | Stefan Kreutz <mail@skreutz.com> | 2022-04-28 14:55:17 +0200 |
---|---|---|
committer | Stefan Kreutz <mail@skreutz.com> | 2022-04-28 14:55:17 +0200 |
commit | 3ba902a37daa8f28552ca43665458f97d0634e26 (patch) | |
tree | 94a2270849d626d21422a624c0637d19eb09fe41 /script/check | |
parent | e699c3ec492b7c9128f4c89d71e6b9aec3c4fbda (diff) | |
download | blog-3ba902a37daa8f28552ca43665458f97d0634e26.tar |
Move shell scripts to dedicated directory
Diffstat (limited to 'script/check')
-rwxr-xr-x | script/check | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/script/check b/script/check new file mode 100755 index 0000000..6428077 --- /dev/null +++ b/script/check @@ -0,0 +1,21 @@ +#! /bin/sh + +# Run third-party markup checkers. +# See W3C Developer Tools at https://w3c.github.io/developers/tools/ + +open() { + xdg-open "$@" >/dev/null 2>&1 & +} + +# W3C Nu HTML Checker +open "https://validator.w3.org/nu/?doc=https%3A%2F%2Fwww.skreutz.com%2Fposts%2Funix-domain-socket-forwarding-with-openssh%2F" + +# W3C CSS Validator +open "https://jigsaw.w3.org/css-validator/validator?uri=https%3A%2F%2Fwww.skreutz.com%2F&profile=css3svg&usermedium=all&warning=1&vextwarning=&lang=en" + +# W3C Feed Validator +open "https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Fwww.skreutz.com%2Ffeeds%2Fposts.rss" +open "https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Fwww.skreutz.com%2Ffeeds%2Fposts.atom" + +# W3C Link Checker +open "https://validator.w3.org/checklink?uri=https%3A%2F%2Fwww.skreutz.com%2F&hide_type=all&recursive=on&depth=10&check=Check" |