microdata

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

Am I allowed to use properties from Thing/CreativeWork/WebPage for an AboutPage item?

两盒软妹~` 提交于 2019-12-02 02:53:06
I'm trying to learn how Microdata works and I was looking at the Schema.org website and I kinda get how the basics works because you can find some outlined examples online of the Navigations, Headers, Sidebars and Footers - but I don't understand what properties you can use with more complex item types. Let's say I have an About page on my site. Nothing fancy, you just talk about your business but there is a item type http://schema.org/AboutPage you can use. So I visit that link but to be honest everything you see at that page isn't really written down for beginners I think. Am I allowed to

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

Blog Posts Optimized by Schema

坚强是说给别人听的谎言 提交于 2019-12-01 22:14:14
问题 I am quite new to these approach in optimizing my HTML with Rich Snippets. I am not sure what is the differences of each of the list items below: http://schema.org/Article http://schema.org/BlogPosting http://schema.org/Blog I got this code below example below, and I want to know what are the missing items or codes that could optimized a simple blog post that search engines can understand. I'd like to know all the rich snippets available for a blogpost. <div id="blog_post" itemscope=""

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

Is it OK to have multiple items of the same Schema.org type on a page?

倖福魔咒の 提交于 2019-12-01 21:08:29
I have a site which has three places where I would use Schema.org’s Organization ( itemtype="http://schema.org/Organization" ): the contact information with the affiliation for the contact person the site logo a profile for another organization How will search engines tell these three apart? The first two point to the same organization, but in different contexts. The last one does not represent our site at all but is a detailed profile for another organization. Will search engines know which ones refer to us and which one doesn't? unor If it’s the same entity (on the same document ) you

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

Microdata markup with properties on multiple pages

淺唱寂寞╮ 提交于 2019-12-01 19:00:31
问题 I'm creating a web page and currently I'm adding Microdata markup to the code. I’m using schema.org’s MusicGroup. I have an index.html page from where I'd like to take the name and the image properties for this band: <div class="container" itemscope itemtype="http://schema.org/MusicGroup"> ... <a href="index.php"><img itemprop="image" src="img/logo.png" alt="logo" /></a> <p>We are <span itemprop="name">NAME OF THE BAND</span>.</p> ... </div> However on the about_us.html page there is a short

Itemscope and itemprop at same level

只愿长相守 提交于 2019-12-01 17:48:45
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! You can have itemprop and itemscope on the same element, but it will mean something different. In this example, a Product item has the url property: <div itemscope itemtype="http:/

Implicity of web page structure in Schema.org

喜夏-厌秋 提交于 2019-12-01 16:53:59
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 ideally the main topic of the web page and associate properties at the top level, or is better to have