vCard 格式

最近在做联系人的一些功能,当然是有必要了解一下vCard文件的格式,格式大致如下:

vCard 2.1:

   1:  BEGIN:VCARD
   2:  VERSION:2.1
   3:  N:Gump;Forrest
   4:  FN:Forrest Gump
   5:  ORG:Bubba Gump Shrimp Co.
   6:  TITLE:Shrimp Man
   7:  TEL;WORK;VOICE:(111) 555-1212
   8:  TEL;HOME;VOICE:(404) 555-1212
   9:  ADR;WORK:;;100 Waters Edge;Baytown;LA;30314;United States of America
  10:  LABEL;WORK;ENCODING=QUOTED-PRINTABLE:100 Waters Edge=0D=0ABaytown, LA 30314=0D=0AUnited States of America
  11:  ADR;HOME:;;42 Plantation St.;Baytown;LA;30314;United States of America
  12:  LABEL;HOME;ENCODING=QUOTED-PRINTABLE:42 Plantation St.=0D=0ABaytown, LA 30314=0D=0AUnited States of America
  13:  EMAIL;PREF;INTERNET:forrestgump@example.com
  14:  REV:20080424T195243Z
  15:  END:VCARD
vCard 3.0:
   1:  BEGIN:VCARD
   2:  VERSION:3.0
   3:  N:Gump;Forrest
   4:  FN:Forrest Gump
   5:  ORG:Bubba Gump Shrimp Co.
   6:  TITLE:Shrimp Man
   7:  PHOTO;VALUE=URL;TYPE=GIF:http://www.site.com/dir_photos/my_photo.gif
   8:  TEL;TYPE=WORK,VOICE:(111) 555-1212
   9:  TEL;TYPE=HOME,VOICE:(404) 555-1212
  10:  ADR;TYPE=WORK:;;100 Waters Edge;Baytown;LA;30314;United States of America
  11:  LABEL;TYPE=WORK:100 Waters Edge\nBaytown, LA 30314\nUnited States of America
  12:  ADR;TYPE=HOME:;;42 Plantation St.;Baytown;LA;30314;United States of America
  13:  LABEL;TYPE=HOME:42 Plantation St.\nBaytown, LA 30314\nUnited States of America
  14:  EMAIL;TYPE=PREF,INTERNET:forrestgump@example.com
  15:  REV:20080424T195243Z
  16:  END:VCARD

属性:

table width=632 height=1195 style="border-collapse:collapse;width:474.00pt;">

Name
Description
Semantic

N
Name
A structured representation of the name of the person, place or thing associated with the vCard object.

FN
Formatted Name
The formatted name string associated with the vCard object

PHOTO
Photograph
An image or photograph of the individual associated with the vCard

BDAY
Birthday
Date of birth of the individual associated with the vCard

ADR
Delivery Address
A structured representation of the physical delivery address for the vCard object

LABEL
Label Address
Addressing label for physical delivery to the person/object associated with the vCard

TEL
Telephone
The canonical number string for a telephone number for telephony communication with the vCard object

EMAIL
Email
The address for electronic mail communication with the vCard object

MAILER
Email Program (Optional)
Type of email program used

TZ
Time Zone
Information related to the standard time zone of the vCard object

GEO
Global Positioning
The property specifies a latitude and longitude

TITLE
Title
Specifies the job title, functional position or function of the individual associated with the vCard object within an organization (V. P. Research and Development)

ROLE
Role or occupation
The role, occupation, or business category of the vCard object within an organization (e.g. Executive)

LOGO
Logo
An image or graphic of the logo of the organization that is associated with the individual to which the vCard belongs

AGENT
Agent
Information about another person who will act on behalf of the vCard object. Typically this would be an area administrator, assistant, or secretary for the individual

ORG
Organization Name or Organizational unit
The name and optionally the unit(s) of the organization associated with the vCard object. This property is based on the X.520 Organization Name attribute and the X.520 Organization Unit attribute

NOTE
Note
Specifies supplemental information or a comment that is associated with the vCard

REV
Last Revision
Combination of the calendar date and time of day of the last update to the vCard object

SOUND
Sound
By default, if this property is not grouped with other properties it specifies the pronunciation of the Formatted Name property of the vCard object.

URL
URL
An URL is a representation of an Internet location that can be used to obtain real-time information about the vCard object

UID
Unique Identifier
Specifies a value that represents a persistent, globally unique identifier associated with the object

VERSION
Version
Version of the vCard Specification

KEY
Public Key
The public encryption key associated with the vCard object

vCard extensions

Extension
Used As
Data
Semantic

Extensions supported by several different programs.

X-ABUID
property
string
Apple
Address Book UUID for that entry

X-ANNIVERSARY
property
YYYY-MM-DD
arbitrary anniversary, in addition to BDAY = birthday

X-ASSISTANT
property
string
assistant name (instead of Agent)

X-MANAGER
property
string
manager name

X-SPOUSE
property
string
spouse name

X-GENDER
property
string
value "Male" or "Female"

X-AIM
property
string
Instant Messaging (IM) contact information; TYPE parameter as for TEL (I.e. WORK/HOME/OTHER)

X-ICQ
property
string
"

X-JABBER
property
string
"

X-MSN
property
string
"

X-YAHOO
property
string
"

X-SKYPE, X-SKYPE-USERNAME
property
string
"

X-GADUGADU
property
string
"

X-GROUPWISE
property
string
"

X-MS-IMADDRESS
property
string
" (IM address in VCF attachment from Outlook (right click Contact, Send Full Contact, Internet Format.)

X-MS-CARDPICTURE
property
string
Works as PHOTO or LOGO. Contains an image of the Card in Outlook.

X-PHONETIC-FIRST-NAME, X-PHONETIC-LAST-NAME
property
string
alternative spelling of name, used for Japanese names

introduced and used by Mozilla, also used by Evolution (software)

X-MOZILLA-HTML
property
TRUE/FALSE
mail recipient wants HTML email

introduced and used by Evolution (software)

X-EVOLUTION-ANNIVERSARY
property
YYYY-MM-DD
arbitrary anniversary, in addition to BDAY = birthday

X-EVOLUTION-ASSISTANT
property
string
assistant name (instead of Agent)

X-EVOLUTION-BLOG-URL
property
string/URL
blog URL

