new.lds.org - Calendars - Import iCal Events

Discussions about the Calendar Tool at lds.org. Questions about the calendar on the classic site should be posted in the LUWS forum.
kennethjorgensen
Community Moderators
Posts: 414
Joined: Mon Sep 10, 2007 12:29 am
Location: Alnwick, UK

new.lds.org - Calendars - Import iCal Events

Postby kennethjorgensen » Wed Nov 24, 2010 7:15 am

Options -> Import iCal Events -> Import iCal File

Does anyone know where I can find details of the format supported by this functionality?

kyleq
Community Moderators
Posts: 288
Joined: Mon Aug 16, 2010 1:28 pm
Location: US

Supported iCal imports

Postby kyleq » Wed Nov 24, 2010 7:24 am

dkjorgi wrote:Options -> Import iCal Events -> Import iCal File

Does anyone know where I can find details of the format supported by this functionality?


You can find the spec and some more details about iCal at this Wikipedia link. Right now the church calendar supports importing iCal files from Outlook and Google Calendar. For a future release we are testing the import of iCal files from the legacy church calendar.

silid
Member
Posts: 70
Joined: Wed Jan 31, 2007 8:54 am
Location: United Kingdom

Postby silid » Wed Nov 24, 2010 7:51 am

I've been trying to import some ical files from Google today and they keep failing with the message:
We encountered an error with your ICS file. You may need to create a new ICS file, or try again later.


This has been happening even if I trim down the ical file to a single event.

Is this a known problem?

mzundel-p40
New Member
Posts: 33
Joined: Fri Jan 19, 2007 8:08 am

Postby mzundel-p40 » Mon Nov 29, 2010 8:50 am

This sure seems like a bug. I checked the Wiki and followed the information. I have tried a Google and Outlook 2007 calendar ical file to import for our stake calendar. Just as silid, I scaled down to 1 item. The tool won't import a file created from the calendar -- the one used for one-way sync.

This could save me a ton of time if it were working. As it is, I am spending a little over an hour for each month entering items on the calendar. The repeating function seems better than the old calendar, but I still have to double check because sometimes the dates float due to conflicts.

mzundel-p40
New Member
Posts: 33
Joined: Fri Jan 19, 2007 8:08 am

Sample file

Postby mzundel-p40 » Wed Dec 01, 2010 8:33 am

Here is sample file that I am trying to import. What am I doing wrong?

BEGIN:VCALENDAR
BEGIN:VEVENT
DTSTAMP:20101201T152728Z
DTSTART:20110101
SUMMARY:News Year's Day
UID:629958A
END:VEVENT
END:VCALENDAR

User avatar
aebrown
Community Administrator
Posts: 14689
Joined: Tue Nov 27, 2007 8:48 pm
Location: Sandy, Utah

Postby aebrown » Wed Dec 01, 2010 8:52 am

mzundel wrote:Here is sample file that I am trying to import. What am I doing wrong?

BEGIN:VCALENDAR
BEGIN:VEVENT
DTSTAMP:20101201T152728Z
DTSTART:20110101
SUMMARY:News Year's Day
UID:629958A
END:VEVENT
END:VCALENDAR


I don't know that you're doing anything wrong. But this issue does sound reminiscent of a problem reported with the LUWS calendar, as described here. For that issue, the absence of a DTEND element was a problem. Just for troubleshooting, you might try manually adding a DTEND and see if it makes a difference.
Questions that can benefit the larger community should be asked in a public forum, not a private message.

kisaac
Community Moderators
Posts: 1170
Joined: Sun Oct 21, 2007 5:04 am
Location: Utah, united states

Import not yet working?

Postby kisaac » Wed Dec 01, 2010 9:27 am

kyleq wrote:You can find the spec and some more details about iCal at this Wikipedia link. Right now the church calendar supports importing iCal files from Outlook and Google Calendar. For a future release we are testing the import of iCal files from the legacy church calendar.


No matter what I've tried, even a new google test calendar with a single event, I can't get my google calendar import to work. Has anyone?

If you've made it work, detail it!

User avatar
aebrown
Community Administrator
Posts: 14689
Joined: Tue Nov 27, 2007 8:48 pm
Location: Sandy, Utah

Postby aebrown » Wed Dec 01, 2010 10:17 am

mzundel wrote:Here is sample file that I am trying to import. What am I doing wrong?

BEGIN:VCALENDAR
BEGIN:VEVENT
DTSTAMP:20101201T152728Z
DTSTART:20110101
SUMMARY:News Year's Day
UID:629958A
END:VEVENT
END:VCALENDAR


Well, I did some experimenting, and found that your test file imports just fine -- after I make one change. I changed the DTSTART value to have a time; instead of simply 20110101 I made it 20110101T070000Z. (My previous suggestion about adding a DTEND turns out to be irrelevant.)

Of course, that doesn't sound like an appropriate limitation for all-day events. But perhaps it gives you a means to do some manual editing (hopefully with an editor that does smart search&replace using regular expressions) so that you can fix up your iCal file before you import it.
Questions that can benefit the larger community should be asked in a public forum, not a private message.

mstauff
Church Employee
Church Employee
Posts: 71
Joined: Thu Dec 02, 2010 9:25 am
Location: Lehi, UT USA

Postby mstauff » Thu Dec 02, 2010 9:45 am

I think the issue with that particular event as Alan_Brown noted is with the DTSTART field. According to the spec that field needs to either have a date & time or if it's just the date it should be formatted like:
DTSTART;VALUE=DATE:20101020

Did that event come from google or outlook? I've had success importing from both, didn't have to do anything special (other than fiddling with outlook to get the events that I wanted exported correctly).

As for the old calendar events, there's a couple of problems with the ical file it creates, so I don't know if it will ever work with the new ical import. There is the calendar setup wizard that was added in the last month or so that should allow you to convert all the old calendar events (that doesn't rely on the ical export from the old calendar). I think you have to be a stake or ward admin to have access to it, but I'm not sure exactly how the privileges work on that.

User avatar
aebrown
Community Administrator
Posts: 14689
Joined: Tue Nov 27, 2007 8:48 pm
Location: Sandy, Utah

Postby aebrown » Thu Dec 02, 2010 9:59 am

mstauff wrote:I think the issue with that particular event as Alan_Brown noted is with the DTSTART field. According to the spec that field needs to either have a date & time or if it's just the date it should be formatted like:
DTSTART;VALUE=DATE:20101020


Thanks for the tip. Indeed, that format does make the import work correctly.
Questions that can benefit the larger community should be asked in a public forum, not a private message.


Return to “Calendar”

Who is online

Users browsing this forum: jerrobertson and 1 guest