Hi, I am using Feed API (v1) in my android application to read some 
feeds. Currently I poll the feed API once a hour, is there a way to know if 
the result is not modified. I am using

url = new 
URL("http://ajax.googleapis.com/ajax/services/feed/load?v=1.0&q={feedurl}&num="; 
+ 20);
HttpURLConnection httpCon = (HttpURLConnection) url.openConnection();
long date = httpCon.getLastModified();

But the date is 0. Is it possible to look for 304 status from Feed API, 
this would greatly improve the performance and bandwidth.

The second question is about caching. There are some feeds that are not 
updated frequently by Feed API. Is there a way to ping FeedAPI (inside the 
Android app) to notify the feed is updated? If not, is there a way that the 
publisher of the feed can ping Feed API about the update? Thanks a lot.

-- 
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
google-ajax-search-api@googlegroups.com
To unsubscribe from this group, send email to
google-ajax-search-api+unsubscr...@googlegroups.com
To view this message on the web, visit
https://groups.google.com/d/msg/google-ajax-search-api/-/JmdMNSKwvW0J
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en

Reply via email to