Microdata, RDFa or JSON-LD Appropriate or best usage?

后端 未结 6 2064
旧时难觅i
旧时难觅i 2020-12-07 15:02

I have been wondering which of those formats is \"best\"? Schema.org, Microdata, and RDFa are bit of a pain to implement. They can break validation and require quite an effo

6条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-07 15:05

    From scratch, JSON-LD would be the way to go. Let's let one of the primary creators of JSON-LD, Manu Sporny, weigh in:

    The desire for better Web APIs is what motivated the creation of JSON-LD, not the Semantic Web. If you want to make the Semantic Web a reality, stop making the case for it and spend your time doing something more useful, like actually making machines smarter or helping people publish data in a way that’s useful to them.

    JSON-LD is all about publishing the data in ways that are useful/easy to implement because...

    it’s based on technology that most web developers use today.

提交回复
热议问题