Hey Sting, 10x for the answer.

Could you please be more clear with your idea? this area is new for me and
I'm not sure I've understand you correctly, a simple code sample will be
great too.
also, is there's any official way to read local files with javascript based
on the google desktop frwk (it sounds like a very basic ability..)?

Thanks,
Meir.

On Wed, Mar 11, 2009 at 10:34 AM, String <[email protected]>wrote:

>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to