33

Google On Which Structured Data it Prefers: JSON-LD or Microformat? by @martinib...

 5 years ago
source link: https://www.tuicool.com/articles/hit/nyAfMbF
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

In a Webmaster Hangout, Google’s John Mueller was asked what kind of structured date Google prefers. John Mueller answered that Google prefers JSON-LD structured data.

What is JSON-LD?

JSON-LD is a scripting language that allows publishers to communicate important information to search engines.

According to the official JSON-LD website :

“Data is messy and disconnected. JSON-LD organizes and connects it, creating a better Web.
It is a way to create a network of standards-based, machine-readable data across Web sites.”

JSON-LD scripts can be added to a web page in a manner that can be templated within a website, making it easy to add, update and remove.

The official Schema.org structured data specification can be found at Schema.org (surprise!)

What is Microformat Structured Data?

Microformat structured data communicates the same information that JSON-LD does, but it is embedded within the HTML of the website. In my opinion, this could complicate the addition and removal of structured data.

Which Type of Structured Data does Google Prefer?

Someone asked the following question:

“What type of Schema markup is preferable for Google? Should I use Jason or… micro formats? Which format is preferable?”

John Mueller answered:

“We currently prefer JSON-LD markup. I think most of the new structured data that are kind of come out for JSON-LD first. So that’s what we prefer.”

Google Prefers JSON-LD Structured Data

Google’s John Mueller made it clear that Google preferred JSON-LD structured data. Personally, I prefer it as well because it’s easier to implement. The scripting language follows a set of easily learned rules and can easily be added or removed from a site.

How to Implement JSON-LD Structured Data

The official Schema.org JSON-LD structured data Schema.org website has many examples of how to write the structured data code. Just take an example and use it as a template.

Here’s an image of an example without structured data:

fqQB7b7.png!web

This is an example of the exact same content expressed as JSON-LD Schema.org structured data:

YR3MBba.png!web

Google’s stated preference is for JSON-LD. It may be in your best interest to consider switching over to JSON-LD structured data if you currently use microformat. But at this time it’s not actually necessary because Google can still read it and interpret it. But sometimes, it’s best to future proof content. It’s up to you at this time because Google isn’t actually requiring one format over another.

Watch the Google Webmaster Hangout here .

Screenshots by Author, Modified by Author


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK