extending html5 microdata event schema

前端 未结 2 1656
Happy的楠姐
Happy的楠姐 2020-12-06 15:05

Have been adding html5 microdata to my online resume, and read in http://www.schema.org/docs/extension.html that you can extend existing schema.

I\'ve been trying t

相关标签:
2条回答
  • 2020-12-06 15:33

    Google’s tool is wrong about the errors, probably because they don’t handle the case of Schema.org extensions (which is a valid use of the vocabulary).

    But note that this extension mechanism is considered "outdated" anyway, see docs/extension.html is out of date, should be marked as such or fixed. It’s intended to display this message on the extension page soon:

    Historical ("Slash-based") Extension Mechanism (2011-2013)

    Status Note: We preserve this text to document our original approach to extensibility. We do not currently advocate the use of '/'-based extended names, although it should be harmless to use these. Other mechanisms including RDFa, JSON-LD, the Role type and additionalType property can now also be used for different extension scenarios.

    […]

    (By the way, your values of startDate and endDate are not valid: you need to use the ISO 8601 date format.)

    0 讨论(0)
  • 2020-12-06 15:49

    I think your new schema specification needs to be hosted somewhere. The errors probably show because http://schema.org/Event/Job doesn't exist.

    You could try augmenting the schema.org Event with properties from another vocabulary as explained here.

    0 讨论(0)
提交回复
热议问题