What elements of structured data are retrieved by MySitemapGenerator
MySitemapGenerator processes the Schema.org data for the products:
- name product name. Specified as the Product property.
- description product description. Specified as the Product property.
- image link to the product image. Specified as the Product property.
- price price. Specified as the Offer property.
- lowPrice minimum price. Specified as the AggregateOffer property.
- priceCurrency currency. Specified as the Offer property. To specify the currency, you must use the currency codes according to ISO 4217.
- priceSpecification Specified as the Offer property.
- availability product availability flag. Specified as the Offer property.
- condition product condition. Specified as the Offer property.
- category category name. Specified as the Product property.
- brand - Specified as the Product property.
- gtin8 / gtin12 / gtin13 / gtin14 / isbn - International product identifier. Specified as the Product property.
- sku - a store product unique identifier. Specified as the Product property.
<div itemscope itemtype="http://schema.org/Product"> <h1 itemprop="name">Offer</h1> <a itemprop="image" href="http://youwebsiteurl/pictures/thumbnail.jpg"> <img src="/pictures/thumbnail.jpg" /> </a> <div itemprop="offers" itemscope itemtype="http://schema.org/Offer"> <div>$1000</div> <meta itemprop="price" content="1000.00" /> <meta itemprop="priceCurrency" content="USD" /> <div>Available</div> <meta itemprop="availability" href="http://schema.org/InStock" /> <meta itemprop="itemCondition" href="http://schema.org/NewCondition" /> </div> <div itemprop="description">Best offer</div> </div>
Structured Schema.org data for automatic processing is also available in a JSON-LD object.
Example of placing data in a JSON-LD object:
<script type="application/ld+json"> { "@context": "http://schema.org/", "@type": "Product", "name": "Offer", "image": "http://youwebsiteurl/pictures/thumbnail.jpg", "description": "Best offer", "offers": { "@type": "Offer", "priceCurrency": "USD", "price": "1000.00", "availability": "http://schema.org/InStock", "itemCondition": "http://schema.org/NewCondition" } } </script>
MySitemapGenerator processes Open Graph metadata for the products:
- og:title product name.
- og:description product description.
- og:image link to product image.
- product:price:amount price.
- product:price:currency currency. Currency codes must conform to ISO 4217.
- product:sale_price:amount the sale price of the product.
- product:availability availability of the product.
- product:condition - product condition.
- product:ean / product:isbn - International product identifier.
Example of applying Open Graph markup for a product offer:
<meta property="og:type" content="product" /> <meta property="og:title" content="Offer" /> <meta property="og:description" content="Best offer" /> <meta property="og:image" content="http://youwebsiteurl/pictures/thumbnail.jpg" /> <meta property="product:price:amount" content="1000.00" /> <meta property="product:price:currency" content="USD" /> <meta property="product:availability" content="in stock" /> <meta property="product:condition" content="new" />