{"id":92,"date":"2004-09-01T13:32:12","date_gmt":"2004-09-01T11:32:12","guid":{"rendered":"http:\/\/frenchfragfactory.net\/ozh\/archives\/2004\/09\/01\/bilingual-blog-solution-and-xhtml-11\/"},"modified":"2007-04-20T17:01:37","modified_gmt":"2007-04-20T15:01:37","slug":"bilingual-blog-solution-and-xhtml-11","status":"publish","type":"post","link":"https:\/\/planetozh.com\/blog\/2004\/09\/bilingual-blog-solution-and-xhtml-11\/","title":{"rendered":"Bilingual blog solution and XHTML 1.1"},"content":{"rendered":"<p><img decoding=\"async\" align=\"left\" src=\"\/blog\/images\/two_flags.gif\" alt=\"Bilingual ?\" \/><br \/>\nI&#39;ve updated my <a href=\"\/blog\/archives\/2004\/05\/11\/a-solution-for-a-bilingual-wordpress\/\">bilingual script<\/a> (the solution to my bilingual needs I&#39;m using here), and it is now <em>XHTML 1.1<\/em> compliant.<\/p>\n<p>One difference with XHML 1.0 is that <em>lang<\/em> attribute is replaced by <em>xml:lang<\/em>, which needs a bit trickier javascript to handle. Should XHTML 1.1 compliancy be a matter to you, I&#39;d suggest you have a look at this <a href=\"\/blog\/xhtml.php\">javascript powered bilingual example<\/a> (and its source to get the trick)<\/p>\n<p>This said, I think XHTML 1.1 is extremely annoying and is more of a pain in the webmaster&#39;s neck than an improvement of any kind.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Update to my bilingual script : now XHTML 1.1 compliant<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[2,7,245],"class_list":["post-92","post","type-post","status-publish","format-standard","hentry","tag-code","tag-javascript","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/posts\/92","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/comments?post=92"}],"version-history":[{"count":0,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/posts\/92\/revisions"}],"wp:attachment":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/media?parent=92"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/categories?post=92"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/tags?post=92"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}