To add a new contact, simply POST a new XML-encoded block to the feed URL. Listing 3 has an example of one such block.
要添加新联系人,只需POST一条新的XML编码的块到提要URL。
The image below shows what the page looks like after the Add button is clicked and the text fields are filled out to add a new contact.
下面的图显示了在单击 Add 按钮并填写好文本字段以添加一个新联系人之后,该页面显示的内容。
In the examples, you'll retrieve contacts from a user's address book, add new contacts, modify and delete contacts, and control the data returned in a contact feed.
在这些例子中,您将从用户的地址簿中检索联系人、添加新联系人、修改和删除联系人,以及控制联系人提要中返回的数据。
应用推荐