我一直在看谷歌的丰富片段。Google列出了受支持的以下schema.org项:
我注意到,在搜索结果中,Google显示“文章”和“博客发布”的丰富网页摘要。当单击链接并使用Firebug检查源代码时,我可以看到所使用的schema.org确实是BlogPosting。
我尝试将BlogPosting添加到示例代码中,并使用Google的Rich Snippet工具检查结果,但无法显示图像。我正在使用以下代码:
<html>
<body> etc etc....
<div itemscope="" itemtype="http://schema.org/BlogPosting">
<img itemprop="image" href="/images/test.jpg" item>
</div>
...
Run Code Online (Sandbox Code Playgroud)
尽管它没有在Rich Snippet工具中显示图像,但它确实识别出已设置了图像,并在“从页面中提取丰富的Snippet数据”框中显示了url文本。我尝试使用SoftwareApplication模式,然后得到要显示的图像。
我的问题是:Rich Snippet工具是否会根据上面列出的模式限制它显示的图像,实际上,在实时搜索结果中,将一次显示“文章和BlogPostings的Rich Snippets”?
我breadcrumb使用Google Rich Snippets测试工具测试了Schema.org 示例.
<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>
Run Code Online (Sandbox Code Playgroud)
结果是该工具无法识别.
那么,是否存在错误或存在语法问题?如果是这样,那么正确的语法是什么?
我正在使用AggregateRating标记将结构化数据实现到应用程序中。问题是当存在0个等级时,等级值为空。使用Google结构化数据测试工具时出现以下错误。
字段ratingValue不能为空。
<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
<meta itemprop="reviewCount" content="0">
<meta itemprop="ratingValue" content="">
...
</div>
Run Code Online (Sandbox Code Playgroud)
该应用使用默认的1到5评分等级。
是否存在符合Schema.org的默认值,当ratingValue值为空时可以将其传递给它?我不想为了避免错误而按比例传递任意数字...
我最近将 RDFa 面包屑结构化数据添加到我们的网站之一。现在看起来它与网站上已经存在的开放图谱数据冲突。这怎么可能?OG 数据在<head>标签中,甚至不靠近面包屑。
见测试:https : //search.google.com/structured-data/testing-tool?hl=EN#url=https%3A%2F%2Fwww.badkamerwinkel.nl%2Fwastafels%2Fwastafel
网站网址:https : //www.badkamerwinkel.nl/wastafels/wastafel
在<head>标签中打开图代码:
<meta property="al:ios:url" content="badkamer://categories/79"/><meta property="al:ios:app_name" content="Badkamerwinkel"/><meta property="al:ios:app_store_id" content="1079403656"/><meta property="og:type" content="product.group" />
<meta property="og:title" content="Wastafel nodig? | Badkamerwinkel.nl" />
<meta property="og:image" content="https://www.badkamerwinkel.nl/skin/frontend/bombastium/default/logo-200x200.png" />
<meta property="og:url" content="https://www.badkamerwinkel.nl/wastafels/wastafel" />
<meta property="og:description" content="Het grootste Online Wastafel assortiment vind je op Badkamerwinkel.nl > Ruime keuze uit verschillende soorten wastafels > Voor 20:30 besteld, morgen in huis" />
Run Code Online (Sandbox Code Playgroud)
<body>标签中的RDFa 代码:
<ol vocab="http://schema.org/" typeof="BreadcrumbList" class="breadcrumb">
<li property="itemListElement" typeof="ListItem" class="home">
<a …Run Code Online (Sandbox Code Playgroud) html rdfa schema.org facebook-opengraph google-rich-snippets
我正在尝试在 JSON-LD 中创建一个包含多个评论的产品片段。当我只包含一个评论时,下面的代码有效。(请将控制台中的代码片段复制粘贴到以下网址上以进行测试:https : //search.google.com/structured-data/testing-tool)。但是,我不清楚如何添加多个评论。在挣扎了一段时间后,我自己无法让它工作,而且我很难找到一个例子。
假设我有一条来自“John”的评论,他给出了“3.0”的产品评级,而另一条“Sarah”的评论给出了“5.0”的产品评级。我如何在下面的代码中包含对莎拉的评论?
{
"@context": "http://schema.org/",
"@type": "Product",
"name": "Samsung Galaxy S",
"description": "A great product",
"brand": {
"@type": "Thing",
"name": "Samsung"
},
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.0",
"reviewCount": "103"
},
"offers": {
"@type": "Offer",
"priceCurrency": "EUR",
"price": "18",
"itemCondition": "http://schema.org/NewCondition",
"availability": "http://schema.org/InStock",
"seller": {
"@type": "Organization",
"name": "Samsung"
}
}
,"review": {
"@type": "Review",
"author": "John",
"datePublished": " 7 December 2016",
"description": "I love this product so much",
"name": "Amazing",
"reviewRating": {
"@type": …Run Code Online (Sandbox Code Playgroud) 我正在向没有任何评级或评论的新产品页面添加属性aggregateRating。review如何将它们添加到我的页面并使其对 Google 结构化数据有效?
<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
<meta itemprop="ratingValue" content="">
<meta itemprop="reviewCount" content="">
</div>
<meta itemprop="review" content="">
Run Code Online (Sandbox Code Playgroud)
我需要知道在产品如此新的情况下还没有建立价值的内容应该放入什么。
大约一个月前,我们在电子商务网站的产品详细信息页面上实施了Rich Snippets(示例).
我们使用http://schema.org/语法来处理结构化数据,因为它似乎是Google正在推进的路线.
Rich Snippet Testing Tool中的数据似乎正确,数据已开始显示在Google网站站长工具中.
然而,数据仍然可以在SERP上看到.
我们已经按照谷歌上的丰富数据指南来写信,但仍然没有结果.这是等待的情况吗?
这是另外一条令人费解的信息,我们最初采用微格式实现,并在24小时内开始出现在SERP上的数据.然而,我们放弃了这一点,因为Schema.org方法似乎是一个更好的选择.
我有一种情况,我可以将99%的结构化数据放入我的产品页面中的JSON-LD中.但我获得UPC的唯一方法是将其作为微数据内联.
Google会聚合JSON-LD和内联微数据中的产品数据吗?
我正在为一位朋友(www.texasfriendlydds.com)建立一个网站,并试图让他们对谷歌据称喜欢的Rich Snippets有优势.这是一所防御性驾驶学校,在奥斯汀地区有10个地点.我已将schema.org代码放在每个位置的地址中,但在搜索"防御性驾驶奥斯汀"时 - 我没有看到列出的任何位置.我为每个位置提供了以下10个代码(每个位置的地址不同):
<div itemscope itemtype="http://schema.org/LocalBusiness">
<span itemprop="name">Texas Friendly Defensive Driving</span><br />
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<span itemprop="streetAddress">13201 Ranch Road 620</span><br />
<span itemprop="addressLocality">Austin</span> <span itemprop="addressRegion">TX</span> <span itemprop="postalCode">78750</span>
</div>
<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
<span itemprop="ratingValue">4.6</span> stars - based on <span itemprop="reviewCount">24</span> reviews
</div>
Free meal w/ <span itemprop="priceRange">$40 tuition</span><br /><br />
<meta itemprop="openingHours" content="Thursdays 3:30pm - 9:30pm"><b>Thursdays 3:30pm - 9:30pm</b><br />
</div>
Run Code Online (Sandbox Code Playgroud)
此外,在页面底部,我汇总了所有评论,试图获得有机搜索丰富的片段星级评分无济于事.我将我的代码直接与以下网站进行了比较: - http://www.microdatagenerator.com/aggregate-rating-schema-generator/
它们完全相同(减去值).您可以通过Googling'聚合评级架构'找到他们的片段,并找到第2个列表,其中包含丰富的片段星和956个评分.有一次,我读到你需要出示你的评级证明,但是这个网站没有这样做而且他们有.
我使用过谷歌结构化数据测试工具(https://developers.google.com/structured-data/testing-tool/),一切都很好.那么为什么在世界上我没有看到任何结果呢?
seo structured-data rich-snippets schema.org google-rich-snippets
Google的Article Rich Snippet 的Microdata示例包含meta具有Schema.org mainEntityOfPage属性的以下元素:
Run Code Online (Sandbox Code Playgroud)<meta itemscope itemprop="mainEntityOfPage" itemType="https://schema.org/WebPage" itemid="https://google.com/article"/>
使用Nu Html Checker进行检查时,出现此错误:
元素
meta缺少必填属性content。
添加空content属性似乎可以解决此错误。这样做正确吗?
schema.org ×9
microdata ×5
html5 ×2
json-ld ×2
seo ×2
breadcrumbs ×1
html ×1
javascript ×1
json ×1
meta ×1
rdfa ×1