sugarcalendar-core icon indicating copy to clipboard operation
sugarcalendar-core copied to clipboard

Add ability to import events from other calendars

Open gspice opened this issue 5 years ago • 5 comments

Requested in HS today: https://secure.helpscout.net/conversation/1067356932/144008?folderId=1909452

Can Sugar import from other calendars? -- Can Sugar Calendar import events from Modern Tribe Events and/or Google Calendars?Also, can it handle several thousand events?I have an extensive collection of holidays and special days. It would be a pain in my wrist to have to enter them one by one. :)

gspice avatar Jan 28 '20 23:01 gspice

Another request: https://secure.helpscout.net/conversation/1086141327/145821?folderId=1909447

I'm really tired of how bloated TEC is and would love to try yours but I also have thousands of events. Is it possible to migrate them?

pippinsplugins avatar Feb 17 '20 20:02 pippinsplugins

Our iCalendar-to-PHP project will be the way forward for doing this in Sugar Calendar proper:

https://github.com/sugarcalendar/icalendar-to-php

A few things that will need to be sorted out when development on this starts:

  • Is this simply a single import, or is the expectation that it also do subscribing & syncing?
  • How do we handle duplicate imports (ideally avoiding them by UUID, but this needs to be confirmed with testing) - Do we delete the original and trust the new, or keep the original?
  • Do we import all data into eventmeta (even for things like recurring Events when someone does not have Advanced Recurring active) or do we omit data we know will not work on the current installation without the proper add-ons active?
  • Is an import via an iCalendar feed only, acceptable? Or do we want to write PHP migrators from other WordPress plugins specifically? (I think iCalendar only is OK)
  • Does this need a way to revert an import? Most calendar applications don't have "import" so much as subscribing to external feeds, and deleting the subscription removes those Events from your local calendar. Is that the expectation here? (I think it may be, for some, but maybe not for others, so our language and UI will need to be clear)

JJJ avatar Mar 12 '20 15:03 JJJ

We may not need to do anything here anymore.

A 3rd party has built an add-on for Sugar Calendar and WP All Import that adds event importing to Sugar Calendar. I've tested it and it works nicely.

We're waiting to see what they do with it in terms of launching but once they have it available somewhere, we can add it to the site and give people a solid import option.

pippinsplugins avatar Mar 12 '20 18:03 pippinsplugins

I understand the most recent comment from March is regarding the WP All Import add-on but I'm adding this request here as I feel it fits some of the points that have been made above that aren't resolved by using the WP All Import add-on. Mainly this question:

Is this simply a single import, or is the expectation that it also do subscribing & syncing?

This customer was looking for the reverse of what the Calendar Feeds add-on does. Instead of going to Google calendar from Sugar Calendar he wanted to feed events into Sugar Calendar from Google calendar.

I misunderstood the function of the product, expecting it to accept input FROM google calendars. Alas, I find out from a careful reading of the documentation that Calendar Feeds only processes event output TO google calendars -- which won't help me at all.Thanks for your prompt attention to this matter. My apologies for my misunderstanding of the product functionality.

https://secure.helpscout.net/conversation/1372416417/173366?folderId=1909452

kerijacoby avatar Dec 18 '20 16:12 kerijacoby

Another request for a Google --> SC import function.

https://secure.helpscout.net/conversation/1415089826/176697?folderId=3668573

shaynesanderson-zz avatar Feb 03 '21 16:02 shaynesanderson-zz