schema.org

Itemscope and itemprop at same level

梦想的初衷 提交于 2019-12-01 16:38:40
问题 I have a link that looks like this: <a href="//href" itemscope itemtype="http://schema.org/Product"> <img src="src" itemprop="image"> </a> I'd like to put itemprop="url" in the <a> tag, but it contains the itemscope for that product. Can I put that at the same level as itemtype= ? Or, do I either need to wrap the whole thing in a div to make it work, or use a <meta> tag for the itemprop="url" microdata? Thanks! 回答1: You can have itemprop and itemscope on the same element, but it will mean

Implicity of web page structure in Schema.org

坚强是说给别人听的谎言 提交于 2019-12-01 15:44:54
问题 After reading thousand of posts, questions, blog articles and opinions, I'm still a bit confused about how to markup a web page with microdata. If the main purpose of microdata is to help search engine to better understand the content of a web page (and web page is assumed implicitly), is it correct to start with itemtype Webpage in the body element, and then continue to markup the rest of nested elements defining which is the main entity, or is it better to start with an itemtype that is

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

Link `isRelated` schema.org to parent `Product` when not contained in child element

只愿长相守 提交于 2019-12-01 14:21:09
I'm trying to indicate multiple related products on a product page using schema.org microdata. But the child products are orphaned because they are not contained in the parent div. I tried using itemref but I must be using it incorrectly or it must be the wrong solution. ALSO, I cannot easily create a wrapper div or use the body element to create the parent. My ideal solution would be one that leaves the page structure as-is, and somehow links the "child product" divs to the parent. I thought itemref would do that, but it doesn't appear to be working. Here is example HTML. <div id="main

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

Defining multiple URLs within a Person

99封情书 提交于 2019-12-01 11:31:26
I'm defining a Schema.org Person item on my website using Microdata. Most of it is self-explanatory. However, each mini profile on a summary page has three URLs - one which links to the Person's full ProfilePage , and two more for LinkedIn and Twitter. Do I define all three as URLs, or do I ignore the social media account URLs, because only the "read more" style link is actually the URL for that person? unor For the link to the person’s profile page on your site, you should ‎definitely use the url property . For the links to the person’s profiles on other sites, the answer isn’t that clear¹:

Display of last Schema.org breadcrumb entry in Google Search?

血红的双手。 提交于 2019-12-01 08:39:19
I'm trying to markup my breadcrumbs according to Schema.org in order to get breadcrumbs in the Google results like this: Home > Category > Current page But with my current markup it only shows: Home > Category Is something missing in my markup ( example page )? I'm using Navxt plugin for WordPress. <div class="breadcrumbs" typeof="BreadcrumbList" vocab="http://schema.org/"> <!-- Breadcrumb NavXT 5.4.0 --> <span property="itemListElement" typeof="ListItem"><a property="item" typeof="WebPage" title="Go to Omdömen.se." href="http://www.xn--omdmen-yxa.se" class="home"><span property="name">Hem<

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

AMP error: Missing supported structured data element

試著忘記壹切 提交于 2019-12-01 07:38:08
I have an aggregator site for books. I created dedicated AMP (Accelerated Mobile Page) for each book. Example AMP URL: http://konyvar.hu/amp/nicholas-sparks/az-utolso-dal Example canonical URL: http://konyvar.hu/nicholas-sparks/az-utolso-dal In Google Webmaster Tools, I see the following error for this page: Missing supported structured data element Google offers me to Open Test Tool , but it says: All good Please help me, I have no idea, what I'm doing wrong. Am looking at http://konyvar.hu/amp/nicholas-sparks/az-utolso-dal . I think you'll need to declare the AMP page as a NewsArticle or