{"id":531,"date":"2009-04-14T10:32:25","date_gmt":"2009-04-14T15:32:25","guid":{"rendered":"http:\/\/blog.codedread.com\/archives\/2009\/04\/14\/pluggable-svg\/"},"modified":"2009-04-14T10:32:25","modified_gmt":"2009-04-14T15:32:25","slug":"pluggable-svg","status":"publish","type":"post","link":"https:\/\/www.codedread.com\/blog\/archives\/2009\/04\/14\/pluggable-svg\/","title":{"rendered":"Pluggable SVG"},"content":{"rendered":"<p><object type=\"image\/svg+xml\" width=\"100\" height=\"100\" style=\"float:right\" data=\"http:\/\/codedread.com\/clipart\/svg.svgz\"><span\/><\/object><a href=\"http:\/\/www.schepers.cc\/\" title=\"Doug Schepers\">Mr. Schepers<\/a> put together a proposal entitled <a href=\"http:\/\/www.schepers.cc\/w3c\/svg\/params\/ref.html\">Referenced Parameter Variables in SVG<\/a>.  This would allow declarative access to parameters from a parent document.  <!--more--><\/p>\n<p>These types of proposals are actually just the sort of thing the <a href=\"http:\/\/www.w3.org\/2007\/11\/SVG_rechartering\/SVG-IG-charter.html\" title=\"W3C SVG Interest Group Charter\">SVG Interest Group<\/a> should be putting out there, and I've had this particular idea for awhile, though I never put it into any concrete proposal form.  I'd like to blame the fact that I ran into a <a href=\"http:\/\/www.w3.org\/Bugs\/Public\/show_bug.cgi?id=5846\">stumbling block<\/a> but that's not really true - it's mostly about priorities and time.  Doug walks it like he talks it.  That's why he's the <a href=\"http:\/\/codinginparadise.org\/weblog\/2009\/04\/svg-has-posse-and-his-name-is-doug.html\">SVG Posse<\/a>.<\/p>\n<p>I think Doug's proposal would be awesome for the web, allowing components to be reused by authors without requiring script or heavy technologies like XBL.  It could also save on document fetches if the 'component' is cached by the browser.  I could foresee technologies like ad servers using this (and I would prefer this over the script-based solutions that Google Adsense uses, for instance).<\/p>\n<p>I do have some questions for Doug:<\/p>\n<ol>\n<li>Which takes priority:  the html:object params or the URL parameters?  Based on your example, it seems you prefer the object params and I think I agree.<\/li>\n<li>Are there any issues when the character encoding is different from the referencing document to the embedded document (SVG)?<\/li>\n<li>How could I send in a parameter that includes both a single quote and a double quote?  Entities? Does this mean that &#60;param name=\"sandwich\" value=\"pb&#38;amp;j\" \/&#62; renders in SVG text as \"pb&#38;j\" ?<\/li>\n<li>How can I use this with svg:a elements?  Think about ad servers wanting to parameterize where a link goes. To me, this is a high priority.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Mr. Schepers put together a proposal entitled Referenced Parameter Variables in SVG. This would allow declarative access to parameters from a parent document.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25,46,11,28],"tags":[198],"class_list":["post-531","post","type-post","status-publish","format-standard","hentry","category-software","category-svg","category-technology","category-web","tag-svg"],"_links":{"self":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/posts\/531","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=531"}],"version-history":[{"count":0,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/posts\/531\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/media?parent=531"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/categories?post=531"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/tags?post=531"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}