google-rich-snippets

Errors in Microdata for image/logo as part of a BlogPosting

こ雲淡風輕ζ 提交于 2019-12-02 03:53:12
I am having an issue getting a publisher logo and blog post image to validate using Google's Structured Data Testing Tool. Some sample markup of what I currently have is: <article class="post" itemscope itemprop="blogPost" itemtype="http://schema.org/BlogPosting"> <div class="preview"> <h2 itemprop="mainEntityOfPage headline"><a href="/blog/improving-the-patient-experience-through-the-revenue-cycle-part-1">Improving the Patient Experience through the Revenue Cycle Part 1</a></h2> <div class="meta"> <span itemprop="datePublished" class="published-date">Friday, February 19, 2016</span> <span

Why is my http://schema.org/BreadcrumbList not validating?

送分小仙女□ 提交于 2019-12-02 03:03:07
问题 I'm using schema.org microdata on my web site but I'm struggling with the BreadcrumbList as Google's structured data testing tool will not validate it. It looks correct and I can't see what's wrong. You can click the above link to see the errors, but to summarise, Google says that the itemtype attribute has an invalid value for each of the items and also complains that the mainEntityOfPage attribute is missing from the list. I did try adding mainEntityOfPage in a meta tag but it still

Schema.org: What to use, Microdata or JSON-LD?

柔情痞子 提交于 2019-12-02 01:45:35
The data markup Schema.org for search sites like Google, Yahoo!, Bing and Yandex is great for snippets. However, I perceive that most of webmasters use Microdata and almost never use JSON-LD . I learned about JSON-LD recently and I have some doubts: Could I use it without compability problems with search engine? unor There can’t be a general answer: Each consumer (search engine, tool, etc.) has its own conditions (what it supports for which feature). Each syntax (JSON-LD, Microdata, RDFa, etc.) has its own advantages and disadvantages. Specific example to illustrate the problem: Google

Schema.org setup for multiple events on one page

北战南征 提交于 2019-12-01 21:40:13
Is there a proper way to show multiple events on one page in Schema.org? Ideally, we don't want a page for each event. Here is a sample structure of what we want: <div itemscope itemtype="http://schema.org/Event"> <div itemprop="name"><h2>Chili Cookoff</h2></div> <div itemprop="location" itemscope itemtype="http://schema.org/PostalAddress"> <h3><span itemprop="addressLocality">Manhatten</span>, <span itemprop="addressRegion">New York</span> - <span itemprop="addressCountry">US</span></h3> </div> <div> May, 1st 2014 - May 4th, 2014 <meta itemprop="startDate" content="2014-05-1:00.000"> <meta

Proper way to use the 'publisher' property (“The attribute publisher.itemtype has an invalid value.”)

空扰寡人 提交于 2019-12-01 20:46:56
When I attempt to validate my structured data using Google's Structured Data Testing tool, I get an error: The attribute publisher.itemtype has an invalid value. I am getting that on this line: <meta itemprop="publisher" content="My Real Name Here" /> How do I provide a valid value for this property? The expected value of the publisher property is another item ( Organization or Person ). While Schema.org always allows to provide a string value (like you do), Google might require a certain value type for one of their search features (e.g., an Organization value for their Articles rich result

Rich Snippets via Schema.org Implemented Via JSON+LD But Not Being Picked Up By Crawler

橙三吉。 提交于 2019-12-01 14:42:59
We've implemented rich snippets for a product type, as well as rich snippets for the organization type. Both types have their attributes passed into a JSON+LD type script wrapper. Please see the markup and validation here: Structured Data Testing Tool Google picks up the organization type and this is verifiable because we've actually changed the logo on our organization card. However, Google has not picked up any of the rich snippets attributes for our products. Note Both the product snippet and organization snippet validate perfectly, without any errors or warnings on the Structured Data

Omitting price property for sold products?

杀马特。学长 韩版系。学妹 提交于 2019-12-01 13:18:48
I'm adding Schema.org (using Microdata) to a product page. My client wants the price omitted for sold products - she doesn't want anyone to be able to see the price of sold products. However this was showing up as an error in the Microdata for 'price': check page in Google SDTT Obviously the average user will still not be able to see the price, but it's used by Google Shopping so might show up. Should I just put a price of 0? It’s perfectly fine to have an Offer without a price . If Google’s Structured Data Testing Tool complains, it does not necessarily mean that you have an error in your

Rich Snippets via Schema.org Implemented Via JSON+LD But Not Being Picked Up By Crawler

核能气质少年 提交于 2019-12-01 13:02:47
问题 We've implemented rich snippets for a product type, as well as rich snippets for the organization type. Both types have their attributes passed into a JSON+LD type script wrapper. Please see the markup and validation here: Structured Data Testing Tool Google picks up the organization type and this is verifiable because we've actually changed the logo on our organization card. However, Google has not picked up any of the rich snippets attributes for our products. Note Both the product snippet

Google improved search box within the search results not working

好久不见. 提交于 2019-12-01 08:15:45
问题 I follow Google’s tutorial for improved search box within the search results just like above screenshot. I added this code in my front sitepage: <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "WebSite", "url": "https://www.xxx.com/", "potentialAction": { "@type": "SearchAction", "target": "https://www.xxx.com/search/site/{keys}", "query-input": "required name=keys" } } </script> Am I doing something wrong? My site uses Drupal 7. 回答1: Looks correct (assuming

Google SDTT error: “All values provided for http://www.example.com/ must have the same domain.”

倾然丶 夕夏残阳落幕 提交于 2019-11-29 12:38:30
问题 When I copy/paste JSON-LD example from Google Documentation (code-snippet below) I get an error in the Structured Data Testing Tool: http://www.your-company-site.com (All values provided for http://www.example.com/ must have the same domain.) Why is Google's own documentation example giving an error? Code snippet from Google’s documentation: <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "Organization", "url": "http://www.your-company-site.com", "contactPoint"