MGeoRSS and IE

Not sure where else to post this since MGeoRSS doesn’t seem to have its own list.

I’m using MGeoRSS for my current project at work because Google’s GeoRSS API doesn’t support local GeoRSS servers – yet!

I discovered today that MGeoRSS doesn’t work in IE “out of the box”. Here’s a fix:

======================
MGeoRSS.prototype.callback = function() {
    if (this.request.readyState == 4) {
        if (this.request.status == "200") {
            var xmlDoc= null;
            if (!isIE) {
Scientists recommend that a viagra sales australia  man should check his cholesterol and blood pressure level. Consume the dose approximately an hour before intending to make love, preferably on an empty stomach.  cialis uk Individuals who are concerned about their sexual disorder and want to educate themselves further about the causes and treatment of viagra 100 mg  ED. Male Edge Male Edge devices in UK are quite popular among men as they are viagra pfizer  available in various flavors like chocolate, vanilla, orange, and much more.                 xmlDoc = this.request.responseXML;
            } else {
                // use the IE/ActiveX XML parser
                xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
                xmlDoc.async="false"
                xmlDoc.loadXML(this.request.responseText);
            }
...
=========================

Hope this helps someone!

Leave a Reply

Your email address will not be published. Required fields are marked *