无法谷歌在搜索结果中显示痕迹

时间:2014-05-15 00:41:52

标签: html5 breadcrumbs schema.org google-rich-snippets

我正试图通过使用schema.org的痕迹导航微数据让Google在搜索结果中显示我的痕迹。当我使用Google的结构化数据测试工具时,搜索结果示例中没有显示痕迹导致并显示以下消息:“此页面的摘录将显示在此处。我们无法显示您网页上的文字的原因是因为文本取决于用户输入的查询。“

我不明白,因为我使用的网址不包含查询字符串(http://www.fastfoodnutrition.org/6_r-taco-bell/8511_i-sausage-flatbread-melt-nutrition-facts.html

这是我的代码:

<ol class="breadcrumb"  itemscope itemtype="http://schema.org/breadcrumb">
<li><a itemprop="url" href="/6_r-taco-bell/nutrition-facts.html" title="/6_r-taco-bell/nutrition-facts.html"><span itemprop="title">Taco Bell</span></a></li>
<li><a itemprop="url" href="/6_r-taco-bell/269_c-breakfast-nutrition-facts.html" title="/6_r-taco-bell/269_c-breakfast-nutrition-facts.html"><span itemprop="title">Breakfast</span></a></li>
<li>Sausage Flatbread Melt Nutrition Facts</li>
</ol>

1 个答案:

答案 0 :(得分:0)

Google尚未识别它们,您应该使用http://data-vocabulary.org/Breadcrumb代替它,RichSnippets工具会将其识别为this Google帖子建议。所以你的代码是:

<ol>
  <li itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
        <a itemprop="url" href="/6_r-taco-bell/nutrition-facts.html" title="/6_r-taco-bell/nutrition-facts.html">
             <span itemprop="title">Taco Bell</span>
        </a>
  </li>
  <li itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
        <a itemprop="url" href="/6_r-taco-bell/269_c-breakfast-nutrition-facts.html" title="/6_r-taco-bell/269_c-breakfast-nutrition-facts.html">
             <span itemprop="title">Breakfast</span>
        </a>
  </li>
  <li itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
        <span itemprop="title">Sausage Flatbread Melt Nutrition Facts</span>
  </li>
</ol>
相关问题