Browser Sniffing for MathML

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 UTC