[Vobject] vcard subcomponents

Nick Guenther kousue at gmail.com
Sat Apr 5 11:21:15 CDT 2008


Hi list,

(this is continuing on from
https://bugzilla.osafoundation.org/show_bug.cgi?id=11973 and
https://bugzilla.osafoundation.org/show_bug.cgi?id=11991 )


Hm. Maybe extra info would be helpful for both of us:

What I'm trying to do is turn gmail's contact cards into vCards. A
gmail contact has a name, an email address, a multiline note, and then
a list of extra contact information which is a name ("Personal",
"Work" etc) and then pairs (type, value) where type is like 'email',
'phone', 'IM' etc. and value is just some single line. I figured I
would use a subcomponent for each set of extra things. The way I
originally wrote the code (with with having c.add('personal').value =
subcomponent) was because I figured each subsection is named, and then
has subpieces.

How would you all arrange this? Am I using vCards right or do I have
some misconception about them?

-Nick


More information about the VObject mailing list