Jeff just put up some web stats made pretty by graphs done with SVG. He's also got a way of embedding SVG into an HTML page that shows up in most browsers. For many browsers an object element is enough but Internet Explorer with Adobe SVG Viewer 3 requires an embed tag to work properly. I think that's the gist of it. Jeff's got a good snippet of code to handle this, but it's kind of ugly and not convenient to use in a blog post.
If you want to see it, click here to get the source.
To use the plugin, copy the PHP file into your WordPress plugins directory and rename it to svginlay-tag.php (just take off the '.txt' extension). Then go in to your admin panel and activate it. Now you can use the <svginlay /> tag in your posts. The syntax immitates HTML but it might be more fragile: <svginlay src='document.svg' nosvg='Text to display if SVG is unavailable.' [additional attributes] />
Here's an example of how to use it:
<svginlay xsrc="/files/2005/effects-tutorial-1-step-9.svg" src="/files/2005/effects-tutorial-1-step-9.svg" nosvg="failed" class="mosvg" style="width: 80%; height: 400px;border: 1px blue solid;" />
In this example, a user without SVG would see the red border of the div with the text "failed" in it. View the source of this page to see the code that's inserted.
One thing I really want to add is more complete handling for alternate content. I don't see a way with this version to put in a static image for viewers without SVG. If I get it soon then I'll update here. Any suggestions are also welcome.
And finally, why 'inlay'? Because all the other good words were taken.