Home › Forums › Calendar Products › Events Calendar PRO › Recurring Events in JSON feed
- This topic has 3 replies, 2 voices, and was last updated 7 years, 11 months ago by
Marianne Steiner.
-
AuthorPosts
-
April 4, 2018 at 12:46 pm #1496828
Marianne Steiner
ParticipantI can’t figure out how an event and it’s recurring events are related (especially in the JSON feed).
The JSON feed shows every single event of a series.
That’s ok.
But how can I find the related events?There seems to be no parent/child relationship (as “parent” seems only available for categories and tags)
Also, there seem to be no other kinds of relationships.Is it possible to get an URL (or just ID) to the single events of a series from any single event (within the JSON feed)?
April 6, 2018 at 1:01 pm #1499108Victor
MemberHi Marianne!
Thanks for getting in touch!
Each recurring event instance is a child post of the main recurring event you create.
By default, the JSON feed does not output any information that would indicate two or more events to be related to the same series of events.
You could, however, see if they are related by looking at the event URL. Every recurring event URL will have the date appended to it. For example yoursite.com/event/event-title-slug/2018-04-12/
Is it possible to get an URL (or just ID) to the single events of a series from any single event (within the JSON feed)?
I’m not exactly sure I understand what URL you are trying to get. Could you please give me an example?
Thanks,
VictorApril 10, 2018 at 2:13 pm #1503552Marianne Steiner
ParticipantThank you Victor
I think, this could help a lot.
We consume the JSON feed on another website where only future events will be shown.
This means that the parent or siblings of a course are not shown.So when I have a course like
http://elternbildung-aargau.ch/event/starke-eltern-starke-kinder-aufbaukurs-0-3-jahre/2018-04-14/
I can link to the parent and all with:
http://elternbildung-aargau.ch/event/starke-eltern-starke-kinder-aufbaukurs-0-3-jahre/ or
http://elternbildung-aargau.ch/event/starke-eltern-starke-kinder-aufbaukurs-0-3-jahre/all/ respectivelyI guess that can get us much closer to what we want.
I will check this out during business hours tomorrow.
April 11, 2018 at 7:29 am #1504288Victor
MemberHi Marianne!
Glad to know that helps and that you are making progress.
I’ll leave this thread open in case you need to post a follow up question. Do note, however, that it will auto-close after three weeks for inactivity, in which case you can always open a new topic.
Best,
VictorMay 3, 2018 at 9:35 am #1522144Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Recurring Events in JSON feed’ is closed to new replies.
