Home › Forums › Calendar Products › Events Calendar PRO › JSON-LD
- This topic has 4 replies, 3 voices, and was last updated 10 years, 10 months ago by
Support Droid.
-
AuthorPosts
-
February 24, 2015 at 1:01 pm #944594
nsidhom
ParticipantHow do I access the JSON feed? I need to send it to my app developer, but couldn’t figure it out.
Thanks!
February 25, 2015 at 9:16 am #944710George
ParticipantHey @nsidhom,
At this time, The Events Calendar unfortunately does not have a JSON feed that it generates. WordPress itself doesn’t either, in fact.
This is something that’s actively being worked on in WordPress core, a JSON API is being developed for WordPress Core by some great developers. Maybe at some point in the future, when that’s a part of Core, The Events Calendar can integrate with it and this will be simpler.
However, at this time the best option for generating JSON feeds from your WordPress installation is to try and find a plugin that does so. You can search for some on the WordPress.org plugins repository → https://wordpress.org/plugins/search.php?q=json+feed
Another option that might be worth exploring is to check out that in-development JSON API for WordPress Core itself – the project is under active development and so I can’t confirm how stable/reliable it is, but it’s pretty far along and quite flexible. You can learn more about this project and learn about implementing the code (as well as finding the code on GitHub) by checking out the project homepage here → http://wp-api.org/
Sorry to disappoint @nsidhom – note that there are the default RSS/XML feeds for Events like normal within WordPress, it’s just a custom JSON feed that currently is not something we have.
Let me know if you have any other questions or concerns!
Cheers,
GeorgeFebruary 25, 2015 at 12:18 pm #944754nsidhom
ParticipantThe JSON Rest plugin seems stable, but it is not delivering a lot of important information, such as start time or location. Any ideas on how to pull that info?
February 26, 2015 at 10:28 am #944939George
ParticipantHey @nsidhom,
I’m sorry, but unfortunately I do not know how to add that information to the JSON output. If there’s a way to add post meta information in general to the output of WP-API, then you should be able to take those methods/principles and use them to get the event-specific post meta for events like _EventStartDate and such. This seems to be possible, for example, check out the “retrieve a meta” section on the wp-api.org documentation and play around with this → http://wp-api.org/#posts_retrieve-a-meta-for-a-post
I hope that helps!
— George
July 7, 2015 at 6:31 am #983777Support Droid
KeymasterThis 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. -
AuthorPosts
- The topic ‘JSON-LD’ is closed to new replies.
