• 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;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

  • 相关阅读:
    机器学习基石笔记12——机器可以怎样学习(4)
    机器学习基石笔记11——机器可以怎样学习(3)
    机器学习基石笔记10——机器可以怎样学习(2)
    机器学习基石笔记9——机器可以怎样学习(1)
    机器学习基石笔记8——为什么机器可以学习(4)
    机器学习基石笔记7——为什么机器可以学习(3)
    转)C++中extern “C”含义深层探索
    CNN图像定位与物体探测_七月算法5月深度学习班第6次课程笔记
    Python 学习之Virtualenv
    电脑使用小技巧
  • 原文地址:https://www.cnblogs.com/GnagWang/p/1911408.html
Copyright © 2020-2023  润新知