[Vobject] Custom Labels

Dustin Davis dustin at sendoutcards.com
Tue Nov 24 13:07:34 CST 2009


Below is an example contact in Mac's address book:

BEGIN:VCARD
VERSION:3.0
N:Doe;John;;;
FN:John Doe
ORG:MyCompany LLC;
EMAIL;type=INTERNET;type=WORK;type=pref:john at sample.com
TEL;type=WORK;type=pref:555-1234
TEL;type=CELL:555-4321
item1.ADR;type=WORK;type=pref:;;555 John Doe Cir;Beverly Hills;CA;90210;US
item1.X-ABADR:us
NOTE:Sample contact for testing.
BDAY;value=date:1998-12-31
X-AIM;type=WORK;type=pref:johndoe
item2.X-JABBER;type=pref:john.doe
item2.X-ABLabel:Facebook
item3.X-JABBER:john.doe at gmail.com
item3.X-ABLabel:Google Talk
X-ABUID:1B7E05B4-69BD-4725-B464-88346C67AFB0\:ABPerson
END:VCARD


Notice there are some records spanned across multiple lines. Can vobject 
replicate this? I would like to be able to implement custom labels like so:

item(n).X-JABBER:jabber at jabber.com
item(n).X-ABLABEL:MyCompany's Jabber

Is this currently possible?


More information about the VObject mailing list