Thursday, January 26, 2012

Schema.org Microdata for eCommerce sites


A Lot of studies online talk about an increase in 20-30 percent organic traffic using schema.org.
Schema.org provides a collection of shared vocabularies webmasters can use to mark up their pages in ways that can be understood by the major search engines: Google, Microsoft, and Yahoo!

Some Relevant Tags for E commerce tags:
http://schema.org/Product

e.g.:
<div itemscope itemtype="http://schema.org/Product">
  <span itemprop="name">zinog 55 inch TV</span>
  <img src="zinog-tv-55in.jpg" alt="">
  <div itemprop="aggregateRating"
    itemscope itemtype="http://schema.org/AggregateRating">
   Rated <span itemprop="ratingValue">3</span>/5
   based on <span itemprop="reviewCount">11</span> customer reviews
  </div>

http://schema.org/Offer
e.g.
 <div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
    <span itemprop="price">$600.00</span>
    <link itemprop="availability" href=" http://schema.org/OutOfStock ">Out of Stock
 </div>

http://schema.org/Review
e.g.
<div itemprop="reviews" itemscope itemtype="http://schema.org/Review">
    <span itemprop="name">Yo Camera</span> -
    by <span itemprop="author">Yo Boss</span>,
    <time itemprop="publishDate" datetime="2012-01-15">Jan 15, 2012</time>
    <div itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating">
      <meta itemprop="worstRating" content="1">
      <span itemprop="ratingValue">3</span>/
      <span itemprop="bestRating">5</span>stars
    </div>
    <span itemprop="description">The Yo Camera is a revolution.</span>
  </div>


This is interesting for SEO, just thought of adding it here, How Google perceives web pages.
http://www.google.com/webmasters/tools/richsnippets

Ref:
http://schema.org/


Exception| findSEOPageDefintionByPageNameAndStoreID

If you have just created your V7 instance and running into this problem, the problem could be probably hitting the wrong storeId from your browser. The tendency is to look at Stores\WEB-INF\Conf and check the new configuration files for SEO and also blame it on Feature Pack upgrade :) at least I thought so.
 I ran into this problem when I was trying to hit the URL below, the store ID is valid but it was for EliteStorefrontAssetStore
http://localhost/webapp/wcs/stores/servlet/TopCategories_10701_10001


 /GenericJSPPageError.jsp - No expression builder has been configured with the name: "findSEOPageDefintionByPageNameAndStoreID".
                                 javax.servlet.jsp.JspException: No expression builder has been configured with the name: "findSEOPageDefintionByPageNameAndStoreID".
at com.ibm.commerce.foundation.internal.client.taglib.GetDataHandler.execute(GetDataHandler.java:722)
at com.ibm.commerce.foundation.internal.client.taglib.GetDataTag.doTag(GetDataTag.java:388)
at com.ibm._jsp._TopCategoriesDisplay._jspService(_TopCategoriesDisplay.java:813)

Correct URLs for both stores for out of the box are below:

Elite-Login

Madisons-Sign In