Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Microdata is a syntax for embedding structured data in HTML5, making use of vocabularies. If the question is about the popular vocabulary Schema.org, use the tag [schema.org].

0
votes
0answers
10 views

Google doesn't recognize structured data on my website [on hold]

Google doesn't recognize structured data on Drupal 7 website. I have installed the module https://www.drupal.org/project/structured_data My json+LD codes is, {"@context":"http://schema.org","@type":"...
0
votes
0answers
10 views

Organisation/ Author microdata & Business 'legal' info [on hold]

Is there a 'proper' way to provide legal information about an online business..? We have Author & Organisation microdata, what else should we add?
3
votes
2answers
42 views

“Organization” schema with another schema on the same page

Should I use the Organization schema on each page if I have another schema data, for example Event? Can I use Event and Organization on the same page? Organization code <script type="application/...
1
vote
0answers
21 views

Does JSON-LD structured data work with Google Plus shared website link snippets too?

I just recently switched my Web ID card (i.e. my primary web profile) website, over from Microdata to JSON-LD to get better, more fine-grained control over the structured data appearance, on Google ...
1
vote
1answer
21 views

Can use microdata on stars instead of a number in reviewRating?

This is my HTML code for a review on a user. The documentation for rating says you have to mark up a number like: <span itemprop="reviewRating">5</span>. However, I only use stars and ...
3
votes
1answer
284 views

Can I mix Microdata and JSON-LD on the same page for different entity

My website is using JSON-LD and Microdata. For example, in BreadcrumbList, I have used Microdata format, and for others (like Organization, TouristAttraction) JSON-LD has been used. Can I mix ...
2
votes
1answer
25 views

<meter> element’s value is not recognized in structured data

According to the Microdata specification, If the <meter> element has the [value] attribute and it is an itemprop, then the itemprop value should be the value of that [value] attribute. <div ...
6
votes
1answer
168 views

Does itemprop have a different meaning on links vs. span tags?

I'm using Schema.org markup for a Person, but I get inconsistent results in Google's Rich Snippet Testing Tool when using an <a> tag vs. a <span> tag. Take these two examples: <span ...
3
votes
1answer
48 views

Is there a representative logo for Structured Data which can be used on icons?

My suspicion is that the answer very likely is "No." But I thought I'd ask anyway. Various common protocols, standards and technologies have their own logos: e.g. GSM, Email, RSS, WiFi, HTML5, ...
1
vote
0answers
104 views

Can SiteNavigationElement in schema.org describe a navigational element which links out to external sites?

Deployment of some parts of schema.org still appear to be at a late experimental stage. After extensive debate, there appears to be a - tentative - method to describe the principal navigation section(...
2
votes
0answers
66 views

How do I get the Structured Data Testing Tool to ignore template elements?

I’m using Web Components to build a site, and one of the biggest features is my use of the <template> element. Here’s an example: <ul> <template> <li> <div ...
1
vote
2answers
73 views

Is it good to have duplicate Microdata properties on different tag on a single page?

I am adding Schema.org Microdata to one of the website homepage. This website has a logo which is surrounded with <a> anchor tag. This anchor tag already uses itemprop="url" like this: <a ...
3
votes
3answers
538 views

Microdata & JSON-LD Conflict on the same page or not?

For Wordpress website used Rich-Snippet Plugin, that added schema for pages using Microdata. I also applied Sitelink Search Box, Product schema, Article Schema For the Same site in different pages ...
1
vote
1answer
94 views

How to mark up the “isAccessoryOrSparePartFor” property for a replacement part?

I want to create a rich snippet for a replacement valve for a kitchen faucet. How do I associate that part to the parent product using Microdata and the isAccessoryOrSparePartFor property? This is ...
3
votes
1answer
802 views

Adding Schema.org’s “WPHeader” with Microdata

I'd like to add Schema.org data, and am trying to follow instructions given to me about how to do so. The instructions indicate that I should change my <header> tag from: <header> to &...
1
vote
1answer
55 views

Microdata markup for a chemical substance?

I'm trying to add Microdata markup to a table of properties of a chemical substance. Below is a sample of some of the properties of one of the chemical substances I'm trying to markup. I'm not ...
2
votes
1answer
424 views

Meta-content or time-datetime

How to show datePublished and dateModified Microdata? (I want to prioritize dateModified, this is why I do not show datePublished to the public) Option 1. If I understand this is not correct. Div ...
0
votes
1answer
41 views

Dates in USA for the normal user

I am from Europe. I am confused about dates in USA. I have seen different ways to show the date in USA: Rss feed: Thu, 15 August 2017 Schema and Sitemap: 2017-08-15 Wikipedia: August 15, 2017 https://...
1
vote
1answer
186 views

Should I add Microdata on the product listing page or on the product detail page?

In our website, we have a product listing page and the product detail page. My question is should we add the Microdata attributes on the listing page or on the details page? Or should it be on both? ...
0
votes
1answer
85 views

Schema.org (Microdata) for online application

I have a site with some onpage scripts such as "case converter" or "list sorter". I wish add microdata and I'm not sure about the right kind. The "app" is available only on page (no download, but just ...
1
vote
0answers
463 views

Schema Markup for Web Application Pages and Landing Pages

I have build a Web Application and the website is set-up like this: Landing Pages that consists of Home, Price, Features and Contact Us Web Application pages that are for logged in users and only ...
2
votes
1answer
403 views

itemprop for canonical link and meta description in the head

I've a problem with validation of the code provided by Google. Idea is (simplified): <head itemscope itemtype="http://schema.org/WebSite"> <title itemprop="name">Example.com - Best ...
1
vote
1answer
185 views

Article preview and non-text types in meta tags

I'm trying to figure out how to implement Schema.org right, and since the very beginning I faced some issues and I would be very happy if you make it clearer for me. First of all, basic structure of ...
1
vote
0answers
266 views

How to use structured data for service categories? [closed]

So I am trying to understand this confusing documentation from schema.org and want to fix my structured data. Lets say I offer music recording and production services. So to show through html: ...
3
votes
1answer
121 views

Schema.org Microdata Across Multiple Pages

Say I have markup like this on https://example.org/index.html: <span itemscope itemtype="https://schema.org/LocalBusiness"> <meta itemprop="url" content="https://example.org/index.html"&...
1
vote
1answer
233 views

Structured data disappeared from google console

I have two websites which are twin, both using schema.org microdata format to construct structured data. Both websites had their data visible in google webmaster console. But i noticed a sudden drop ...
2
votes
1answer
186 views

Using h-entry and schema.org at the same time

Is it ok to use both Microdata h-entry and schema.org in the same template? Or better to use one of them?
3
votes
1answer
86 views

Spammy microdata penalty reconsideration rejected

I'll be more than happy if someone could give me any hint where i could be wrong. Some time ago site of a client got spammy microdata penalty. The situation was following - one local business markup ...
4
votes
2answers
3k views

Which one does Google prefer, Microdata or JSON-LD?

Here Google says they prefer JSON-LD: JSON-LD is the recommended format. Google is in the process of adding JSON-LD support for all markup-powered features. The table below lists the exceptions ...
0
votes
2answers
248 views

How to use price range inside “Offer” type?

I have category pages that contain products. Some of the products have fixed prices and some of the products have price ranges. Also any product has a seller that must be inside Offer. Right? So I ...
1
vote
1answer
244 views

HTML5 Microdata - itemref to another itemscope (CollectionPage containing all the blogs)

On the Google structured testing tool, it shows that they are all separate instances. I'm trying to have them list to each other. This is what I have now: <section class="primary content-area" ...
2
votes
1answer
468 views

Is there a Microdata version of JSON-LD’s “@id”?

I'm trying to generate Microdata markup (making use of Schema.org). I know that JSON-LD has a "@id" which helps reference that whatever data is. Is there a similar thing for Microdata? As I wouldn't ...
2
votes
0answers
259 views

LocalBusiness with multiple locations on same page

I am trying to add local business Schema.org markup on a website. I have one concern, there are around 10 different locations for the business and all those locations are on 1 page, that means they ...
2
votes
1answer
545 views

“image” property inside Article with or without ImageObject?

Can I use itemprop image directly?: <article itemscope itemtype="http://schema.org/Article"> <img itemprop="image" src="1.png"> <h1 itemprop="headline name" >Title of the post</...
1
vote
1answer
653 views

Schema.org ImageObject url

Schema.org’s ImageObject example uses itemprop="contentUrl". I tested this simplified code in Google: https://search.google.com/structured-data/testing-tool gives me an error: A value for the url ...
1
vote
2answers
213 views

How to embed a Schema.org data type?

How to embed items of a different data type? Schema.org explains it here: https://schema.org/docs/gs.html I use Google’s markup helper (www.google.com/webmasters/markup-helper/) that creates ...
2
votes
1answer
111 views

Schema.org caption inside Article?

Ho to use Schema.org in the caption of an image? I see that caption is not present in BlogPosting nor Article. I made a search and it seems that it is in ImageObject. But if I am inside itemscope ...
1
vote
1answer
198 views

Schema.org - Microdata and JSON-LD behave diffrently for same code [duplicate]

Having a hard time with JSON-DL and several blogPost. The way I see it, both Microdata one and JSON-DL one is exactly the same, yet the latter only show one blogPost, where Microdata show both. HTML ...
2
votes
1answer
974 views

Correct way to use sameAs itemprop in Microdata

My client has recently implemented the sameAs markup for the social media profiles. They have used Microdata as they don't want to use JSON-LD as they feel it'll be some work to go through the site ...
8
votes
2answers
7k views

BlogPosting Publisher Logo 'logo.itemtype has an invalid value' on Google Structured Data Testing Tool

The following runs through the Google Structured Data Testing Tool as expected: <div> <div itemprop="publisher" itemscope id="organization-example" itemtype="https://schema.org/...
2
votes
2answers
55 views

Microdata markup - do I add to EACH markup reference?

I have a resource which ranks #1 on the web for conference listing. I've discovered and been advised to add Microdata markup since it does no harm and if anything it helps search engines understand ...
4
votes
1answer
63 views

How do you get ecommerce stuff into an organic listing?

I did a search for "eve mattress" & noted that they have a worked credit example in the organic listing - searching the page source doesn't show that this is done using microdata like: https://...
2
votes
1answer
64 views

How to handle an unrated object with AggregateRating?

In terms of microdata, what is the proper way of displaying an unrated item such as a schema.org/Article? I was thinking about one of the following: Do not specify any aggregateRating property for ...
6
votes
2answers
10k views

How to specify publisher in schema.org's Article structured data?

I am trying to use the Article type from schema.org: <article itemscope itemtype="https://schema.org/Article"> <!-- ... --> <meta itemprop="publisher" content="MyCorp" /> </...
3
votes
1answer
636 views

Best way to define 'mainEntityOfPage' in Microdata?

I know at least 2 ways to define mainEntityOfPage: <div itemprop="about" itemscope itemtype="http://schema.org/Product"> <link itemprop="mainEntityOfPage" href="http://example.com/article-...
1
vote
1answer
271 views

Can 'mainEntityOfPage' point to another page?

I have two pages: page1.html: WEBPAGE->MainEntity->ARTICLE { inside ARTICLE I have PRODUCT with short description } page2.html: WEBPAGE->MainEntity->PRODUCT { "Full ...
2
votes
2answers
205 views

Schema.org in Microdata or in JSON-LD?

Should I use Microdata markup on my blog or should I put just an JSON-LD with all info, or is using both the best option? A bit of explanation. I am trying to mark up my blog and I manage to get to 1 ...
1
vote
1answer
213 views

Isn't JSON-LD a form of hiding schema/microdata?

I'm adding schema data/microdata to my web pages. I see that both schema.org and Google they discourage hidden microdata via tags and hiding elements with microdata via style. I can see the reasoning ...
1
vote
1answer
360 views

How to specify services for the LocalBusiness?

How can I show Googlebot by attributes from Schema.org that my company provide services below? Repair, installation and modernization: gas installation water instalation electrical installation ...
1
vote
1answer
598 views

How to specify the service region for a LocalBusiness?

How can I show Googlebot by attributes from Schema.org the geographic area where the services are available? Our services are available in cities and in their vicinity: Walsall Dudley Wolverhampton ...