README.md 849 B

w3c_validate plugin

W3C validator (http://validator.w3.org) plugin for generated HTML content.

After all content is generated, output folder is traversed for HTML files, and their content validated on W3C and the results displayed, for example:

-> writing /tmp/_output/sitemap.xml
-> Validating: /tmp/_output/archives.html
ERROR: line: 2; col: 52; message: Bad value http://www.w3.org/1999/html for the attribute xmlns (only http://www.w3.org/1999/xhtml permitted here).
-> Validating: /tmp/_output/categories.html
ERROR: line: 2; col: 52; message: Bad value http://www.w3.org/1999/html for the attribute xmlns (only http://www.w3.org/1999/xhtml permitted here).

Dependencies

TODO

[ ] - add tests