Giter Club home page Giter Club logo

Comments (6)

kelseykm avatar kelseykm commented on August 30, 2024 1

Fully supported as from v3.0.0, in both parsing and generating.

from vcard4.

kelseykm avatar kelseykm commented on August 30, 2024

Please clarify what you mean.

from vcard4.

MarcelWaldvogel avatar MarcelWaldvogel commented on August 30, 2024

The explanation of property groups in RFC6350:

The [property] group construct is used to group related properties together. The group name is a syntactic convention used to indicate that all property names prefaced with the same group name SHOULD be grouped together when displayed by an application. It has no other significance. Implementations that do not understand or support grouping MAY simply strip off any text before a "." to the left of the type name and present the types and values as normal.

It is e.g. used for grouping properties where e.g., TYPE=home|work is not powerful enough. Here is an example where a person has two different work numbers:

BEGIN:VCARD
VERSION:4.0
FN:Jane Doe
1.ORG;TYPE=work:ACME\, Inc.
1.TEL;TYPE=work:+1 234 555 0000
2.ORG;TYPE=work:Roadrunner\, Inc.
2.TEL;TYPE=work:+1 999 555 0000
END:VCARD

from vcard4.

kelseykm avatar kelseykm commented on August 30, 2024

Oh...had missed that part. I'll work on it.

from vcard4.

MarcelWaldvogel avatar MarcelWaldvogel commented on August 30, 2024

In the simplest case, just drop things up to the first dot, as the RFC suggests.

from vcard4.

kelseykm avatar kelseykm commented on August 30, 2024

In the simplest case, just drop things up to the first dot, as the RFC suggests.

Yeah, that's what I've decided to do because the parser is not made with an intention of displaying anything to an end-user but to aid in programmatically accessing vCard properties and values

from vcard4.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.