What is the name property in schema.org?

旧街凉风 提交于 2019-12-02 07:12:43

First of all, Schema.org does not require the name (or any other) property.
You are probably talking about what Google requires for one of their search result features (if you don’t follow their requirements, you don’t get that feature; nothing else happens), and/or what the AMP spec did require (see their issue about headline vs. name).

The headline property will in many cases have the same value like the name property. Using both properties for the same content is perfectly fine (in Microdata: itemprop="headline name"; in RDFa: property="headline name"; in JSON-LD you would have to provide the value a second time). The talk about "duplicate content" is about two or more pages that have the same content, not about two or more properties that have the same content.

There was a discussion some time ago (in #423 and in #205) about deprecating headline and suggesting that authors use name instead, but this didn’t happen (yet).

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!