Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I'm trying to work with hProduct

was testing tool for google microformats ( http://www.google.com/webmasters/tools/richsnippets ), but it is not recognizing the data:

  1. does not recognize the photo
  2. does not recognize the price
  3. does not recognize the category
  4. only recognizes the rating


<div class="hproduct">
  <span class="brand">ACME</span> <span class="fn">Executive Anvil</span>
  <img class="photo" src="http://microformats.org/wiki/skins/Microformats/images/logo.gif" />
  <span class="review hreview-aggregate">
    Average rating: <span class="rating">4.4</span>, based on <span class="count">89
      </span> reviews

  Regular price: $179.99
  Sale: $<span class="price">119.99</span> (Sale ends 5 November!)

  <span class="description">Sleeker than ACME's Classic Anvil, the Executive Anvil is 
    perfect for the business traveler looking for something to drop from a height.</span>

  Category: <span class="category">
    <span class="value-title" title="Hardware > Tools > Anvils">Anvils</span>

and still shows this warning:

waring: In order to generate a preview with rich snippets, either price or review or availability needs to be present.

I used google's own example: http://support.google.com/webmasters/bin/answer.py?hl=en&answer=186036

I also tested the microformas.org: http://microformats.org/wiki/google-rich-snippets-examples

With Microdata I managed to display the price, but I really want is to use microformat.

does not show the price and also does not show the picture: http://i.imgur.com/OvR6m.png

share|improve this question

2 Answers 2

Here is your example HTML in the testing tool.
Works perfectly fine for me, with everything you say is a problem recognized, and no warning:

enter image description here

The example code from Google's docs does display the warning, but that's because of a syntax error which is breaking the markup:

<img class="photo" src="anvil_executive.jpg />

Note the src attribute is missing a closing quote. If you fix that, the warning goes away.

share|improve this answer
that picture you posted is the data extracted and not the search result. No show photo: i.imgur.com/OvR6m.png –  silverfox Nov 23 '12 at 13:58
Your question never mentioned the problem was with live search, only with the testing tool. In fact, this is still the case. Anyway, the standard disclaimer applies here: "Google doesn’t guarantee to use your markup." (Scroll to the bottom.) The testing tool shows your code is correct, and that's as far as you go. Google gets to decide what if anything they actually want to do with it. –  Su' Nov 23 '12 at 19:07
I put the image in question is the tool! With Microdata I managed to display the price, but I really want is to use microformat. –  silverfox Nov 25 '12 at 18:36
I understand that. But you don't get to choose what of your data Google displays. As I've already explained, they make no promise they'll use any of it at all. –  Su' Nov 25 '12 at 19:40
I understand that. But with Microdata google shows the price. Got it? –  silverfox Nov 25 '12 at 19:57

Google shows photo only for specific types of shema objects - ie. recipe, softwareapplication... It is not displayed for normal product.

share|improve this answer
Can you provide a backing reference for that? –  Su' Nov 28 '12 at 11:31
its not so simple :) you can check samples here support.google.com/webmasters/bin/… but this changes over time. ie now softwareapplication doesn't have an image anymore in webmasters example, and in actual SERP ( google.pl/search?q=angry+birds+app ), probably due to abuse. Music on the other hand has a table support.google.com/webmasters/bin/… –  Łukasz Rysiak Nov 28 '12 at 18:20
@Łukasz Rysiak when answering a question answer it whole, and not part of it. I ask about: photo, price, category and the warning (Another thing I talked about Microdata also read the question again). You just answered on photo. I appreciate if you edit your answer. –  silverfox Nov 28 '12 at 21:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.