VCard - Wikipedia
VCard - Wikipedia
vCard , cunoscut și ca VCF (Fișier de contact virtual), este un format standard de fișier pentru cărțile de vizită electronice .
Cardurile vCard pot fi atașate la mesajele de e-mail , trimise prin serviciul de mesagerie multimedia (MMS), pe World Wide Web ,
mesagerie instantanee , NFC sau prin cod QR . Acestea pot conține informații despre nume și adresă , numere de telefon , adrese
de e-mail , adrese URL , sigle , fotografii și clipuri audio.
hCard is a microformat that allows a vCard to be embedded inside an HTML page. It makes use of CSS class names to identify
each vCard property. Normal HTML markup and CSS styling can be used alongside the hCard class names without affecting the
webpage's ability to be parsed by a hCard parser. h-card is the microformats2 update to hCard.
MeCard is a variation of vCard made by NTT DoCoMo for smartphones using QR codes. It uses a very similar syntax, but in a
more consolidated way as the storage space on QR codes is limited. It's also limited in the amount of data that can be stored, not
just by the standard but the size of QR codes.
Exemplu
BEGIN:VCARD
VERSION:4.0
FN:Simon Perreault
N:Perreault;Simon;;;ing. jr,M.Sc.
BDAY:--0203
GENDER:M
EMAIL;TYPE=work:[email protected]
END:VCARD
This is the vCard for "Simon Perreault" (the author of RFC 6350), with his birthday (omitting the year), email address and gender.
Proprietăți
All vCards begin with BEGIN:VCARD and end with END:VCARD . All vCards must contain the VERSION property, which specifies
the vCard version. VERSION must come immediately after BEGIN , except in the vCard 2.1 and 3.0 standards, which allows it to
2.1: KEY;PGP:http://example.com/key.pgp
The public encryption key associated
2.1: KEY;PGP;ENCODING=BASE64:[base64-data]
with the vCard object. It may point to 3.0: KEY;TYPE=PGP:http://example.com/key.pgp
KEY Optional Optional Optional an external URL, may be plain text, or 3.0: KEY;TYPE=PGP;ENCODING=b:[base64-data]
keys:http://example.com/key.pgp
Base64 encoded block of text.
4.0: KEY:data:application/pgp-keys;base64,[base64-data]
KIND Undefined Undefined Optional Defines the type of entity that this KIND:individual
vCard represents: 'application',
'individual', 'group', 'location' or
Name Property presence Description Example
[2]
v. 2.1 v. 3.0 v. 4.0
Incorporated
Instead, this information is LABEL;TYPE=HOME:123 Main St.\nSpringfield,
LABEL Optional Optional
without stored in the LABEL IL 12345\nUSA
parameter of the ADR
property. Example:
ADR;TYPE=home;LABEL="123
Main St\nNew York, NY
12345":;;123 Main St;New
York;NY;12345;USA
ORG Optional Optional Optional The name and optionally the unit(s) of ORG:Google;GMail Team;Spam Detection Squad
the organization associated with the
vCard object. This property is based
on the X.520 Organization Name
Name Property presence Description Example
[2]
v. 2.1 v. 3.0 v. 4.0
2.1: PHOTO;JPEG:http://example.com/photo.jpg
3.0:
individual associated with the vCard.
PHOTO;TYPE=JPEG;VALUE=URI:http://example.com/photo.jpg
PHOTO Optional Optional Optional It may point to an external URL or
3.0: PHOTO;TYPE=JPEG;ENCODING=b:[base64-data]
may be embedded in the vCard as a
4.0:
Base64 encoded block of text. PHOTO;MEDIATYPE=image/jpeg:http://example.com/photo.jpg
4.0: PHOTO;ENCODING=BASE64;TYPE=JPEG:[base64-data]
PROFILE Undefined Optional Undefined States that the vCard is a vCard. PROFILE:VCARD
SOUND Optional Optional Optional FN property of the vCard object. It 3.0: SOUND;TYPE=OGG;ENCODING=b:[base64-data]
Vezi de asemenea
CardDAV
FOAF (ontology)
Referințe
Legături externe