{"id":1699,"date":"2003-09-07T08:29:51","date_gmt":"2003-09-07T22:29:51","guid":{"rendered":"http:\/\/michaelhans.com\/eclecticism\/2003\/09\/07\/validation-favelets\/"},"modified":"2019-12-06T08:58:55","modified_gmt":"2019-12-06T16:58:55","slug":"validation-favelets","status":"publish","type":"post","link":"https:\/\/michaelhans.com\/eclecticism\/2003\/09\/07\/validation-favelets\/","title":{"rendered":"Validation favelets"},"content":{"rendered":"<p>Jeffrey Zeldman has <a href=\"http:\/\/www.zeldman.com\/daily\/0803a.shtml#se0603\" title=\"Favelets Updated\">posted<\/a> two &#8216;favelets&#8217; for easy one-click site validation. Drag them onto your browser bookmark bar, and with one click, you can run any page you&#8217;re at through the W3C&#8217;s beta <a href=\"http:\/\/validator.w3.org:8001\/\" title=\"W3C Markup Validator\">page validation service<\/a>. Very handy.<\/p>\n<p>On a related note, every page of this redesign validated from the get-go. The single issue I ran into was with a link in a story earlier where I&#8217;d forgotten to escape the ampersands in the link. The ampersand character &#8212; &amp; &#8212; should be coded in valid HTML as <code>&amp;amp;<\/code>, and failure to do so will result in broken validation. Unfortunately, because many database-driven sites use a URL format of <code>http:\/\/www.server.com\/option1=\u201csample\u201d&amp;option2=\u201csample\u201d<\/code> or some such, you occasionally need to remember to fix the link so that it looks like <code>http:\/\/www.server.com\/option1=\u201csample\u201d&amp;amp;option2=\u201csample\u201d<\/code>. A minor annoyance, but not insurmountable. Once I got that link fixed, I validated without any further changes needed. Go me!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The ampersand character &mdash; &amp; &mdash; should be coded in valid HTML as <code>&amp;&amp;<\/code>, and failure to do so will result in broken validation.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2040],"tags":[65],"_links":{"self":[{"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/posts\/1699"}],"collection":[{"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/comments?post=1699"}],"version-history":[{"count":0,"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/posts\/1699\/revisions"}],"wp:attachment":[{"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/media?parent=1699"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/categories?post=1699"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/tags?post=1699"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}