Hi, 
I have a code which changes existing fields as to me to add new a field for 
example phone or the address in contact and to remove existing fields

        $query = new 
Zend_Gdata_Query('http://www.google.com/m8/feeds/contacts/###/base/4bfcf83a0a493676');
        $entry = $gdata->getEntry($query);
        $xml = simplexml_load_string($entry->getXML());
        $xml->name->givenName = 'Alexey_kg';
        $extra_header = array('If-Match'=>'*');
        $entryResult = 
$gdata->updateEntry($xml->saveXML(),$entry->getEditLink()->href,null,$extra_header);

-- 
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles APIs" 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://code.google.com/apis/contacts/community/forum.html

Reply via email to