I've been running into what seems like the same sort of issue in trying to put SVG content in Moodle pages. inline, <object> and <iframe> don't seem to work and <embed> has some troubles as well (including lack of fallback). I had forgotten about <img>, so will be interested in trying that.
cheers David ----- Original Message ----- From: "Jacob Beard" <jbea...@cs.mcgill.ca> To: "svg-developers" <svg-developers@yahoogroups.com> Sent: Thursday, September 30, 2010 6:28 PM Subject: Re: [svg-developers] Re: Including SVG in RSS > Hi Jeff, > > Thanks for the reply. It does seem Sam Ruby includes inline SVG in his > Atom feed. Unfortunately, the inline SVG does not seem to be rendered > Google Reader. It seems img tags are probably the best way to go, > then, although I wish there was a way in markup to provide a fallback > to a solution that is supported by more browsers, such as the object > tag. Just to be clear, I think the problem here is in the RSS readers' > overzealous scrubbing of certain kinds of content, which unfortunately > includes SVG content. > > Best, > > Jake > > On Thu, Sep 30, 2010 at 6:09 PM, jeff_schiller > <jeff_schil...@hotmail.com> wrote: >> >> >> >> Hi Jacob, >> >> Sam Ruby has been including SVG inline in his Atom feed for years now. I >> have no idea about the rules for doing this in RSS, so I would Atom for >> this task. >> >> On my own blog, I have recently switched over to using <img> tags >> referencing SVG elements since the set of browsers that do not support >> that is now rapidly dwindling with IE 9 and Firefox 4 imminent releases. >> I was pleased to see my clipart start to show up in Google Reader (when >> using a browser that supported SVG-in-img). >> >> Regards, >> Jeff >> >> --- In svg-developers@yahoogroups.com, Jacob Beard <jbea...@...> wrote: >> > >> > Hi, >> > >> > I've been interested in including SVG on my Wordpress blog for some >> > time now. While it's not too difficult to embed SVG in a post using >> > the object tag, object is not considered a "safe" tag to be included >> > in RSS. For example, Google Reader will remove the tag from the post, >> > and Facebook will not import the post at all. I'm wondering if anyone >> > has any experience with this, and if there's a way to include SVG >> > content in posts imported by Google Reader or Facebook. I'm thinking >> > that using an HTML img tag referencing the SVG document might work, >> > but of course this then limits support to browsers which support >> > referencing SVG from an image tag. My feeling is that inline SVG would >> > be likely to get scrubbed like the object tag. >> > >> > If anyone has any insight into this, I'd greatly appreciate it if you >> > could let me know. >> > >> > Thanks, >> > >> > Jake >> > >> >> > > > ------------------------------------ > > ----- > To unsubscribe send a message to: > svg-developers-unsubscr...@yahoogroups.com > -or- > visit http://groups.yahoo.com/group/svg-developers and click "edit my > membership" > ----Yahoo! Groups Links > > > > > ------------------------------------ ----- To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ----Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: svg-developers-dig...@yahoogroups.com svg-developers-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/