diff options
-rw-r--r-- | BACKLOG.md | 5 | ||||
-rwxr-xr-x | check | 21 | ||||
-rwxr-xr-x | deploy | 2 |
3 files changed, 23 insertions, 5 deletions
@@ -2,11 +2,6 @@ ## Hosting -* Regularly check HTTPS security using Mozilla's [Observatory](https://observatory.mozilla.org/) (includes the services below) - * https://hstspreload.org/?domain=skreutz.com - * https://securityheaders.com/?q=www.skreutz.com&hide=on&followRedirects=on - * https://www.ssllabs.com/ssltest/analyze.html?d=www.skreutz.com&hideResults=on&latest -* Regularly validate HTML, CSS, RSS, and Atom using [W3C tools](https://w3c.github.io/developers/tools/) * Configure custom 404 page using httpd.conf(5) location not found rule (supported by OpenBSD 7.1) * Consider to disable logging (and advertise this on the about page) @@ -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" @@ -54,3 +54,5 @@ curl \ --output /dev/null \ http://www.bing.com/ping?sitemap=https%3A%2F%2Fwww.skreutz.com/sitemap.xml \ || ( >&2 printf "error: failed to submit live sitemap to bing.com\\n" ) + +/bin/sh "${root}/check" |