vcard icon indicating copy to clipboard operation
vcard copied to clipboard

Multiple contacts

Open kossa opened this issue 5 years ago • 3 comments

Hello

There's a way to get a list of contacts on one vcard?

kossa avatar Dec 18 '18 18:12 kossa

I think yes, according to the specification. You can have 'RELATED'.

Eg. Let's say you have a person contact (Bob) and you want to add the mother, father, sister and brother to the contact Bob. https://tools.ietf.org/html/rfc6350#page-42

The value could be an URI (link to the other contact), UUID (internal identifier of a contact) or just text (eg. literally the full name of the brother of Bob for example).

Related available types are:

  • contact
  • acquaintance
  • friend
  • met
  • co-worker
  • colleague
  • co-resident
  • neighbor
  • child
  • parent
  • sibling
  • spouse
  • kin
  • muse
  • crush
  • date
  • sweetheart
  • me
  • agent
  • emergency

melroy89 avatar Dec 27 '18 20:12 melroy89

https://tools.ietf.org/html/rfc6350#page-42 is vcard version 4. The master branch is vcard version 3. Branch 2.0.0-dev is vcard version 4. 2.0.0-dev also has support for multiple vcards.

to-be-the-best avatar Dec 27 '18 21:12 to-be-the-best

@to-be-the-best Indeed, thanks for clarifying this.

melroy89 avatar Mar 08 '19 21:03 melroy89