Skip to content

Does not parse Apples vCard very well #23

@markhughes

Description

@markhughes

This is the output from Apples vCard, I believe it's because of using items.

Array
(
    [0] => Array
        (
            [LastName] => 
            [FirstName] => 
            [AdditionalNames] => 
            [Prefixes] => 
            [Suffixes] => 
        )

)
Array
(
    [0] => Array
        (
            [Value] => 1-800-MY-APPLE
            [Type] => Array
                (
                    [0] => main
                    [1] => pref
                )

        )

)

For example, it uses item1.ADR instead of just ADR

 item1.ADR;type=WORK;type=pref:;;1 Infinite Loop;Cupertino;CA;95014;United States
 item1.X-ABADR:us

However, we don't even get the address out of it.

This pastebin contains the contents of the card: http://pastebin.com/mdsHFVv6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions