microdata with grid of products -


i have grid of products. each product row in grid can expended show full product details (done ajax). sample bellow shows how implemented microdata grid (not full product details). same microdata repeats on , on in page best way?

<tbody>         @foreach (var product in model)         {              <tr itemscope itemtype="http://schema.org/product" class="tr_prod" style="height:105px;" productid="@product.id" optionid="@product.optionid" shopcityid="@product.shopcityid">                 <td>                     <div class="prod_img_small">                         <img class="preview" src="@url.content("~/files/products/" + product.imgfilename)" />                     </div>                 </td>                 <td itemprop="name">                                            <b>@product.name</b>                 </td>                 <td>                     <div itemprop='productid'>                                                    <b>@product.id</b>                     </div>                 </td>                  <td>                     <div itemscope itemprop="pricespecification" itemtype="http://schema.org/deliverychargespecification">                          <b><span itemprop="price">@product.deliveryprice</span></b>                     </div>                 </td>                 <td>                                            <b>@product.productprice</b>                 </td>                 <td>                      <b>@product.totalprice </b>                 </td>              </tr>             }     </tbody> 

does valid me. itemscopes can promoted <td> pricespecification.

all metadata that's added using ajax won't showing spiders of course, that's think about.

you can add metadata page indicate it's collection of products.

<body itemscope itemtype="http://schema.org/collectionpage">   ... </body> 

Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -