xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

JSON-LD & SEO

JSON-LD & SEO

https://json-ld.org/

https://en.wikipedia.org/wiki/JSON-LD

Google Search structured-data

结构化数据

https://developers.google.com/search/docs/guides/intro-structured-data

script type="application/ld+json

    <script type="application/ld+json">
    {
      "@context": "https://schema.org/",
      "@type": "Recipe",
      "name": "Party Coffee Cake",
      "author": {
        "@type": "Person",
        "name": "Mary Stone"
      },
      "datePublished": "2018-03-10",
      "description": "This coffee cake is awesome and perfect for parties.",
      "prepTime": "PT20M"
    }
    </script>

<html>
  <head>
    <title>Party Coffee Cake</title>
    <script type="application/ld+json">
    {
      "@context": "https://schema.org/",
      "@type": "Recipe",
      "name": "Party Coffee Cake",
      "author": {
        "@type": "Person",
        "name": "Mary Stone"
      },
      "datePublished": "2018-03-10",
      "description": "This coffee cake is awesome and perfect for parties.",
      "prepTime": "PT20M"
    }
    </script>
  </head>
  <body>
  <h2>Party coffee cake recipe</h2>
  <p>
    This coffee cake is awesome and perfect for parties.
  </p>
  </body>
</html>

https://developers.google.com/search/docs/guides/intro-structured-data

Google 结构化数据测试工具

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





https://withcandour.co.uk/blog/episode-15-an-introduction-to-structured-data-and-schema-with-andrew-martin

refs



©xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


posted @ 2019-10-01 14:34  xgqfrms  阅读(165)  评论(5编辑  收藏  举报