-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parse multiple cards in one file #10
Comments
Thanks @gaetgu for the feedback! @skalee @abunashir do you have a bit of time for this? Thanks! |
@ronaldtse Note that if have to change types of some return values (object -> array of objects), this will be a breaking change. |
New method that allows parsing 1 (card) vs 1 (collection of cards)? |
Hmm, yes, that will do the trick. Also I wonder if:
I suppose the answer "yes if it is reasonably doable", but I don't know if these are real-life cases. Especially mixing VCard and iCalendar files — although I can imagine that from technical point of view, this is not defined in the standards, and these formats are expected to use different MIME types. |
Technically they are acceptable (and there is no ambiguity), because the vCard/iCalendar specifications do not actually specify what it means to be a collection.
Mixed vCard versions; mixed vCard + iCalendar objects => both not practical cases. |
Hello, thanks for creating this gem!
I was playing around with it and I noticed that if I used multiple VCards in one file, it would throw an error.
I have several (more than a hundred) VCards and I really don't want to create an individual file for each VCard, so is there any way to just parse them all in one file? Thanks a lot!
Error output:
The text was updated successfully, but these errors were encountered: