Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to mark up recurring events with Schema.org for Google?

I'm using schema.org to mark up a page for a local business and I have a weekly (mon-thurs) recurring event that I'd like to send metadata on.

I've looked around the internetz and cannot seem to find any answers as to how I can properly mark this up. I did what a Google user group suggested by using openingHours even though I knew it wasn't part of the Event schema. Google called me on it of course.

Any suggestions as to how I can tag this?

I'm happy to change it to a different type if that works, though I am unsure as to what I could change it to. For reference, here is the page in question.

UPDATE I looked a bit into the Event type a bit more and found something called subEvent. Schema.org also says that "Repeated events may be structured as separate Event objects." but how on earth I can achieve this is beyond me. The main problem lies in the fact that the recurring event is largely undefined. It is just Mon-Thur, every week, for an indefinite period of time, so it makes no sense to try and give a bunch of actual dates like Thurs July 10, Tues July 15, etc.

followup If schema.org has no solution, are there any other microdata formats out there that could?

like image 579
huzzah Avatar asked Sep 05 '25 01:09

huzzah


1 Answers

Currently, there is only the solution to create separate Event items for each recurrance, as described in its definition:

Repeated events may be structured as separate Event objects.

Related links:

  • Mailing list thread: Proper schema.org markup of repeating / recurring events?
  • Wiki page: WebSchemas/RepeatingEvents
  • Issue: Schema.org should say how to describe repeating events

In the mentioned thread, Martin Hepp lists advantages of creating separate Event items for each single event:

  • easier for consumers to query the data when each date is set explicitly
  • you can model exceptions (cancelled, rescheduled or delayed events)
like image 56
unor Avatar answered Sep 07 '25 16:09

unor