Exporting Certain events for a non WordPress site
Is there a way to modify the xml generated to match a non wordpress site? We need to create some feeds in a different site that will auto populate when we update our calendar in WordPress, but the other site is not taking the site.address/events/feed code that we give it because the xml tags don’t match. Example of this is in the image. The date and time tags in non WP site and the pubDate tag on the events/feed. Is there a plugin or extension that can help with mapping tag names and generate the right XML??
Since I’m unsure of all the project requirements, including the required format, I can share these general ideas:
- Your “other” site could use the REST API (https://theeventscalendar.com/knowledgebase/introduction-events-calendar-rest-api/) to get data from your “events” site.
- If you really do need a customized export format, you’d have to create a new function or view (possibly use the Tribe__Events__Templates class) to build the data you need and make it available in some way.
I hope this information helps. Please let me know if you have any follow-up questions on this topic.
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