结构化数据标记
发布商必须在其每个文章页面上使用 ld+json 结构化标记。在抓取和编入索引网页时,Google 会使用此标记来了解哪些内容应与哪些商品相关联,并随后用于填充“您的订阅”轮播界面和面向读者的其他平台。
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "NewsArticle",
"isAccessibleForFree": false,
"publisher": {
"@type": "Organization",
"name": "Herald Foo Times"
},
"isPartOf": {
"@type": ["CreativeWork", "Product"],
"name" : "Herald Foo Times",
"productID": "herald-foo-times.com:basic"
}
}
</script>
如需详细了解完整的使用权规范,请参阅有关结构化数据标记的 RRM:E 文章。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-12-21。
[null,null,["最后更新时间 (UTC):2024-12-21。"],[[["Publishers need to implement ld+json structured data on article pages to link content with subscription products."],["This structured data enables Google to display content in the \"From your subscriptions\" carousel and other reader-facing areas."],["Google utilizes the `isPartOf` property within the structured data to connect articles with specific product offerings."],["Detailed specifications and further information regarding entitlements can be found in the RRM:E article on structured data markup."]]],[]]