Hello everyone!
Im currently working on a Mint firefox extension, pretty much the same as the Apple dashboard widget but in firefox (and works on linux + windows)
I’ve hit a massive problem though, i’ve used the same way that Shaun used to access the information, the only trouble is a firefox extension cannot write a new element to the browser content window (and since the rest of the extension is wrote in XUL) so i cannot use the returned html as part of the dom.
I would use the responseXML member from the XMLHttpRequest but i cant because the returned document from Mint has the encoding type of html rather than xhtml+xml or xml
So basically im in a bit of pickle!! Is it possible to access information from mint in an xml format or does anyone know a clever trick to convert html to xml in javascript? (i’ve tried DomParser, it doesnt like the content type)
Or if i wrote a Pepper, could i use the pepper to output information i can then access from the firefox extension?