Msg#: 4539570 posted 10:36 pm on Jan 26, 2013 (gmt 0)
polyglot html5 is to be served as xml (it's xhtml5 that's also HTML5 at the same time).
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 ?
Why can't Google engineers just learn to program without document.write() ... innerHTML guys ... And why can't adsense support work like they should ... actually answer things and be knowledgeable about their own crap.
in the end it seems like it's not going to happen. I'll probably end up serving the content as html ... which is against the standards ... thanks Google , thanks Microsoft ... I will remember.
Or maybe use the included object if the browser understands xml and use the normal code if the browser only supports html and no xml -IE does that-. But it means all pages have to be server side scripted ... which they have no need to be for any other reason in most cases.