-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Hi,
just updated to the latest version 0.28 and tried my Active Directory to vcf script again.
When specifying version => 3.0 the generated PHOTO tag is incorrect because it only accepts mime types
Wikipedia has a nice table of vCard attributes that show the 3.0 vs. 4.0 differences: https://en.wikipedia.org/wiki/VCard#Properties
To sum up: V3::Node::Image should have a type attribute accepting for example JPEG and outputting TYPE=JPEG vs. V4::Node::Image should behave as it already does (media_type attribute instead of type and MIME type validation and output).
It would make sense if you keep the Perl API as is (media_type attribute also for V3) but render differently. The advantage would be the ability to switch output versions with the same code.