Documentation Knowledgebase

This area helps us show you how to use our features to grow your business.

OpenContent Helper

Publish Event Calendar Links and a Sitemap

Use the anonymous OpenContent Helper event endpoints to add an Add to calendar link that downloads an .ics file for one event, and to generate an XML sitemap of upcoming events with an optional detail page path.

Updated

The event endpoints are anonymous and use the current portal. They are read-only.

Call:

GET /DesktopModules/OpenContentHelper/API/Events/Calendar?slug=event-slug

The response is an .ics download for the matching event. Add the URL to an “Add to calendar” link in the OpenContent template. A missing slug returns a bad request. A slug that does not match an event returns not found.

Create an event sitemap

Call:

GET /DesktopModules/OpenContentHelper/API/Events/Sitemap

If event detail pages use a known path, pass it explicitly:

/DesktopModules/OpenContentHelper/API/Events/Sitemap?detailPagePath=/events

The response is XML containing upcoming events and absolute URLs. Confirm that the detail-page path matches the page route used by the public event detail template before submitting the sitemap to a search engine.

Topics: