發布者必須在各篇報導網頁中使用 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>
如要進一步瞭解授權的完整規格,請參閱結構化資料標記的 SwG 開發人員網站。