{"id":368,"date":"2007-05-04T19:59:59","date_gmt":"2007-05-05T01:59:59","guid":{"rendered":"http:\/\/blog.codedread.com\/archives\/2007\/05\/04\/sam-ruby-inline-svg-in-ie\/"},"modified":"2007-05-04T19:59:59","modified_gmt":"2007-05-05T01:59:59","slug":"sam-ruby-inline-svg-in-ie","status":"publish","type":"post","link":"https:\/\/www.codedread.com\/blog\/archives\/2007\/05\/04\/sam-ruby-inline-svg-in-ie\/","title":{"rendered":"Sam Ruby: Inline SVG in IE"},"content":{"rendered":"<p>Thanks, <a href=\"http:\/\/www.intertwingly.net\/blog\/2007\/05\/04\/Inline-SVG-in-MSIE\">Sam<\/a> for kicking this off - I knew it was just a matter of time before someone would do a proof-of-concept, but the week of MIX07 was earlier than I expected! \ud83d\ude42<\/p>\n<p>One suggestion:  If you're going to use simple IE detection, then why not use <a href=\"http:\/\/blog.codedread.com\/archives\/2007\/04\/17\/how-to-use-ie-conditional-comments-in-xhtml\/\">IE conditional comments<\/a> rather than forcing other SVG-capable browsers to load and parse and run the JavaScript?  Something like:<\/p>\n<div class=\"code\">\n<pre>\n&#60;!--[if IE]>\n  &#60;script type=\"text\/javascript\" src=\"SVG2SL.js\">&#60;\/script>\n&#60;![endif]-->\n<\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Thanks, Sam for kicking this off &#8211; I knew it was just a matter of time before someone would do a proof-of-concept, but the week of MIX07 was earlier than I expected! \ud83d\ude42 One suggestion: If you&#8217;re going to use simple IE detection, then why not use IE conditional comments rather than forcing other SVG-capable [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38,24,9,25,46,11,28],"tags":[],"class_list":["post-368","post","type-post","status-publish","format-standard","hentry","category-javascript","category-microsoft","category-quicklinks","category-software","category-svg","category-technology","category-web"],"_links":{"self":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/posts\/368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/comments?post=368"}],"version-history":[{"count":0,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/posts\/368\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/media?parent=368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/categories?post=368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/tags?post=368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}