On Mar 10, 10:26 am, Meir Rotstein <[email protected]> wrote: > I guess it's possible to read local xml with the _IG_FetchXmlContent > method, I just want to know what would be the url parameter that > should be given to the method?
Hi Meir, I'm afraid you've been misinformed. _IG_FetchXmlContent() retrieves XML by way of Google servers, so unless your "local xml" is accessible from the Internet, it won't work. Put another way, _IG_FetchXmlContent () requires an absolute URL, one that anybody on the 'net can access. > The xml file is currently in the same folder as the main.js file. One option you might consider is to create your own wrapper function, allowing you to easily switch between _IG_FetchXmlContent() and a conventional XHR as you move between live and development environments. The switch could be automated, based on document.location perhaps, or could be accomplished manually by commenting out one or the other. HTH, String --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
