Recurring Events in JSON feed

Home Forums Calendar Products Events Calendar PRO Recurring Events in JSON feed

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1496828
    Marianne Steiner
    Participant

    I 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)?

    #1499108
    Victor
    Member

    Hi 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,
    Victor

    #1503552
    Marianne Steiner
    Participant

    Thank 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/ respectively

    I guess that can get us much closer to what we want.

    I will check this out during business hours tomorrow.

    #1504288
    Victor
    Member

    Hi 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,
    Victor

    #1522144
    Support Droid
    Keymaster

    Hey 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

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Recurring Events in JSON feed’ is closed to new replies.