embed v0.7.0
Added
event-id="<OTE id>"renders a single event from the feed — the widget's
answer to "put this one event on its own page", which previously needed
the host page to fetch the feed itself and assignwidget.eventfrom
JavaScript. Matched against the event'sid, the stable URI the OTE spec
documents as never changing after publication: a name or a date can be
edited, so filtering on either would silently empty a page that was
already published.event-iddeliberately ignoresshow-past. Someone who pins an id to a
page means that event, and having it vanish the morning after would be a
surprise rather than a feature.- When the id matches nothing, the empty state says "Event not found in this
feed." instead of "No upcoming events." — a different problem, and one the
organizer can only fix if the widget says which it is.empty-message
still overrides both. - The playground gained an
event-idcontrol, under Source.
Pin it with:
<script type="module" src="https://tools.opentechevents.org/embed/v0.7.0/ote-events.js"></script>
<ote-events feed="https://example.org/feed.json" event-id="https://example.org/events/2026-06-meetup"></ote-events>