日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

vCard 格式

發(fā)布時間:2023/12/20 编程问答 34 豆豆
生活随笔 收集整理的這篇文章主要介紹了 vCard 格式 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

最近在做聯(lián)系人的一些功能,當(dāng)然是有必要了解一下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

轉(zhuǎn)載于:https://www.cnblogs.com/GnagWang/archive/2010/12/20/1911408.html

總結(jié)

以上是生活随笔為你收集整理的vCard 格式的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。