What was the URL the Zend framework accessed for obtaining your items? Debugging in the gdata->getGbaseItemFeed($query) should yield the result.
Can you try to reproduce the same behavior using the demo page from here: http://www.google.com/base/api/demo/html/demo.html ? (1) insert the items (2) go to the demo page, click on "get new single-use..." and then click on "upgrade single use token..." (3) do a query for items. Do you see your items coming back or not? To add more information: if you query /items you'll get all your items, no matter if they are searchable or not. But if you add a query to the /items (e.g. http://www.google.com/base/feeds/items?bq=digital+camera ) then Base will return only the items that are searchable. It kinda makes sense that if you specify a query you'll get only what's searchable. Let me know if it helped. Alex On Wed, Mar 25, 2009 at 3:35 AM, Elliott <[email protected]> wrote: > > Using the Zend/PHP client library, I accessed the Google Base items > feed a few minutes after I had inserted several new items. None of the > items were visible. When I logged in to the GBase dashboard, all of > the items were visible under the designation "Published...and > searchable soon." Yet they were not visible through the items feed, > which I accessed via the Zend Framework API. > > Several hours later, I found that 71 of the newly added products were > visible through the items feed. When I examined the through the > dashboard, this was exactly the number of products which had been > changed from "Published...and searchable soon" to "Published and > searchable". > > It was my understanding that all products should be visible on the > items feed immediately after being added. Is there any reason this > should not be the case? > > Here is the code I used. I appreciate any suggestions. > > $httpClient = Zend_Gdata_ClientLogin::getHttpClient($user, > $pass,'gbase'); > $gdata = new Zend_Gdata_Gbase($httpClient); > $query = $gdata->newItemQuery(); > $query->setMaxResults('250'); > try { > $feed = $gdata->getGbaseItemFeed($query); > } catch (Zend_Gdata_App_Exception $e) { > $google->failed[] = "Unable to engage Items Feed. ". $e->getMessage > (); > } > foreach ($feed->entries as $entry) { > //do something with the data > } > > > Thanks, > Elliott > > > -- Alex Dovlecel, Google Switzerland GmbH Company Identifikationsnummer: CH-020.4.028.116-1 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
