(2015-01-27) A New Year, Not Much Else

Not a lot to talk about right now -- I realise that I've not had anything to talk about since the end of October last year, but I've just been super lazy with extra work.

I have done a couple of little bits, but not yet got round to putting them up -- with the exception of a fun little CURL exercise I did to create a command line W3C Validator.

% ./w3c-validator.sh --markup --domain google.com
Attempted to auto detect encoding...
Attempted to auto detect doctype...
Encoding: iso-8859-1
Doctype: HTML5
Root Element: html
Root Namespace: 
URL markup is invalid; 30 Errors found
Line 2, Column 1968: The bgcolor attribute on the body element is obsolete. Use CSS instead.
Line 5, Column 51: Element nobr not allowed as child of element div in this context. (Suppressing further errors from this subtree.)
Line 5, Column 128: & did not start a character reference. (& probably should have been escaped as &.)
Line 5, Column 200: & did not start a character reference. (& probably should have been escaped as &.)
Line 5, Column 267: & did not start a character reference. (& probably should have been escaped as &.)
Line 5, Column 401: & did not start a character reference. (& probably should have been escaped as &.)
Line 5, Column 697: Attribute width not allowed on element div at this point.
Line 5, Column 703: Element nobr not allowed as child of element div in this context. (Suppressing further errors from this subtree.)
Line 5, Column 996: & did not start a character reference. (& probably should have been escaped as &.)
Line 5, Column 1148: The center element is obsolete. Use CSS instead.
Line 5, Column 1191: Element div not allowed as child of element span in this context. (Suppressing further errors from this subtree.)
Line 5, Column 3096: The border attribute on the table element is obsolete. Use CSS instead.
Line 5, Column 3161: & did not start a character reference. (& probably should have been escaped as &.)
Line 5, Column 3338: An img element must have an alt attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images.
Line 5, Column 3605: & did not start a character reference. (& probably should have been escaped as &.)
Line 7, Column 58: The clear attribute on the br element is obsolete. Use CSS instead.
Line 7, Column 204: & did not start a character reference. (& probably should have been escaped as &.)
Line 7, Column 296: The cellpadding attribute on the table element is obsolete. Use CSS instead.
Line 7, Column 296: The cellspacing attribute on the table element is obsolete. Use CSS instead.
Line 7, Column 313: The valign attribute on the tr element is obsolete. Use CSS instead.
Line 7, Column 329: The width attribute on the td element is obsolete. Use CSS instead.
Line 7, Column 369: The align attribute on the td element is obsolete. Use CSS instead.
Line 7, Column 369: The nowrap attribute on the td element is obsolete. Use CSS instead.
Line 7, Column 1137: The align attribute on the td element is obsolete. Use CSS instead.
Line 7, Column 1137: The nowrap attribute on the td element is obsolete. Use CSS instead.
Line 7, Column 1137: The width attribute on the td element is obsolete. Use CSS instead.
Line 7, Column 1515: The font element is obsolete. Use CSS instead.
Line 7, Column 1738: & did not start a character reference. (& probably should have been escaped as &.)
Line 8, Column 75: Element div not allowed as child of element span in this context. (Suppressing further errors from this subtree.)
Line 8, Column 408: Element p not allowed as child of element span in this context. (Suppressing further errors from this subtree.)

It does it's best to format the (quite honestly pretty poor) output from both the markup and CSS / style validators provided by W3C. The help screen(s) are a little sparse at the moment, but if you just keep everything on automatic it's pretty self explainitory.