Benefits/drawbacks to different Schema markup languages (ie. JSON-LD, Microdata, RDFa)
-
Just a question (or questions) I have wondered about. What's the difference, besides the actual encoding, between the three? Why have three? Why not just the one? Seems to me that Microdata is the easiest, but maybe I am wrong. Is there a reason to use one versus another? I have not found anything explaining this on schema.org - I suppose this is just a discussion versus getting one right or wrong answer. I am just curious of the opinions of people in the SEO MOZ community. Unless of course there is one answer. I'll take that too.
-
Great, Peter. Thanks for the answers. I now understand the difference. Much appreciated.
-
That's right. JSON-LD doesn't require change of HTML compared with Microdata and RDFa. And this is one of answers why JSON-LD is beautiful. Second is because you can make changes in JSON-LD without touching HTML. Like adding new fields, parameters, etc.
About placing. I think that this can be just on home page. Placing in each page is pure rich snippet spam.
-
Hi Peter,
Thanks for the answer. So, as I understand it, and keep in mind this is coming from someone that is not very code-savvy, with JSON-LD, one could put the script anywhere in the HTML, the header, the body, the footer, etc. and it won't show up on the actual page, but the search engine will be able to read it. This implies that no changing or tweaking of the actual HTML is necessary, no messing around with 's or
's like you would with Microdata or RDFa, correct?
A follow up question, if I may, how would you implement something like a "local business" schema with JSON, would you put the script on every page, in the footer perhaps? Or would you just put it on the home page? Does it matter?
Thanks
-
So far we have Microdata, RDFa and JSON-LD.
I'll cover Microdata and RDFa in same because they're similar. So they both are addition to HTML attributes indicating what Schema.org field names correspond with what user-visible text on the page. Works perfect but need lot of developer work and designer changes. Because both backend (admin interface) and frontend (HTML) must be changed. And there are many issues that can be messed - incorrect implementation, "rich snippet spam", software bugs, etc. Look easy as 1-2-3 but in reality it's pain (PIA) for implementation and support. Example - only product implementation require in backend least 10 edit boxes if they're manual filled.
JSON-LD - it's relative new protocol based on Schema.org. The main benefit is that you split representation layer (HTML) from semantic layer (JSON-LD). In prev. formats - they're same and linked each other. Now they're split. This give you much more freedom than before. You can place HTML data whatever you wish and just add hidden JSON in head or in content that will add semantic marking. This is future (for now).
If you wish to read more about creation of JSON-LD then this article is for you:
http://manu.sporny.org/2014/json-ld-origins-2/
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
SEO Strategy - Content/Outreach/Links
Hi everyone I'm trying to prioritise my tasks for 2018 & wondered if anyone had any useful templates they use? In terms of SEO tasks, my priority was going to be content/outreach/links - Focusing on user guides/blogs onsite Then outreach articles/some PR that doesn't go against Google guidelines offsite. My struggle with the onsite content/blogs we produce is we have no real social media plan/manager so my content outreach always seems hampered by this. I've tried taking on some of the social stuff, but this ends up being too much for just me to do. I wondered if there were any other SEOs who face this issue and who have found some good solutions? I'm stuck in a bit of a rut and can't seem to effectively push forward with outreach/content writing. Thank you Becky
Intermediate & Advanced SEO | | BeckyKey1 -
Aggregate review schema
Hi Guys, Im working with a SaaS client in the flatmate sharing industry and I need to ask the following: Here's a screenshot showing the reviews people have submitted.
Intermediate & Advanced SEO | | niclaus78
https://www.dropbox.com/s/2ra6cdb5w609o8d/Screen Shot 2016-01-13 at 2.46.12 pm.png?dl=0 1-Is there a chance Google will include these reviews as it doesn't have a way of checking if they are real? They are in this case so that's why would be great to include them. 2- the stars don't seem to be in html, how can we mark the stars to be indexed by google? I want to include this schema
https://developers.google.com/structured-data/rich-snippets/reviews#aggregate_ratings I don't think we would be able to full-fill these items, what do you think? <code>spanvocab="http://schema.org/"typeof="Review"> <span< span="">property="itemReviewed"typeof="Thing"> <span< span="">property="name">Super Book This is not a boook is a service, what should I put here?</span<></span<> <span< span="">property="author"typeof="Person"> <span< span="">property="name">Joe</span<></span<> <span< span="">property="reviewRating"typeof="Rating"> Rating: <span< span="">property="ratingValue">7</span<> out of <span< span="">property="bestRating">10</span<></span<> <span< span="">property="publisher"typeof="Organization"> Whato this property means? Reviews are made by customers not organizations. <meta< span="">property="name"content="Washington Times"> same as abobe, they are not publishers.</meta<></span<></code> If you could help me it would be greatly appreciated. Thanks <code>Nico</code>0 -
What tags/coding are not good for SEO?
what tags/coding are not good for SEO? and also what tags not to include while creating website. For example - I read some where to avoid Span tag.
Intermediate & Advanced SEO | | JordanBrown0 -
Duplicate content on sites from different countries
Hi, we have a client who currently has a lot of duplicate content with their UK and US website. Both websites are geographically targeted (via google webmaster tools) to their specific location and have the appropriate local domain extension. Is having duplicate content a major issue, since they are in two different countries and geographic regions of the world? Any statement from Google about this? Regards, Bill
Intermediate & Advanced SEO | | MBASydney0 -
Should I make multiple landing pages for different cities?
I am trying to market my company to North Carolina & West Virginia. This is a bit of a challenge since the name is "Decorative Concrete of Virginia." My idea was to create landing pages for the specific areas (Greensboro & Raleigh, NC for now).... A new landing page them that I purchased came with a plugin that would allow you to generate a ton of landing pages with little effort by replacing some elements of the landing page, depending on the URL... For example, I have these two URLs set up right now: http://www.decorativeconcreteofvirginia.com/northcarolina/test/raleigh/nc http://www.decorativeconcreteofvirginia.com/northcarolina/test/greensboro/nc My question is... Is merely changing the city in each landing page enough, or should I change some of the other content too? I was going to create one landing page for NC, and then try to include all of the cities on that one page... but perhaps it would be easier to rank if I had one for each city. Any thoughts on this would be greatly appreciated. Thanks! Tim
Intermediate & Advanced SEO | | Timvroom0 -
Schema - Could a company like mine benefit from this yet?
Hey there - I've been reading about rich snippets and was thinking of hiring a programmer to implement this. In my industry I would be the only one thus far on front page with a highly competitive keywords and would be displaying 5 stars based on our testimonials etc, would that be acceptable? These testimonials are not on my homepage so if I implemented would it be a misuse of these tags? My site is mortgage / financial company and I don’t see much in available tags yet except for “location” and “reviews” I could implement. I'm just trying to figure this out and I greatly appreciate any feedback! 😄
Intermediate & Advanced SEO | | CliffAuerswald0 -
Schema for Hotel
I was interested in setting up rich snippets for all our hotels. I having a difficult time finding an example for a hotel without reviews. If you could add reviews, is there a way of showing your ratings on google places? I would like to add a picture, price, reviews, etc. for www.paradisus-puntacana.com/? Anyway, you can help me out with forming a rich snippet for this hotel?
Intermediate & Advanced SEO | | Melia0 -
Canonical URL redirect to different domain - SEO benefits?
Hello Folks, We are having a SEO situation here, and hope your support will help us figure out that. Let's say there are two different domains www.subdomian.domianA.com and www.domainB.com. subdomain.domainA is what we want to promote and drive SEO traffic. But all our content lies in domainB. So one of the thoughts we had is to duplicate the domainB's content on subdomian.domainA and have a canonical URL redirect implemented. Questions: Will subdomain.domainA.com get indexed in search engines for the content in domainB by canonical redirect? Do we get the SEO benefits? So is there any other better way to attain this objective? Thanks in advance.
Intermediate & Advanced SEO | | NortonSupportSEO0