Kozea / Radicale

A simple CalDAV (calendar) and CardDAV (contact) server.
https://radicale.org
GNU General Public License v3.0
3.29k stars 429 forks source link

Multiple vCards in one vcf File/Multiple vEvents in one ics File #852

Open SteveW94 opened 6 years ago

SteveW94 commented 6 years ago

Hi,

i try to export my contacts and my calendar from my mobile/google account to radicale as one vcf/ics file. But as soon as radicale detects more than one contact or event in one of the two files, it seems to refuse parsing.

I really dont wanna have one extra file for each event or contact, and ideally just want to copy paste the ics-File from the google-calendar export into my radicale folder.

How can I manage to get radicale to parse multiple Contacts/Events in one file?

Thanks! :)

Tntdruid commented 6 years ago

I use https://emclient.com/ did 1 file whit over 50 contacts whit no problem

SteveW94 commented 6 years ago

Hmm...then maybe you could tell me then why e.g the following is parsed fine:

BEGIN:VCARD PROFILE:VCARD VERSION:3.0 FN:First Person N:Person;First;;; ORG:; CLASS:PUBLIC REV;VALUE=DATE-TIME:2018-08-06T10:46:49,147Z END:VCARD

And as soon as I have two Elements in this file radicale fails with the message "Content contains 2 components" (Why is this an Error anyway? Two components is what I intended to have?):

BEGIN:VCARD PROFILE:VCARD VERSION:3.0 FN:First Person N:Person;First;;; ORG:; CLASS:PUBLIC REV;VALUE=DATE-TIME:2018-08-06T10:46:49,147Z END:VCARD BEGIN:VCARD PROFILE:VCARD VERSION:3.0 FN:Test Person N:Person;Test;;; ORG:; CLASS:PUBLIC REV;VALUE=DATE-TIME:2018-08-06T10:46:49,147Z END:VCARD

Thanks for Help

skorokithakis commented 6 years ago

I have the same problem, although with a different use case. With Radicale 1.x.x, I could just wget various calendars from Facebook/Meetup.com/etc and they showed up on my phone. With this change, I can't see them any more, which removes a huge benefit for me.