text-vcard icon indicating copy to clipboard operation
text-vcard copied to clipboard

Question: Support for CATEGORIES

Open michaelof opened this issue 4 years ago • 1 comments

Maybe I've missed it, but on meta:.cpan I haven't found support for CATEGORIES node: https://tools.ietf.org/html/rfc6350#section-6.7.1 Not implemented now or really RFTM? :-) Would be cool if existing, as e.g. nextcloud offers this as a perfect way to group contacts.

Michael

michaelof avatar Oct 07 '20 14:10 michaelof

Found out that my $catnode = $vcard->add_node( { 'node_type' => 'categories', } ); works, and that my $cats = $vcard->get( { 'node_type' => 'categories' } ); $cats->[0]->value(["catA", "catB"]); adds the "categories", but not RFC compliant: Must be COMMA as separator. Is a ";" as separator.

michaelof avatar Oct 07 '20 16:10 michaelof