Home › Forums › Calendar Products › Event Aggregator › iCal URL of all events within Events Calendar?
- This topic has 6 replies, 3 voices, and was last updated 7 years, 4 months ago by Cliff.
-
AuthorPosts
-
November 29, 2016 at 2:35 am #1198963ChristopherParticipant
Hi,
we have two websites, on abc.com we have The Events Calendar with Events Tickets Plus installed and manage all events there.
On xyz.com we also have The Events Calendar, but with the iCal Importer. There we just want to automatically import all events from abc.com and display them in a list view or as a calendar. We actually don’t want the visitors on site xyz.com to register for an event, we’d like to link them from the calendar on xyz.com to the events on abc.com to register there.How can we achieve that?
Many thanks in advance!
November 29, 2016 at 3:09 pm #1199423CliffMemberHere’s an installable .zip file (install it at your Plugins screen) that adds two URLs:
- example.com/events/?ical=1&tribe_display=recently-published
- example.com/events/?ical=1&tribe_display=year
The first is useful when folks are trying to use the iCal importer to pull events from one website to another. It will contain any recently published or modified events. Note: It is subject to the postsperpage setting in WP-Admin > Events > Settings.
The second exports this year’s events (from January through December).
If preferable, there’s a code snippet to share just the events one year out from today. Let me know if this plugin works for you or if you want the code for exporting one year from today.
Let me know how it goes for you.
November 30, 2016 at 1:12 am #1199624ChristopherParticipantPerfect, I’m so happy with this – thank you very much!
Just one last question: what is the time period of the “recently published” events? A month or a few weeks or something different?
As I have to set an option for recurring imports I don’t want to miss any event.December 1, 2016 at 10:08 am #1200426CliffMemberChristopher, the “recently-published” is just that… recently published (based on published date, not event dates)
The code, by default, gets up to 20 recently published events.
December 7, 2016 at 1:17 am #1202493ChristopherParticipantOkay, so I will just set the period as short as possible.
Thank you very much for your assistance!
- This reply was modified 7 years, 4 months ago by Christopher.
December 7, 2016 at 4:45 am #1202542CliffMemberYou’re welcome. Have a great rest of your week.
-
AuthorPosts
- The topic ‘iCal URL of all events within Events Calendar?’ is closed to new replies.