Skip to content

version 3.0 photo mediatype incorrect #29

@abraxxa

Description

@abraxxa

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions