Correct procedure to start using Ical Importer on current populated TEC Pro

Home Forums Calendar Products Event Aggregator Correct procedure to start using Ical Importer on current populated TEC Pro

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1081894
    Chris Adams
    Participant

    Hi,
    I tried to set a client up some time ago with TEC Pro and Ical Importer to allow for an initial and then automated imports of events from a Google Calendar (ical) feed.
    Alas at the time there were bugs in that any ‘All Day Event’ was imported with a date of 1 Jan 1970. This I reported and am glad to say that it had been fixed in subsequent releases (though I have yet to test it).
    After I have set up a test environment and confirmed it is indeed all tickety-boo I will need to (re-)instate the feed on my client’s website, only thing is that they have been adding events into Google and then manually adding them to their website while the importer had bugs – so what would be the best way for me to initiate the importer so that they don’t get any duplicate content when it is run?
    Should I remove all venues / organisers / events on the website manually and then run the corresponding imports or can I just go ahead and run it?
    Clearly I will make sure there is a backup of the database first!
    Thanks for your help.
    Chris

    #1082227
    Cliff
    Member

    Hi. Thanks for your detailed question.

    There’s no way for the iCal Importer to know “Google Event X” is the same as “WP manually-created / pre-existing Event Y”. Same for Organizers and Venues data.

    Therefore, there’s going to have to be some manual effort here.

    Your decision on whether or not to delete before importing or delete duplicates after importing might be influenced by whether or not the feeds you’re importing are the official source of information or not, for example. You might also want to use the iCal Importer’s option to only import events from a specified date and newer (not events prior to this date).

    Something to note: Once you get events importing via iCal Importer, know that iCal Importer was recently changed to NOT overwrite/update existing (i.e. previously-imported) events, since users might make local changes and wish for those changes to persist.

    You should be able to use the tribe_events_ical_importer_overwrite_existing_events filter to re-enable this functionality. This hook can be found in /wp-content/plugins/the-events-calendar-importer-ical/src/Tribe/Importer.php if you’d like to look into this further.

    I hope this information helps. Please let me know if you need anything else.

    #1086184
    Chris Adams
    Participant

    Hey thanks for that Cliff, I’ll have a look at that filter and get back to you 🙂

    #1087259
    Cliff
    Member

    Thanks. Looking forward to hearing back…

    #1094080
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Correct procedure to start using Ical Importer on current populated TEC Pro’ is closed to new replies.