How to use the "UserComments" schema item?

Alex picture Alex · Jan 14, 2012 · Viewed 8.1k times · Source

Let's say I have the mark-up like this:

<ul id="comments">

  <li class="comment"> 
    <div class="author">on Friday 3th, Jenny said:</div>
    <div class="content"><p>bla bla</p></div> 
  </li>

  <li class="comment"> 
    <div class="author">on Friday 3th, Jenny said:</div>
    <div class="content"><p>bla bla</p></div> 

    <ul class="level-2">
      <li class="comment"> 
        <div class="author">on Friday 3th, Mary said:</div>
        <div class="content">stfu jenny</div> 
      </li>       
    </ul>
  </li>
  ...

How do I use the "UserComments" item on this mark-up ? http://schema.org/UserComments

Where do I add itemscope itemtype="http://schema.org/UserComments" ? Once on the list container, or multiple times on each list item?

Answer

m-torin picture m-torin · Oct 25, 2012

You shouldn't be using itemprop="name", but instead use "creator".

More examples... http://homebiss.blogspot.com/2011/11/schema-markups-blogger-comments.html