Google Contacts API - 更新生日和周年纪念日
我正在尝试使用 API 更新我的 Google 联系人。 我知道通过 php,我们可以通过发布 XML 文件向联系人发送更新。
我不是 100% 确定 xml 应该是什么样子来容纳生日元素。 这就是我目前所拥有的。
<atom:entry xmlns:atom="http://www.w3.org/2005/Atom" xmlns:gd="http://schemas.google.com/g/2005">
<gd:name>
<gd:givenname>John</gd:givenname>
<gd:familyname>Doe</gd:familyname>
</gd:name>
<gd:birthday when="2011-09-09"></gd:birthday>
</atom:entry>
我不知道如何安排周年纪念(活动)。我似乎无法在网上找到任何有关此的文档。任何帮助将不胜感激。
I am trying to update my google contacts using the API.
I know through php we can send an UPDATE to the contact by posting a XML file.
I am not 100% sure what the xml is supposed to look like to house the birthday element.
This what I currently have.
<atom:entry xmlns:atom="http://www.w3.org/2005/Atom" xmlns:gd="http://schemas.google.com/g/2005">
<gd:name>
<gd:givenname>John</gd:givenname>
<gd:familyname>Doe</gd:familyname>
</gd:name>
<gd:birthday when="2011-09-09"></gd:birthday>
</atom:entry>
And I have NO Clue as to how to format the Anniversary (event). I can't seem to find any documentation on this online. Any help would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当我从 Google 通讯录中提取它时,它看起来像这样:
When I pull it from Google Contacts it looks like this: