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

What would be the proper microdata for marking up ordered lists? For instance, statistical rankings for sports player.

share|improve this question
2  
The format of the HTML isn't what matters. It's the content. That determines what mircrodata format is needed. I don't see one fore this specific example. –  John Conde Feb 19 at 21:27
1  
I came across an ItemList which resides under the Think -> CreativeWork nodes. Would this work? –  bperniciaro Feb 19 at 22:01
    
That looks pretty good, actually. –  John Conde Feb 19 at 22:03
    
Am I correct that you look for a Schema.org class, and not just any way how to express this with Microdata? –  unor Feb 19 at 23:19
add comment

1 Answer

up vote 0 down vote accepted

You could use Schema.org’s ItemList for the list.

In case of "statistical rankings for sports player": If you list the statistics of several players, each entry should be a separate item. You could use Person.

Example in Microdata:

<div itemscope itemtype="http://schema.org/ItemList">
<meta itemprop="itemListOrder" content="Descending" />
<ol>
  <li itemprop="itemListElement" itemscope itemtype="http://schema.org/Person">…</li>
  <li itemprop="itemListElement" itemscope itemtype="http://schema.org/Person">…</li>
  <li itemprop="itemListElement" itemscope itemtype="http://schema.org/Person">…</li>
</ol>
</div>

Note that a sports vocabulary was proposed recently, which

includes support for describing sports statistics

So maybe there will be some more appropriate classes.

share|improve this answer
add comment

Your Answer

 
discard

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.