Hi KP,

 

To get the next 250 you need the start index:

 

http://www.google.com/base/feeds/snippets?bq=[item_type:vehicles][make:honda
]
<http://www.google.com/base/feeds/snippets?bq=%5bitem_type:vehicles%5d%5bmak
e:honda%5d&max-results=250&start-index=251> &max-results=250&start-index=251

 

use Zend setStartIndex.

 

Phil

 

 

 

From: [email protected]
[mailto:[email protected]] On Behalf Of KrantiParisa
Sent: 15 December 2010 16:25
To: Google Base Data API
Subject: -----SPAM----- [Google-Base-API] Fetching more than 250 results
from Snippets Feed

 

Hi,

I am trying to get the data from google base for Vehicles type and for
the make: honda using the following query

http://www.google.com/base/feeds/snippets?bq=[item_type:vehicles][make:honda
]&max-results=250

And I got the xml output showing
<openSearch:totalResults>221821</
openSearch:totalResults><openSearch:startIndex>1</
openSearch:startIndex><openSearch:itemsPerPage>250</
openSearch:itemsPerPage>

How could I get the next 250 results which shouldn't match with the
first set of 250 results.

I am using Zend PHP client library to loop the results to parse the
output xml.

Thanks, KP

--
You received this message because you are subscribed to the Google Groups
"Google Base Data API" 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-base-data-api?hl=en.

  _____  

No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1170 / Virus Database: 1435/3321 - Release Date: 12/17/10

-- 
You received this message because you are subscribed to the Google Groups 
"Google Base Data API" 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-base-data-api?hl=en.

Reply via email to