Google Rich Snippets测试工具“此页面不包含作者身份或丰富的代码段标记”错误

时间:2012-09-04 15:32:01

标签: seo

我正在尝试使用谷歌片段测试工具测试下面的片段,但我得到的是“此页面不包含作者身份或丰富的片段标记”,它变得非常讨厌任何想法可能是什么问题??

<div itemscope itemtype="http://data-vocabulary.org/Organization">
<span itemprop="name">Linas</span>
Located at<span itemprop="address" itemscope itemtype="http://data-vocabulary.org/Address">
<span itemprop="street-address">Plaza Hotel</span>,
<span itemprop="region">Hamra</span>,
<span itemprop="locality">Beirut</span>,
<span itemprop="country-name">Lebanon</span>,
</span>Phone: <span itemprop="tel">9611751244</span>.
<a href="http://www.linaslb.com" itemprop="url">http://www.linaslb.com</a>.
</div>

1 个答案:

答案 0 :(得分:1)

您可能希望尝试使用 schema.org 作为项目类型来源而不是data-vocabulary.org。我将下面粘贴到http://www.google.com/webmasters/tools/richsnippets,似乎有用。

<div itemscope itemtype="http://schema.org/Organization">
<span itemprop="name">Linas</span>
Located at<span itemprop="address" itemscope itemtype="http://schema.org/Address">
<span itemprop="street-address">Plaza Hotel</span>,
<span itemprop="region">Hamra</span>,
<span itemprop="locality">Beirut</span>,
<span itemprop="country-name">Lebanon</span>,
</span>Phone: <span itemprop="tel">9611751244</span>.
<a href="http://www.linaslb.com" itemprop="url">http://www.linaslb.com</a>.
</div>