Change author on imported events
-
I have a calendar import that is scraping from a master Google calendar. There are a hundred or so events each month but they are recurring so the monthly imports are just adding new instances of the existing hundred-ish shows (done this way so when shows are added to or removed from the master Google calendar it is reflected on the website calendar). On the first import, I assigned each show to an author (showrunner) who can edit their shows, each show has a different author so I can limit which shows each author can edit. It is a little bit of madness but it works, however, each month as the new instances are imported I have to go through each of the hundred-ish shows and assign them to the same author as the previous instances. It is maddeningly time-consuming and feels like it can be automated.
Is there a possibility of creating a code snippet to run each month to change the author of all of the newly imported events to match the author on the earliest event of the same name?
I hope this makes sense and hope a little more that there is a solution possible. I am happy to dig and research if it is possible, just unsure if it even is.
- The topic ‘Change author on imported events’ is closed to new replies.