Login to download the latest version of Mint and your favorite Pepper, purchase additional licenses, or post in the Forum. Don't have an account? Create one!

In Partnership with Media Temple

Mint Forum

Accessing Mint information Remotely

sixones
Minted
Posted on Feb 20, '07 at 07:23 pm

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?

Till
Third-Party Pepper Developer
Posted on Feb 21, '07 at 08:23 am

You have to write a Pepper.

sixones
Minted
Posted on Feb 21, '07 at 01:52 pm

Thanks Till thought that would be the case!

Is there any developers willing to help write a pepper? Is it actually possible to output information from a pepper to something other than Mint?

You must be logged in to reply. Login above or create an account