gpt4 book ai didi

seo - Google Rich Snippets 测试工具 "This page does not contain authorship or rich snippet markup"错误

转载 作者:塔克拉玛干 更新时间:2023-11-03 02:41:43 26 4
gpt4 key购买 nike

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

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

最佳答案

您可能想尝试使用 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>

关于seo - Google Rich Snippets 测试工具 "This page does not contain authorship or rich snippet markup"错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12266787/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com