microdata

Can you have multiple itemprop=description on a page?

不问归期 提交于 2019-11-28 00:33:37
I can't seem to find the answer for this anywhere. I've got itemscope itemtype="http://data-vocabulary.org/Review" on the body tag. Now the content on the page is spread across multiple divs with images and such between. If I were to wrap it all, then other content would actually come first before the main body, so I need to be able to put the itemprop="description" on multiple divs. It seems to show up OK in the google snippets tool but I want to know if it would be fine or whether it'd only take 1 into account? unor Well, you are adding several descriptions for the same item. That’s fine

JSON-LD and Microdata on the same page?

北城余情 提交于 2019-11-28 00:04:29
I have both Micro Data and JSON-LD on my e-commerce product pages, describing the same thing (products in my case). For reasons beyond the scope of this question, I cannot remove either of the two formats. I am wondering: Is this a problem for Google? The structured data testing tool does display two items (products) instead of one. If one property, let's say the name of the product, is slightly different between the two formats, would any of the two formats, for example, JSON-LD take priority? unor The problem is that a consumer would think that different things are described (or more

Breadcrumb with Schema.org not showing in Google Rich Snippets testing tool

我是研究僧i 提交于 2019-11-27 22:32:29
问题 I have tested the Schema.org breadcrumb example with Google Rich Snippets testing tool. <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> The result is that it is not recognized by the tool. So, is there a bug or is there a syntax problem? If so, what is the correct syntax? 回答1: Your question is a bit the same with this one How to implement schema.org

The correct approach to markup “keywords” of a blog post by using HTML5 and Microdata?

倾然丶 夕夏残阳落幕 提交于 2019-11-27 18:46:12
问题 The keywords property from Schema.org, as it being in plural form suggests, seems to imply its value should be a line of comma-separated text . Like the following example: <p itemprop="keywords">lorem, ipsum, dolor, sit, amet</p> That reminds me of the <meta name="keywords" content="lorem, ipsum, dolor, sit, amet"> tag we used to put within <head></head> for SEO reason. However, from semantics' perspective, I think the above example is incorrect because keywords should be a list of words .

Schema.org NewsArticle: invalid value for logo property

这一生的挚爱 提交于 2019-11-27 16:14:00
I try to markup a little section in my code as NewsArticle but I can't get it to validate. If I do this <div itemscope itemprop="publisher" itemtype="https://schema.org/Organization"> <span itemprop="name">My Company</span> </div> the validator complains that there is no logo . And if I add a logo like this <div itemscope itemprop="publisher" itemtype="https://schema.org/Organization"> <img itemprop="logo" src="https://www.mysite.de/resources/assets/71/small/my_logo_web.png" /> <span itemprop="name">My Company</span> </div> the validator complains that the attribute contains an invalid value.

How do I relate items in schema.org?

坚强是说给别人听的谎言 提交于 2019-11-27 16:06:41
问题 Suppose I have this simple HTML page about a guy getting a job: <!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title>New Job for John Doe</title> </head> <body> <h1>New Job for John Doe</h1> <p>This week John Doe accepted an offer to become a Software Engineer at MITRE. John graduated from MIT in 2005 with a BS in Computer Science. He previously worked at a small company near Boston. Blah, blah, blah.</p> <p>The MITRE Corporation is a not-for-profit organization chartered to work in

HTML5 Microdata - itemref to another itemscope (Person works for Organization)

岁酱吖の 提交于 2019-11-27 11:39:55
问题 The website of an organization, say "Sun Industries", would like to add a list of employees. The address and contact information of the organization is already present at the webpage, but the list of employees would be somewhere else. So we have <div id="organization" itemscope itemtype="http://schema.org/Organization"> <span itemprop="name">Sun Industries</span>, <span itemprop="location" itemscope itemtype="http://schema.org/Place"> <span itemprop="address" itemscope itemtype="http://schema

Microdata or JSON-LD? I'm confused

放肆的年华 提交于 2019-11-27 09:58:05
问题 I haven't found a clear and updated answer, even after googling for a few hours, so here it goes: I am aware of the advantages and disadvantages of both Microdata and JSON-LD. I also know that Microdata was dropped from W3C (and consequently from the browsers' API). What I'm not sure about is that how it will affect any site where Microdata is used specifically for SEO purpose. Does Google support JSON-LD for SERPs? What format does it recommend to use? I am looking for updated answers - not

Schema.org/Microdata markup for list of recent posts without providing “author” / “publisher”?

与世无争的帅哥 提交于 2019-11-27 09:54:17
The following code shows a list of links to recent posts on an experimental blog site I am playing with. The problem is that this fails Google's Structured Data Testing Tool because it is missing required items such as author and publisher . But I don't want to show these for recent posts and I don't want to show them for every blog post either. What should I do? Get rid of the structured data? Put the required stuff in and hide it with CSS? Or leave as is? <section> <header> <h4 class="h4-padding">Recent Posts</h4> </header> <ul> <li> <article itemprop="blogPost" itemscope itemtype="http:/

Why does Google Testing Tool use the “id” attribute to generate a URL for the Microdata item?

笑着哭i 提交于 2019-11-27 09:44:19
I'm using some Microdata to describe a blog post, and I'm surprised by the value return for Schema.org’s BlogPosting by the Google Developers Testing Tool. I would have expected it to be the itemprop url , not a merge of the website URL and the item id . Am I doing something wrong, or is it only a Google display issue? <div itemscope="itemscope" itemprop="blogPost" itemtype="http://schema.org/BlogPosting" id="foobar"> <a itemprop="url" href="/realone">real</a> </div> Value returned by https://developers.google.com/structured-data/testing-tool/ : BlogPosting: http://www.example.com/foobar url: