W3C home > Mailing lists > Public > www-html@w3.org > December 2003

backwards compatibility solution (was: vague thing about grid tag)

From: Stephen Brooks <sb@stephenbrooks.org>
Date: Fri, 5 Dec 2003 21:07:28 -0000
Message-ID: <003801c3bb73$cc3d2be0$0302a8c0@WorkGroup>
To: "Lachlan Hunt" <lhunt07@netscape.net>
Cc: <www-html@w3.org>

--[if you have structured your document well with XHTML, and used other
appropriate markup such as SVG or MathML and provided substitutes, it
shouldn't matter that a UA doesn't support the latest technologies.]--

OK, now I think we are thinking in the same direction.  All I need is a way
of providing such substitutes that doesn't mean spending ages painstakingly
generating images.

How about...  I write a script that takes my non-downcoded XHTML+SVG+MathML,
detects the pieces of SVG and MathML inside it, then makes those into
separate files, calls Amaya on each one (assuming it can take a URI as a
commandline parameter), then screenshots the relevant piece of the window,
removes white padding, saves as PNGs and finally inserts <img ...> tags and
substitute logic into a modified version of the original file, which is then
saved?

Or is there a program to do that already?  (XML2PNG would be nice!)

    -Stephen
Received on Friday, 5 December 2003 16:07:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:59 GMT