0

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

<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>
4

1 回答 1

1

您可能想尝试使用schema.org作为您的 itemtype 源,而不是 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>
于 2012-09-04T18:58:22.680 回答