W3C home > Mailing lists > Public > public-vocabs@w3.org > December 2011

Re: Syntax for itemprop breadcrumb

From: Tim van Oostrom <tim@depulz.nl>
Date: Fri, 16 Dec 2011 23:26:37 +0100
Message-ID: <4EEBC59D.3070207@depulz.nl>
To: public-vocabs@w3.org
Hi Aaron,
I personally interpreted breadcrumb like:

<div itemscope itemtype="http://schema.org/Thing">
   <a href="category/books.html" itemprop="breadcrumb">Books</a>  >
   <a href="category/books-literature.html" itemprop="breadcrumb">Literature&  Fiction</a>  >
   <a href="category/books-classics" itemprop="breadcrumb">Classics</a>  >
   Boring Classics
<h1 itemprop="name">Boring Classics</h1>
  </div>


1 breadcrumb per Item/Link (semantically more obvious and less work to 
determine what is what?)

You'd have a list of breadcrumb(s). This should however be an ordered list.

- Tim

> In breadcrumb display, the unlinked current page or section is often displayed in the same line as the linked parents.  E.g.:
>
> <div><a href="/">Home</a>  | About us</div>
>
> Should this unlinked portion be ("About us" in the example above) be included in the breadcrumb itemprop or excluded from it? 1 or 2 below?
>
>
> 1 - Unlinked portion part of breadcrumb itemprop
>
> <div itemprop="breadcrumb">
>    <a href="category/books.html">Books</a>  >
>    <a href="category/books-literature.html">Literature&  Fiction</a>  >
>    <a href="category/books-classics">Classics</a>  >
>    Boring Classics
> </div>
>
> 2 - Unlinked portion not a part of breadcrumb itemprop
>
> <div>
> <span itemprop="breadcrumb">
>    <a href="category/books.html">Books</a>  >
>    <a href="category/books-literature.html">Literature&  Fiction</a>  >
>    <a href="category/books-classics">Classics</a></span>  >
>    Boring Classics
> </div>
>
> None of the schema.org examples show this use case.
>
> See also this same question on a G+ post - feel free to comment there.
> https://plus.google.com/106943062990152739506/posts/Bf5ZYWkVtM1
>
> Thanks,
> Aaron
>
>
>
Received on Friday, 16 December 2011 22:27:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 06:48:58 GMT