JSON-LD在一个页面中提供更多产品

时间:2016-09-04 12:09:28

标签: json-ld

如果我在一个页面中有更多产品,我该如何设置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>

1 个答案:

答案 0 :(得分:0)

是的,我想使用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。