{"id":235,"date":"2005-06-14T04:32:56","date_gmt":"2005-06-14T02:32:56","guid":{"rendered":"http:\/\/blogs.bl0rg.net\/neingeist-neu\/2005\/06\/14\/validate-xhtml-in-cronjobs\/"},"modified":"2006-10-10T03:21:29","modified_gmt":"2006-10-10T01:21:29","slug":"validate-xhtml-in-cronjobs","status":"publish","type":"post","link":"https:\/\/blogs.bl0rg.net\/neingeist\/2005\/06\/14\/validate-xhtml-in-cronjobs\/","title":{"rendered":"Validate XHTML in cronjobs"},"content":{"rendered":"<p>In my dirty-little-helpers category: How do I check my webpages for XHTML conformity regularly? The <a href=\"http:\/\/validator.w3.org\/check\/referer\">W3C validator<\/a> is ok, however I wanted something I can put in a cronjob.<\/p>\n<p><code><br \/>\nlynx -source https:\/\/blogs.bl0rg.net\/neingeist | xmllint --loaddtd --noout -<br \/>\n<\/code><\/p>\n<p>xmllint is from the <a href=\"http:\/\/xmlsoft.org\/\">libxml2<\/a> utils. I left two errors in this blog entry just to illustrate. (Update: I fixed them now.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my dirty-little-helpers category: How do I check my webpages for XHTML conformity regularly? The W3C validator is ok, however I wanted something I can put in a cronjob. lynx -source https:\/\/blogs.bl0rg.net\/neingeist | xmllint &#8211;loaddtd &#8211;noout &#8211; xmllint is from the libxml2 utils. I left two errors in this blog entry just to illustrate. (Update: [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[12],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.bl0rg.net\/neingeist\/wp-json\/wp\/v2\/posts\/235"}],"collection":[{"href":"https:\/\/blogs.bl0rg.net\/neingeist\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.bl0rg.net\/neingeist\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.bl0rg.net\/neingeist\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.bl0rg.net\/neingeist\/wp-json\/wp\/v2\/comments?post=235"}],"version-history":[{"count":0,"href":"https:\/\/blogs.bl0rg.net\/neingeist\/wp-json\/wp\/v2\/posts\/235\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.bl0rg.net\/neingeist\/wp-json\/wp\/v2\/media?parent=235"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.bl0rg.net\/neingeist\/wp-json\/wp\/v2\/categories?post=235"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.bl0rg.net\/neingeist\/wp-json\/wp\/v2\/tags?post=235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}