Comments (6)
Fully supported as from v3.0.0, in both parsing and generating.
from vcard4.
Please clarify what you mean.
from vcard4.
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.
Oh...had missed that part. I'll work on it.
from vcard4.
In the simplest case, just drop things up to the first dot, as the RFC suggests.
from vcard4.
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)
- Safari IOS and MacOS. Unexpected private name #validate. HOT 5
- Support parsing multiple vCards in a single file HOT 3
- Accept "\r\n\t" for line continuation
- "npm run test" fails due to private class fields HOT 3
- Accept bare newlines as well HOT 1
- No support for escaped backslashes in parser HOT 3
- Typings are wrong HOT 1
- ExtendedProperty in d.ts has 2 parameters only, missed prop: string HOT 1
- Issue attaching base64 images HOT 20
- Gender identity HOT 1
- Constructor not accept Groups
- It would be helpful to have charset support included, even if it's added to AnyParameter. HOT 4
- [Bug] A hyphen is used after 'X-' in an ExtendedProperty, an 'Invalid property for ExtendedProperty' error occurs
- round trip test case HOT 2
- Backwards compatible with 3.0 cards? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vcard4.