Hi,
I have got some errors when i try to use remote content (html page)...

Here is the page: http://ondas.cptec.inpe.br/~rondas/mares/30725jan2009.shtml

I want to use dom object, to navigate the html page and extract the
information.

My code:

      function makeDOMRequest() {
        var params = {};
        params[gadgets.io.RequestParameters.CONTENT_TYPE] =
gadgets.io.ContentType.DOM;
        var url = "http://ondas.cptec.inpe.br/~rondas/mares/
30725jan2009.shtml";
        gadgets.io.makeRequest(url, response, params);
      }

      function response(obj) {
        var domdata = obj.data;
        document.getElementById("tide").innerHTML =
domdata.getElementById("tb3").nodeValue;
      }

The error:

Error: undefined entity
Source File: http://ig.gmodules.com/gadgets....
Line: 4, Column: 18
Source Code:
<title>Portal Oce&acirc;nico</title>
------------------------

What's is the problem with the "&acirc;"?
There is some parameter to ignore this kind of error?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iGoogle Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Gadgets-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to