matt_jad
unread,Dec 14, 2011, 7:47:01 AM12/14/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-co...@googlegroups.com
I am using Zend to write a php script to sync our database with our gmail contacts.
All has been going well. I noticed however that using the xml that is sent via
$gdata = new Zend_Gdata($client);
$gdata->setMajorProtocolVersion(3);
$entry = $gdata->getEntry($query);
$xml = simplexml_load_string($entry->getXML());
If I want update a contacts using the xml, it does not have capabilities to update the "Notes" about the contact, which is a field in gmail. (a var_dump of $xml shows everything is available except the notes of the contact. Is there another way I can do it?
As an aside I also noticed that the contact details are sent as an array of phone/fax numbers with no way of identifying them, other than by which element in the array they exist in. If Google ever changes the order in which they occur it will result in our database containing incorrectly matched data. Any way I can check what field each phone-number is associated to.
Thanks in advance.