Re: Breadcrumbs proposal

And of course my 'Ordered' example had quite some errors. Sorry for
being a bit sloppy. I was working on the fly.

------------------------------------------------------

In case the data-vocabulary style is taken as a base (Ordered):

<!--First level of the first chain-->
<p itemprop="breadcrumb" itemscope>
  <span itemprop="child" itemscope itemtype="http://schema.org/WebPage"
    <a itemprop="url" href="/category/books">
      <span itemprop="name">Books</span>
    </a>
  </span>
  <!--Second level of the first chain-->
  <span itemprop="child" itemscope itemtype="http://schema.org/WebPage">
    <a itemprop="url" href="/category/books/classics">
      <span itemprop="name">Boring classics</span>
    </a>
  </span>
  <!--Third level of the first chain-->
  <span itemprop="child" itemscope itemtype="http://schema.org/WebPage">
    <a itemprop="url" href="/category/books/classics">
      <span itemprop="name">Boring classics</span>
    </a>
  </span>
</p>

<!--First level of the second chain-->
<p itemprop="breadcrumb" itemscope>
  <span itemprop="child" itemscope itemtype="http://schema.org/WebPage"
    <a itemprop="url" href="/category/books">
      <span itemprop="name">Books</span>
    </a>
  </span>
  <!--Second level of the second chain-->
  <span itemprop="child" itemscope itemtype="http://schema.org/WebPage">
    <a itemprop="url" href="/category/books/classics">
      <span itemprop="name">Boring classics</span>
    </a>
  </span>
  <!--Third level of the second chain-->
  <span itemprop="child" itemscope itemtype="http://schema.org/WebPage">
    <a itemprop="url" href="/category/books/classics">
      <span itemprop="name">Boring classics</span>
    </a>
  </span>
</p>

Now I'm not sure if it's not-done to use itemscope without a type
declaration for the breadcrumb property (I guess that's better
discussed by others than by me). But if it's incorrect than in that
case you can always consider to use the proposed Breadcrumb type for
that.

Received on Tuesday, 11 June 2013 01:38:38 UTC