JSON-LD & SEO
阅读原文时间:2023年07月09日阅读:3

JSON-LD & SEO

https://json-ld.org/

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

结构化数据

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

    <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

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



xgqfrms 2012-2020

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