polyglot html5 is to be served as xml (it's xhtml5 that's also HTML5 at the same time).
No problem there till you get to adsense ... the javascript seems to use document.write which is not supported by browsers when they get it served as xml.
Now there is a workaround, essentially it's adding an object in the xml and tellign it to load a separate file (much like an iframe does) as html (not as xml) and let that one load the adsense stuff.
I've been trying to get adsense support to
1. tell me that they do not have a version that does not use the obsolete document.write anymore - they have better programmers than this
2. to give their blessing on using the kludge with the object ... if they do not have it
no luck so far in getting a non canned response.
Anybody alse got through to those that do understand this at the 'plex ?
Ref:
polyglot html: [
webmasterworld.com...]
using an object to include adsense: [
robjinman.com...]
Thoughts ? Experience ?
[I'm not interested the xhtml vs HTML discussion]