【问题标题】:JSON-LD for more products in one pageJSON-LD 在一页中显示更多产品
【发布时间】:2016-09-04 22:20:59
【问题描述】:

如果我在一页中有多个产品,如何设置 JSON-LD?

<article>
Our car dealership is here to make sure your vehicle always performs at its best. We provide a diverse range of services to the manufacturer’s high standard, and you’ll receive a nu.....
</article>

<article>
ALFA ROME 2.0 
<img ... />
</article>

<article>
ALFA ROME 3.0
<img ... /> 

<img ... />
</article>

【问题讨论】:

  • 您想使用词汇表 Schema.org 吗? ——你尝试了什么?你的问题到底出在哪里?

标签: json-ld


【解决方案1】:

是的,我想使用 schema.org。

我尝试为每辆车都这样做:

<script type="application/ld+json">
{

"@context":"http://schema.org",
 "@type":"Car",
 "name": "Alfa Romeo Giulietta 1.6 JTDm",
 "model": "Giulietta",
 "brand":"alfa romeo",
 "fuelType":"Diesel",
 "vehicleEngine":"Diesel - 4 cilindri in linea - Cilindrata: 1598 cm3 - 4 Valvole per cilindro - Sovralimentato - Potenza max: 88 kw (120CV) a 4.000 giri/min - Coppia max 32,6 kgm (320,0 Nm) a 1.750 giri/min - Euro 6 (715/2007 - 692/2008) - Potenza Fiscale 17 CV",
 "description" : "Alfa Romeo Giulietta 1.6 JTDm - 2 120 CV Distinctive (05/2015)",
 "image":"assets/img/annunci/alfa-romeo-giulietta-distinctive.jpg",
 "offers":{	 
	"@type": "Offer",
    "priceCurrency": "EUR",
    "price": "20.850"
 }
}

</script>


<script type="application/ld+json">
{

"@context":"http://schema.org",
 "@type":"Car",
 "name": "FIAT Nuova Panda ",
 "model": "new panda",
 "brand":"fiat",
 "fuelType":"Benzina",
 "vehicleEngine":"Benzina - 4 cilindri in linea - Cilindrata: 1242 cm3 - 2 Valvole per cilindro - Potenza max: 51 kw (69CV) a 5.500 giri/min - Coppia max 20,4 kgm (102,0 Nm) a 3.000 giri/min - Euro 6 (715/2007 - 692/2008) Potenza Fiscale 14 CV",
 "description" : "FIAT Nuova Panda 1.2 Lounge (07/2014)",
 "image":"assets/img/annunci/fiat-500-x-1.6-pop-star.jpg"
}


</script>

....

但是是正确的(如果一页有更多的车)?真正的页面是 auto-calanca.it/promozioni。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-05-07
    • 2023-02-09
    • 1970-01-01
    • 2015-10-22
    • 2021-12-10
    • 1970-01-01
    • 2017-06-14
    • 1970-01-01
    相关资源
    最近更新 更多