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