Skip to content
This repository was archived by the owner on Nov 9, 2021. It is now read-only.

Interest in using schema.org breadcrumb spec #118

Open
kiwiupover opened this issue May 11, 2017 · 1 comment
Open

Interest in using schema.org breadcrumb spec #118

kiwiupover opened this issue May 11, 2017 · 1 comment

Comments

@kiwiupover
Copy link

kiwiupover commented May 11, 2017

I need to add schema.org breadcrumb spec to our app and I wondering if this project is interested in adding it.

https://developers.google.com/search/docs/data-types/breadcrumbs
http://schema.org/BreadcrumbList

the output would end up something like this

<ol itemscope itemtype="http://schema.org/BreadcrumbList">
  <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
    <a href="https://example.com/books/" itemscope itemtype="http://schema.org/Thing" itemprop="item" >
        <span itemprop="name">Books</span>
    </a>
    <meta itemprop="position" content="1" />
  </li>
  ›
  <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
    <a href="https://example.com/books/sciencefiction" itemscope itemtype="http://schema.org/Thing" itemprop="item" >
      <span itemprop="name">Science Fiction</span>
    </a>
    <meta itemprop="position" content="2" />
  </li>
  ›
  <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
    <a href="https://example.com/books/sciencefiction/ancillaryjustice" itemscope itemtype="http://schema.org/Thing" itemprop="item" >
      <span itemprop="name">Ancillary Justice</span>
    </a>
    <meta itemprop="position" content="3" />
  </li>
</ol>

The result is this on google search results
image

@poteto
Copy link
Owner

poteto commented May 12, 2017

Hey, this would be a great feature! Would you enable this via an option in the config?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants