microdata

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

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

What is the difference between metadata & microdata?

给你一囗甜甜゛ 提交于 2019-12-01 11:01:28
I am quite puzzled with these two terminologies. I know the basic meaning of metadata is "data about the data" . Microdata means the webpages are now more accessible to the search engines . But what separates these two terms? unor Microdata is the name of a specific technology, metadata is a generic term. Metadata is, like you explain, data about data. We’d typically want this metadata to be machine-readable/-understandable, so that search engines and other consumers can make use of it. In the typical sense, metadata is data about the whole document (e.g., who wrote it, when it was published

Separate rich snippet scopes for the same item

◇◆丶佛笑我妖孽 提交于 2019-12-01 07:22:52
问题 I am creating rich snippets for my webshop. One of the itemtypes I use is the "Organization" type. The problem with this is that I have specified the Organisation name and the image in the header of my webshop and the address in the footer. In between is the rest of the webshop with all it's products, reviews etc. When I test my rich snippets with http://www.google.nl/webmasters/tools/richsnippets, I get two separate Organisations instead of one. Is there a way to combine my two scopes to

Publisher and Name Microdata

依然范特西╮ 提交于 2019-12-01 06:54:53
问题 In a BlogPosting or an Article if the publisher is a person how to use Schema.org and Microdata? I could find that answer: Proper way to use 'publisher' in BlogPosting <div itemprop="publisher" itemscope itemtype="http://schema.org/Person"> <span itemprop="name">Some Name</span> </div> But the Google Testing Tool says: The attribute publisher.itemtype has an invalid value Perhaps I do not understand well well the answer? How to use publisher if it is a person or if it is the same than the

Product size: width, height and depth

我是研究僧i 提交于 2019-12-01 06:29:42
I'm using schema.org definition to represent a product. I have a doubt about product size: should I specify the unit of measure in the field? Here's my code (I need a separate span for "cm" to style it differently): <div itemscope itemtype="http://schema.org/Product"> <h1 itemprop="name">Product name</h1> Size: <span itemprop="width">60 <span>cm</span></span> <span itemprop="height">50 <span>cm</span></span> <span itemprop="depth">40 <span>cm</span></span> </div> Is this the correct way to define the size? unor The width / depth / height properties expect Distance or QuantitativeValue as value

What is the relation between Schema.org, Goodrelations-vocabulary.org and Productontology.org?

依然范特西╮ 提交于 2019-11-30 19:55:34
问题 What is the relation between Schema.org, Goodrelations-vocabulary.org and Productontology.org? Schema.org informs, "W3C schema.org Community Group is the main forum for the project". Google, Microsoft, Yahoo and Yandex are founding companies. Are Google, Microsoft, Yahoo and Yandex accepting Goodrelations-vocabulary.org and Productontology.org standard as well? If not, is it good idea to use them for future? Although Google did not mention, I read that there are some differences regarding

How to extract/parse HTML using Microdata

自作多情 提交于 2019-11-30 10:25:26
I am pretty new to Microdata. I have a HTML string with Microdata. I am trying to figure out if it's possible to extract the required information dynamically using Microdata with JS or jQuery. Has anyone done this before? Example HTML string: I am trying to get the 'content' corresponding to itemprop 'ratingValue' for item prop-name 'Blendmagic' <html> <div itemscope itemtype="http://schema.org/Offer"> <span itemprop="name">Blendmagic</span> <span itemprop="price">$19.95</span> <div itemprop="reviews" itemscope itemtype="http://schema.org/AggregateRating"> <img src="four-stars.jpg" /> <meta