Last I checked, XMLHTTPRequest only works within one domain. So a page retrieved from one domain can only make requests to that domain. An html document (and corresponding javascript) retrieved from a local file cannot communicate with anything but the localhost. Neither can a page from, say your website, communicate with openrico.org.
I just downloaded and toyed with the example. Everything worked fine except for the data transfer. The example requires some server-side functionality to work.
Notice this function in the html:
function registerAjaxStuff() {
ajaxEngine.registerRequest( 'getWeatherInfo', 'getWeatherInfoHTML.do' );
//some other stuff here I deleted
//registers HTML and javascript containers
//this here is our GET variable
$('zip').onkeydown = handleEnterKey.bindAsEventListener($('zip'));
}
getWeatherInfoHTML.do is a file requested, through code in rico.js, to a server handler (they are using a Java servlet). This is typically how you would implement a service (i.e. dynamically).
I haven't looked at the rico code, but I can tell getWeatherInfoHTML.do is just a url, because using it as such calls a revealing error. We need arguments to call the URL, else it returns nothing useful. Notice in the code above the zip variable? That's the argument we need to call. Try it out.
So, to get the example to work, we need only modify the URL handling for ajaxEngine.sendRequest(). This is done in ajaxEngine.registerRequest(). Things would work fine, but we still have to cross-domain limitation.
The PDF documentation is helpful. I should have read that first ;).