1. 您的位置:首页 > seo技术 >内容

什么是最简单的结构化数据?

Twitter上的一项民意调查旨在回答以下问题:结构化数据的最佳形式是什么?两种流行的表单架构标记。标记HTML的代码。另一个是脚本(JSON-LD),可以像元标记或JavaScript一样将其放入。

什么是最简单的twitter结构化数据?

到目前为止,最流行的结构化数据形式是JSON-LD。易于使用的原因是可以轻松缩放。

Twitter上的一项民意调查旨在回答哪种结构化数据最简单?

如果您使用的是基于PHP的CMS,则可以轻松地使用PHP代码片段将所需内容插入JSON-LD结构化数据模板中。这使得可以轻松集成到WordPress或任何其他基于PHP的CMS中。

缺点是它是一种新的学习语言。但是,与其他计算和标记语言不同,没有很多规则可以记住。了解了基本规则以及站群的《结构化数据指南》后,几乎一切皆有可能。

尽管有这些优势,一个Twitter用户还是分享了that in their opinion JSON-LD is difficult to scale and that they preferred marking up the HTML code using Schema microdata:

Another person stated the opposite, that adding markup to HTML is more difficult than adding a JSON-LD script to a page.

John Henshaw observed that both ways had their benefits and drawbacks.

I agree with that asses**ent. While JSON-LD is a little more difficult to understand than the microdata, in my opinion it’s less difficult to learn than HTML. And the benefit of JSON-LD is that it’s easier to scale.

Read the Twitter poll here.

More Resources

Just How Important Is Structured Data in SEO?

Structured Data 站群 Penalties – 5 Mistakes to Avoid

Does Structured Data Markup Indirectly Help Rankings?

SEO for Rich Results: How to Find & Fix Structured Data Errors

Images by Shutterstock, Modified by Author

Screenshots by Author, Modified by Author

本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。如若转载,请注明出处:http://www.botadmin.cn/sylc/656.html