我想在我的网站上实现json-ld,但在我这么做之前,我对它有一些疑问。
@type,该页面也代表类别页?json-ld的最佳方法是什么。在一个或多个script标签中?我需要为页面上的每个元素生成json-ld吗?或者我可以在一个json-ld中做到这一点?什么是更好的解决方案?microdata和json-ld结合起来,还是像谷歌推荐的那样只使用json-ld?localBusiness是怎么做的。不是HowTo。@type?author @type的公司信息吗?BreadcrumbList,还是只需要实现json-ld?我知道所有类型都必须有html。但我问了关于BreadcrumbList的事。
我在过去的两天里搜索了那些东西。对于这些问题,我没有找到任何好的答案。
发布于 2019-07-15 17:05:37
有很多问题。因此,为了更好地理解您的问题--您希望实现"Schema.org“(词汇),并希望使用json (Jason Linked Data)而不是RDFa或Microdata来实现它。我理解得对吗?如果是的话-这是我的回应:
{
"itemListElement": [
{
"item":
{
"name": "Jewellery",
"@id": "c-01/Categories/Jewellery/"
},
"@type": "ListItem",
"position": 1
},
{
"item":
{
"name": "Rings",
"@id": "c-0106/Categories/Jewellery/Rings/"
},
"@type": "ListItem",
"position": 2
},
{
"item":
{
"name": "Hero Ring, Grey, Rose-gold tone plated",
"@id": "p-M5372862/-/?variantID=5350665"
},
"@type": "ListItem",
"position": 3
}],
"@type": "BreadcrumbList",
"@context": "http://schema.org"
}{
"offers":
{
"priceCurrency": "GBP",
"@type": "Offer",
"price": 49.5,
"availability": "http://schema.org/InStock"
},
"@type": "Product",
"name": "Hero Ring, Grey, Rose-gold tone plated",
"description": "Be effortlessly stylish by day or night with this modern and feminine multi-layered ring in rose gold plating. A touch of black and white pavé creates an elegant contrast.",
"@context": "http://schema.org"
}https://webmasters.stackexchange.com/questions/123994
复制相似问题