schema.org 中有多个作者或贡献者 [英] multiple authors or contributors in schema.org
问题描述
如果查看 schema.org 中的 Movie 类型,actor
和actors
属性是允许的(演员取代演员).但是 author
和 contributor
属性没有等效项.在我看来,例如,一篇新闻文章通常可以有多个作者和/或贡献者.
If one looks at the Movie type in schema.org, both actor
and actors
properties are allowed (actor supersedes actors). But there is no equivalent for author
and contributor
properties. In my view, a News Article for example, can often can have multiple authors and/or contributors.
Order 中的 orderedItem
属性允许单个 OrderItem/Product,或订单项/产品的集合.我们可以对 author
和 contributor
属性做同样的事情,即.在一个集合中保存多个实体?
The orderedItem
property in Order allows for a single OrderItem/Product, or a collection of OrderItems/Products. Can we do the same with the author
and contributor
properties, ie. save multiple entities in a collection?
推荐答案
您可以多次添加属性.
例如,一个 Movie
可以有两个 actor
:
For example, a Movie
could have two actor
s:
<article typeof="schema:Movie">
<ul>
<li property="schema:actor" typeof="schema:Person">…</li>
<li property="schema:actor" typeof="schema:Person">…</li>
</ul>
</article>
或者一个 Person
可以有两个 name
s.
Or a Person
could have two name
s.
这篇关于schema.org 中有多个作者或贡献者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!