OpenGraph or Schema.org?

后端 未结 8 1013
情歌与酒
情歌与酒 2020-11-27 11:18

Just wondering whether you guys out there are favouring the OpenGraph protocol following markup like:



        
8条回答
  •  暖寄归人
    2020-11-27 11:35

    Google does favor schema, and open graph is better for web content that is related to social media. Your sample code looks good, but don't forget to include the prefix

    
    

    in the head of each page that has ogp.

    You can check to make sure the ogp or schema works by using the rich snippet testing tool

    http://www.google.com/webmasters/tools/richsnippets

    In the case of Schema, you can check by using the SDTT: Structured Data Testing Tool

    https://search.google.com/structured-data/testing-tool

提交回复
热议问题