Exporting and importing Vcard(导出和导入 Vcard)
问题描述
我想允许用户将他们的联系人(电子邮件)导入我的 php 应用程序.我正在考虑 vcard 格式,因为大多数手机都允许导出 vcard.现在我有一些疑问
I want to allow users to import their contact(email) into my php application. I am considering vcard format as most mobile phones allow vcard export. Now i have a few doubt
iphone, android, blackberry, symbian 是否允许导出为 vcard,并且所有的 vcard 格式都是一样的.
Do iphone, android, blackberry, symbian allow export as vcard and is the vcard format same by all.
您也可以导出 Gmail 联系人电子名片,格式也一样
Also u can export Gmail contacts vcard is that too in same format
你可以将苹果邮件、outlook、雷鸟联系人导出为电子名片
Can u export apple mail, outlook, thunderbird contacts as vcard
推荐答案
我认为如果他们遵守标准(不能确定没有足够幸运拥有所有这些设备),那么是的,他们应该导出相同的.
I would think that if they abide with the standard (Cant be sure as not lucky enough to own all those devices) then yes they should export the same.
来自 http://en.wikipedia.org/wiki/VCard
以下是包含一个人信息的 VCard 文件示例:
The following is an example of a VCard file containing information for one person:
vCard 2.1:
BEGIN:VCARD
VERSION:2.1
N:Gump;Forrest
FN:Forrest Gump
ORG:Bubba Gump Shrimp Co.
TITLE:Shrimp Man
TEL;WORK;VOICE:(111) 555-1212
TEL;HOME;VOICE:(404) 555-1212
ADR;WORK:;;100 Waters Edge;Baytown;LA;30314;United States of America
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:100 Waters Edge=0D=0ABaytown, LA 30314=0D=0AUnited States of America
ADR;HOME:;;42 Plantation St.;Baytown;LA;30314;United States of America
LABEL;HOME;ENCODING=QUOTED-PRINTABLE:42 Plantation St.=0D=0ABaytown, LA 30314=0D=0AUnited States of America
EMAIL;PREF;INTERNET:forrestgump@example.com
REV:20080424T195243Z
END:VCARD
vCard 3.0:
BEGIN:VCARD
VERSION:3.0
N:Gump;Forrest
FN:Forrest Gump
ORG:Bubba Gump Shrimp Co.
TITLE:Shrimp Man
PHOTO;VALUE=URL;TYPE=GIF:http://www.example.com/dir_photos/my_photo.gif
TEL;TYPE=WORK,VOICE:(111) 555-1212
TEL;TYPE=HOME,VOICE:(404) 555-1212
ADR;TYPE=WORK:;;100 Waters Edge;Baytown;LA;30314;United States of America
LABEL;TYPE=WORK:100 Waters Edge
Baytown, LA 30314
United States of America
ADR;TYPE=HOME:;;42 Plantation St.;Baytown;LA;30314;United States of America
LABEL;TYPE=HOME:42 Plantation St.
Baytown, LA 30314
United States of America
EMAIL;TYPE=PREF,INTERNET:forrestgump@example.com
REV:20080424T195243Z
END:VCARD
vCard 标准的 2.1 版得到电子邮件客户端的广泛支持.vCard 格式的 3.0 版是 IETF 标准跟踪提案,包含在 RFC 2425 和RFC 2426.
Version 2.1 of the vCard standard is widely supported by e-mail clients. Version 3.0 of the vCard format is an IETF standards-track proposal contained in RFC 2425 and RFC 2426.
这篇关于导出和导入 Vcard的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:导出和导入 Vcard
基础教程推荐
- Libpuzzle 索引数百万张图片? 2022-01-01
- 在多维数组中查找最大值 2021-01-01
- 如何在 PHP 中的请求之间持久化对象 2022-01-01
- 在 Woocommerce 中根据运输方式和付款方式添加费用 2021-01-01
- WooCommerce 中选定产品类别的自定义产品价格后缀 2021-01-01
- 在 PHP 中强制下载文件 - 在 Joomla 框架内 2022-01-01
- XAMPP 服务器不加载 CSS 文件 2022-01-01
- 超薄框架REST服务两次获得输出 2022-01-01
- 通过 PHP SoapClient 请求发送原始 XML 2021-01-01
- mysqli_insert_id 是否有可能在高流量应用程序中返回 2021-01-01