X-EVOLUTION-FILE-AS
property
string
file under different name (in addition to N = name components and FN = full name

X-EVOLUTION-MANAGER
property
string
manager name

X-EVOLUTION-SPOUSE
property
string
spouse name

X-EVOLUTION-VIDEO-URL
property
string/URL
video chat address

X-EVOLUTION-CALLBACK
TEL TYPE parameter value
-
callback phone number

X-EVOLUTION-RADIO
TEL TYPE parameter value
-
radio contact information

X-EVOLUTION-TELEX
TEL TYPE parameter value
-
Telex contact information

X-EVOLUTION-TTYTDD
TEL TYPE parameter value
-
TTY
TDD contact information

introduced and used by Kontact and KAddressBook

X-KADDRESSBOOK-BlogFeed
property
string/URL
blog URL

X-KADDRESSBOOK-X-Anniversary
property
ISO date
arbitrary anniversary, in addition to BDAY = birthday

X-KADDRESSBOOK-X-AssistantsName
property
string
assistant name (instead of Agent)

X-KADDRESSBOOK-X-IMAddress
property
string
im address

X-KADDRESSBOOK-X-ManagersName
property
string
manager name

X-KADDRESSBOOK-X-Office
property
string
office description

X-KADDRESSBOOK-X-Profession
property
string
profession

X-KADDRESSBOOK-X-SpouseName
property
string
spouse name

转载于:https://www.cnblogs.com/GnagWang/archive/2010/12/20/1911408.html

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/475789.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

c语言基本数据类型常量,C语言基础学习基本数据类型-变量和常量

变量和常量什么是变量和常量?有些数据在程序运行前就预先设定,并在运行过程中不发生变化,称之为常量;有些数据在程序运行中可能发生变化或被赋值,称之为变量。使用变量前必须先声明一个变量。变量定义的语法是&#xf…

C++ 下一代标准库 tr1中默认的哈希 FNV hash

FNV是 Glenn Fowler, Landon Curt Noll, and Phong Vo 三人的缩写。 FNV-1 哈希算法的核心思想如下: hash offset_basisfor each octet_of_data to be hashed hash hash * FNV_prime hash hash xor octet_of_data return hash实现源码 uint32_t fnv_hash…

LeetCode 416. 分割等和子集(动态规划)

1. 题目 给定一个只包含正整数的非空数组。 是否可以将这个数组分割成两个子集,使得两个子集的元素和相等。 注意: 每个数组中的元素不会超过 100 数组的大小不会超过 200 示例 1: 输入: [1, 5, 11, 5] 输出: true 解释: 数组可以分割成 [1, 5, 5] 和 [11].示例 …

c语言格式错误pe,C语言PE文件filebuffer到imagebuffer的错误

// 代码节空白添加.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include int FileBuffers(PVOID* FileBuffer){//传入的FileBufferLPVOID PtempBuffer;FILE* f fopen("C:\\Users\\Administrator\\Desktop\\PET…

2011年影响3G手机发展四大因素

今晨闻讯,中电信明年3季度将推出iPhone。据称CDMA版本的iPhone推出,对中国电信意义重大,售价会高于WCDMA版。联通、移动、电信争夺“苹果血案”将继续上演。 截止2010年12月31日,中国3G用户不超过5000万。而工信部落实3G发展规划是…

c语言字符数组实参 形参,c语言基础(3) 数组和指针作为实参和形参的问题

字符串char a[]"abc";printf("%s",a);fgets(a,100, stdin) //安全的字符串输入函数printf("%s",a);scanf("%*[^\n]"); //两个scanf清空输入缓存scanf("%*c");int 值作为实参 指针作为形参void xchange1(int *n1,int *n2)…

Feature Engineering 特征工程 1. Baseline Model

文章目录1. 读取数据2. 处理label3. 添加特征4. 数据集切片5. 训练6. 预测learn from https://www.kaggle.com/learn/feature-engineering下一篇:Feature Engineering 特征工程 2. Categorical Encodings 1. 读取数据 预测任务:用户是否会下载APP&…

[转载] 湖北:星空团队——海燕计划

2010-7-1 来源:网易科技报道 本文网址:http://tech.163.com/10/0701/16/6AH5MA4S00094II8.html 1.项目及团队名称:星空团队——海燕计划 2.所在的赛区、所在的城市、所属高校:湖北赛区、武汉、华中科技大学 3.所处的公益领域&…

c语言静态存储和动态存储,为了便于计算机存储管理,C语言把保存所有变量的数据区,分成动态存储区和静态存储区,静态局部变量被存放在动态存储区。...

在向旅游者致欢迎词时,便于保存变量部变地陪的态度要热情,感情要真挚,内容要依情而异,语言要( )计算机存据区静山西省总的地势是()。储管成动储区储区存放储区提出到2020年要将我国旅游业建设成国民经济的战略性支柱产业和人民群众…

Feature Engineering 特征工程 2. Categorical Encodings

文章目录1. Count Encoding 计数编码2. Target Encoding 目标编码3. CatBoost Encodinglearn from https://www.kaggle.com/learn/feature-engineering上一篇:Feature Engineering 特征工程 1. Baseline Model 下一篇:Feature Engineering 特征工程 3.…

基于Silverlight+WCF的SAAS开发平台TAP(二)之核心技术

1 核心技术 1.1 元数据 元素据是一个统称,从软件的展现角度来看窗体、页签、字段、从数据存储角度,包括表、列;从逻辑处理角度,包括处理、回调等,在TAP开发平台中会详细讲解各元素的定义与应用。 1.2 函数引擎 函数引擎…

c语言函数能改变指针吗,如何修改传递给C中函数的指针?

如果要这样做,则需要传入指向指针的指针。void barPush(BarList ** list,Bar * bar){if (list NULL) return; // need to pass in the pointer to your pointer to your list.// if there is no move to add, then we are doneif (bar NULL) return;// allocate s…

Feature Engineering 特征工程 3. Feature Generation

文章目录1. 组合特征2. 过去7天的数据3. 上一个相同类型的项目的时间4. 转换数值特征learn from https://www.kaggle.com/learn/feature-engineering上一篇:Feature Engineering 特征工程 2. Categorical Encodings 下一篇:Feature Engineering 特征工程…

C# 转繁体转简体转拼音,超级文本大转换

最近项目中遇到一个需求:把员工的中文姓名根据系统配置转换成中文简体或中文繁体。 原以为需要一个很大的一个简体和繁体相对应的字符对应表之类的东西。 后来发现,VB中就包含了这样的函数Strings.StrConv(this.TextBox1.Text.Trim(), VbStrConv.Traditi…

c语言程序stm8s,经典STM8s20实用C语言编程大全

经典STM8s20实用C语言编程大全我学单片机开门三砖总是要砸的。第一砖:电源系统,这没什么好说的,只是它是stm8工作的基础总是要提一下第二砖:时钟系统,这等下再说。第三砖:复位系统,stm8只需要一…

Feature Engineering 特征工程 4. Feature Selection

文章目录1. Univariate Feature Selection 单变量特征选择2. L1 regularization L1正则learn from https://www.kaggle.com/learn/feature-engineering上一篇:Feature Engineering 特征工程 3. Feature Generation 经过各种编码和特征生成后,通常会拥有…

分销平台使用手册

分销平台使用手册 分销商和供应商流程图 基本资料维护 1、分销联系人资料:包括:联系人;联系固话(手机号码);email;阿里旺旺(建议用已认证过的账号或商城店铺的阿里旺旺子账号&#x…

非常好的C语言章节习题集带答案,非常好的C语言章节习题集带答案选编.doc

非常好的C语言章节习题集带答案选编PAGE \* MERGEFORMAT 90第1章 认识C语言二、习题(一)、是非题1.程序是指挥计算机进行各种信息处理任务的一组指令序列。A.对 B.错2.机器语言与硬件平台相关,但汇编语言和硬件平台无关。A.对 B.错3.编译型高级语言明显优于解释型高…

LeetCode 662. 二叉树最大宽度(递归)

1. 题目 给定一个二叉树,编写一个函数来获取这个树的最大宽度。树的宽度是所有层中的最大宽度。这个二叉树与满二叉树(full binary tree)结构相同,但一些节点为空。 每一层的宽度被定义为两个端点(该层最左和最右的非…

生物信息考研C语言,四川大学生物信息学初试经验分享

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼关于生物学(656):我所用的教材是《陈阅增普通生物学》。以及陈增阅的普生的配套练习册。今年还加了两本参考书 动物生物学和植物生物学题型:1.选择(10个,每个2分) 2.判断(10个,每个2分…