带有Schema.org的面包屑未显示在Google Rich Snippets测试工具中 [英] Breadcrumb with Schema.org not showing in Google Rich Snippets testing tool

查看:75
本文介绍了带有Schema.org的面包屑未显示在Google Rich Snippets测试工具中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用Google Rich Snippets测试工具测试了Schema.org 面包屑示例。

I have tested the Schema.org breadcrumb example with Google Rich Snippets testing tool.

<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>
</div>

结果是该工具无法识别它。

The result is that it is not recognized by the tool.

那么,是否有错误或语法问题?如果是,正确的语法是什么?

So, is there a bug or is there a syntax problem? If so, what is the correct syntax?

推荐答案

您的问题与此如何为面包屑实施schema.org标记?

根据 Google网站管理员中央帮助论坛,专家不建议暂时使用schema.org面包屑标记,似乎 schema.org面包屑结构中存在某种故障。
相反,建议使用data-vocabulary.org面包屑标记,Google和其他搜索引擎也可以轻松读取该标记。

According to Google Webmaster Central Help Forum, it is not recommended by experts to use the schema.org breadcrumb markup for the time being,it's seems that "there is some sort of glitch in the schema.org breadcrumb structure". Instead, it is exhorted to use the data-vocabulary.org breadcrumb markup, which Google and the other search engines can easily read as well.

一个data-vocabulary.org面包屑标记示例:

A data-vocabulary.org Breadcrumb markup example:

<div>
  <span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
    <a href="http://www.example.com/" itemprop="url">
      <span itemprop="title">example</span>
    </a> >
  </span>  
  <span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
    <a href="http://www.example.com/fashion/" itemprop="url">
      <span itemprop="title">Fashion</span>
    </a> >
  </span>  
  <span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
    <a href="http://www.example.com/fashion/women/" itemprop="url">
      <span itemprop="title">Women</span>
    </a> >
  </span>
  <span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
    <a href="http://www.example.com/fashion/women/boots/" itemprop="url">
      <span itemprop="title">Boots</span>
    </a>
  </span>
</div>

这篇关于带有Schema.org的面包屑未显示在Google Rich Snippets测试工具中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