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
-
How To Optimize For Same Word, Different Spelling
Hi all. Just wondering what peoples stance is on using multiple variations of keywords on a webpage - those keywords that have the same meaning and search intent, but are just spelt differently. i.e. 'woodscrews' and 'wood screws' (the latter has a significantly higher search volume) You could approach the webpage in 4 different ways; 1. Use ONLY 'wood screws' on-page, and in the page <title><br />2. Use ONLY 'woodscrews' on-page, and in the page <title><br />3. Use BOTH 'wood screws' and 'woodscrews' on-page, and BOTH in the page <title><br />4. Use BOTH 'wood screws' and 'woodscrews' on-page, but ONLY one variation in the page <title></p> <p>We've run some tests in the past but there were never any clear takeaways, a mixed bag of results really.</p> <p>Also, If they are considered the same keyword by Google why are the ranking positions always different for each variation?</p> <p>I'm not sure there' a specific answer to this, just interested to hear peoples thoughts really.</p> <p>Many thanks in advance!</p> <p>Lee.</p></title>
Intermediate & Advanced SEO | | Webpresence0 -
Glossary/Terms Page - What is the best way?
We have a glossary section on our website with hundreds of terms. At the moment we have it split into letters, e.g. there one page with all the terms starting with A, another for B etc.. I am conscious that this is not the best way to do things as not all of these pages are being indexed, and the traffic we get to these pages is very low. Any suggestions on what would be the best way to improve this? The 2 ideas I have at the moment are Have every term on a separate page, but ensuring there is enough copy for that term Leave as is, but have the URL change once a user scrolls down the page. E.g. the first page would be www.website.com/glossary/a/term-1 then once the user scrolls past this terms and onto the next one the URL would change to www.website.com/glossary/a/term-2
Intermediate & Advanced SEO | | brian-madden0 -
Schema Markup for Multiple Locations
I am reaching out to see if I correctly set up Schema Markup on our website for multiple locations.Our company has HQ in Little Chute WI but we have 6 other office locations. We have a separate page for each office within our website. I inserted ProfessionalService Schema Markup, using GTM. I used the address of our HQ Little Chute office on all pages besides the 6 pages that have different office locations. I then individually set up unique ProfessionalService Schema Markup for the 6 locations with their unique location addresses. Did I do this correctly? Thanks
Intermediate & Advanced SEO | | CharityHBS0 -
Where does Movie Theater schema markup code live?
What I am trying to accomplishI want what AMC has. When searching google for a movie at AMC near me, Google loads the movie times right onto the top of the first page. When you click the movie time it links to a pop up window that gives you the option to purchase from MovieTickets.com, Fandango or AMC.com.Info about my theaterMy theater hosts theater info and movie time info on their website. Once you click the time you want it takes you to a third party ticket fulfillment site via sub domain that I have little control over. Currently Fandango tickets show up in Google like AMCs but the option to buy on my theater site does not.Questions Generally, how do I accomplish this? Does the schema code get implemented on the third party ticket purchasing site or on my site? How can I ensure that the Google pop-up occurs so that users have a choice to purchase via Fandango or on my theaters website? TSt9g
Intermediate & Advanced SEO | | ColeBField2 -
How to rank for a location/country without having a physical address in that location/country
How do I go about it if my physical address (office) is in Country A but I want to rank my website in Country B, C and D (without having an office or physical address in the countries B, C and D)? I am aware of people setting up virtual offices in other countries/cities and adding them to Google Places/Maps with toll free phone numbers, but I don't wish to do any of that. I know Google will catch up with this one day or the other and punish me hard for trying to play games with it. Is there a way rank a website in another country without actually having a physical location there? If yes, please guide me how to go about it.
Intermediate & Advanced SEO | | KS__0 -
Schema.org Markup for Currencies in Multiple Countries.
Hello - Just getting in to a bit of Markup for rich snippets etc. This site sells from New Zealand , but our target market is Australia and most of our sales are there and we locate it there in Webmaster tools. Our Site changes currency / location automatically detecting IP Addresses. So -primarily I have a product with multiple variations on one page that I want to show offers in Google.com.au - in Australian Dollars Syntol Probiotic
Intermediate & Advanced SEO | | s_EOgi_Bear
90 caps $25AUD 180 Caps $50AUD 360 Caps 75AUD Here is the page http://www.return2health.net/syntol.html Ideas around that? Ideally I would like to add some country specific data to it I guess..?0 -
Benefit of Diversifying Your Hosting Providers
Is there a benefit to diversifying your hosting providers? I mean if there are 10 client sites on one shared hosting package and they all have links to my company because we give ourselves credit on all the sites we build. Will Google give the links to me less weight or even look at it as some link building scheme? Does private registration prevetn things like this. Would it help if i got my own IP's from different C blocks? Thank you in advance Mozzer family!!
Intermediate & Advanced SEO | | WebbyNabler0 -
Is my schema implemented correctly and not spammy?
i already used the validation tool from Google. It tell's me it's implemented, but i would like to know specifically if everything is implemented correctly and in a non spam way. Here is a product link to test: http://www.suddora.com/pink-sweatbands-wholesale-pink-wristbands.html
Intermediate & Advanced SEO | | Hyrule1