Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Implementing rich snippets on your WebSphere Commerce site to improve search engine results

A step-by-step tutorial using WebSphere Commerce V7 FEP3

Naomi Wan (nylwan@ca.ibm.com), Staff Software Developer, IBM
Photo of Naomi Wan
Naomi Wan is a Staff Software Developer at the IBM Toronto Software Lab, Canada. She has been part of the WebSphere Commerce team since 2001. She has extensive experience in WebSphere Commerce starter stores and Web 2.0 technologies.

Summary:  Learn how to mark up data for product reviews and other product information for the Madisons starter store that comes with WebSphere® Commerce V7.

Date:  24 Aug 2011
Level:  Intermediate PDF:  A4 and Letter (597 KB | 14 pages)Get Adobe® Reader®

Activity:  8413 views
Comments:  

Before you start

Search engine helps users find the page they want by showing a summary of content from web pages. These are called search result snippets. The more information a search result snippet can provide, the easier users will find the page they want. Using rich snippets, webmasters can further label content of their site to help users understand the content a page provides.

For example, the rating of a restaurant can be summarized as shown in Figure 1.


Figure 1. Search result snippet of a restaurant
Search result of a restaurant with rich snippets

Note the search result snippet in Figure 1 displays the summary of rating of a restaurant, along with the total number of reviews available for the restaurant.

About this tutorial

This tutorial will provide examples on how to mark up data for product reviews and other product information for the Madisons starter store that comes with WebSphere Commerce.

There are various mark up formats available to mark up HTML for rich snippets, for example, microdata, microformats, and PDFa. In addition to these formats, schema.org provides a collection of schemas that are recognized by all major search providers like Google®, Yahoo!®, Microsoft®, and Bing®. Microdata is the standard format used by schema.org.

In this tutorial, examples will be provided in microdata format and using the schema.org vocabulary.


Objectives

In this tutorial, you will learn how to:

  • Identify what product data can be marked up.
  • Locate the places to mark up product information in the Madisons store's JSPs.
  • Test your rich snippets using the Rich Snippet Testing Tool from Google.

Prerequisites

You need to be familiar with the following:


System requirements

Examples provided from this article are applied to stores that come from WebSphere Commerce V7 with Feature Pack 3, which contains a new implementation for Search Engine Optimization (SEO). We highly recommend that you leverage Feature Pack 3 for the SEO solution. For more information, see this WebSphere Commerce Information Center topic, Search engine optimization (SEO) for Version 7 Feature Pack 3 or later.

In addition, a Social Commerce feature needs to be enabled for product review function. For instructions on how to enable the Social Commerce feature, see Enabling and configuring Social Commerce.


Duration

This tutorial takes about 1 hour to complete.

1 of 8 | Next

Comments



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=WebSphere
ArticleID=753701
TutorialTitle=Implementing rich snippets on your WebSphere Commerce site to improve search engine results
publish-date=08242011
author1-email=nylwan@ca.ibm.com
author1-email-cc=dwu@us.ibm.com

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Try IBM PureSystems. No charge.