{"id":172,"date":"2003-02-10T21:49:40","date_gmt":"2003-02-10T21:49:40","guid":{"rendered":"tag:owlfish.com,2004:colinweblog.20030210214940"},"modified":"2003-06-30T23:20:59","modified_gmt":"2003-06-30T23:20:59","slug":"10022003","status":"publish","type":"post","link":"https:\/\/www.owlfish.com\/weblog\/2003\/02\/10022003\/","title":{"rendered":"The long road to valid HTML"},"content":{"rendered":"<p>On the seventh day he rested, for what he created seemed OK, at least as far as he could tell.  The next day was a work day however, so it wasn&#8217;t until he got home and updated his weblog software to produce validating HTML that he was reminded, once again, of the perils of releasing software.<\/p>\n<p>Despite my confident pronouncements that version 2.1 of SimpleTAL would output valid HTML, I had, I&#8217;m sorry to admit, made an omission.  You see for HTML to be <a href=\"http:\/\/validator.w3.org\/\">valid<\/a> it requires a document type declaration, and version 2.1 of SimpleTAL, like all those before it, would swallow any document type declaration present in the template.<\/p>\n<p>The good news is that the fix was trivial, and so I also took the opportunity to fix a few other oversights, like comments in HTML, and processing instructions in XML.  The new release, version 2.2, does now definitely outputs valid HTML; I&#8217;m using it for this very weblog, and this weblog now validates.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On the seventh day he rested, for what he created seemed OK, at least as far as he could tell. The next day was a work day however, so it wasn&#8217;t until he got home and updated his weblog software to produce validating HTML that he was reminded, once again, of the perils of releasing [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.owlfish.com\/weblog\/wp-json\/wp\/v2\/posts\/172"}],"collection":[{"href":"https:\/\/www.owlfish.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.owlfish.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.owlfish.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.owlfish.com\/weblog\/wp-json\/wp\/v2\/comments?post=172"}],"version-history":[{"count":0,"href":"https:\/\/www.owlfish.com\/weblog\/wp-json\/wp\/v2\/posts\/172\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.owlfish.com\/weblog\/wp-json\/wp\/v2\/media?parent=172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.owlfish.com\/weblog\/wp-json\/wp\/v2\/categories?post=172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.owlfish.com\/weblog\/wp-json\/wp\/v2\/tags?post=172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}