结构化数据:Schema.org 与 JSON-LD
Kieosa 生成的结构化数据包含什么,以及如何在您自己的网站上使用。
Last updated:
什么是 Schema.org?
Schema.org 是由 Google、Microsoft、Yahoo 和 Yandex 共同创建的词汇表。它告诉机器页面上的信息是什么:这是一家餐厅,这是它的地址,这是它的营业时间。
输出示例
{
"@context": "https://schema.org",
"@graph": [{
"@type": "Dentist",
"name": "Örnek 牙科诊所",
"telephone": "+90 224 000 00 00",
"address": { "@type": "PostalAddress", "addressLocality": "Nilüfer", "addressRegion": "Bursa", "addressCountry": "TR" },
"geo": { "@type": "GeoCoordinates", "latitude": 40.21, "longitude": 28.98 },
"openingHoursSpecification": [ … ]
}, {
"@type": "FAQPage",
"mainEntity": [ … ]
}]
}
类别决定结构类型:牙科诊所为 Dentist,咖啡馆为 CafeOrCoffeeShop,房产中介为 RealEstateAgent。
添加到您自己的网站
从商家的 结构化输出 标签页复制 JSON-LD,粘贴到网站的 <head> 中:
<script type="application/ld+json">
… 从 Kieosa 控制台复制的代码 …
</script>
然后用 Google 的 富媒体搜索结果测试 进行验证。
此页面对您有帮助吗?