W3C home > Mailing lists > Public > www-math@w3.org > November 2005

Browser Sniffing for MathML

From: Bruce R Miller <bruce.miller@nist.gov>
Date: Tue, 22 Nov 2005 18:40:08 -0500
Message-ID: <4383AC58.4020308@nist.gov>
To: www-math@w3.org

Hi all;
 I'm working on a project where both MathML and math images will
be available, but the selection _really_ needs to be automatic;
a `gateway' page, or similar, would be extremely awkward; 
standard `content negotiation' doesn't really see mathml support....
So, I'm apparently stuck with browser sniffing.

I suppose most who've thought about it have encountered the
"^Mozilla/5.*" and "^.*MathPlayer.*" patterns, but they really
aren't quite right (many versions of Mozilla w/o MathML, esp
Mac, until just recently;  does MathPlayer 1 get matched?....)

Has anyone collected a more comprehensive set of patterns that
they are willing to share?  Googling didn't find me much.
(other than other people whining :>)

Alternatively, would it be worth my setting up a test page that
would sniff against an evolving set of patterns?  If people
visited the page & told me whether the mathml support was
correctly recognized, I could develop a set of patterns to share.

Of course, if there's a compelling alternative I've missed... Do tell!

Thanks
-- 
--
bruce.miller@nist.gov
http://math.nist.gov/~BMiller/
Received on Tuesday, 22 November 2005 23:40:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 February 2010 06:12:58 GMT