Well, the Feeds API does NOT utilize an XMLHttpRequest object. Rather, it uses 
a method called JSONP because of the cross-domain nature of the API. 
Essentially, it dynamically creates a script element to append to the document 
head, sending the various parameters to Google's servers through the url 
provided in that element's src attribute. The server then constructs a line of 
Javascript which is returned to the browser and executed. So you know that, 
when the callback executes, you've received the complete response.

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com
[email protected]

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!

On Apr 17, 2010, at 8:26 AM, Kevin_Blogs wrote:

> Is there any one who knows about the how to check the result return by
> google ajax feed api ?
> 
> I am using this feed control method : 
> http://code.google.com/apis/ajaxfeeds/documentation/#FEEDCONTROL
> 
> What i want to know is how can i make sure return feed data by AJAX is
> completely received by client. i.e. this method must be using Object
> return by GetXmlHttpObject() to get feed data. Now how can i know the
> object name that is created by GetXmlHttpObject().
> 
> I want to check something like:
> 
> if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
> {
>   // data received successfully
> }
> 
> so that i can know when the complete feed data is available.
> 
> Any idea to do this ...
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google AJAX APIs" 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-ajax-search-api?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" 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-ajax-search-api?hl=en.

Reply via email to