[英]Correct deployment of structured data for Google rich cards
I am confused as to the correct inclusion of structured data, primarily for google rich media. 对于正确包含结构化数据(主要是针对Google富媒体),我感到困惑。
1. Must/should every page have it's own json, or should the root page contain the json for all pages? 1.每个页面必须/应该具有自己的json,还是根页面应包含所有页面的json?
2. The structured data is essentially JavaScript. 2.结构化数据本质上是JavaScript。 Does it have to be inline, or can it be in another file?
它必须是内联的,还是可以在另一个文件中?
3. A normal browser might waste time with big structured data JavaScript - information which is irrelevant to it. 3.普通的浏览器可能会浪费大量的结构化数据JavaScript时间-与之无关的信息。 Is there a good solution/best practice for dealing with this?
是否有解决此问题的最佳解决方案/最佳实践?
<script>
- but it isn't a javascript. <script>
-但它不是JavaScript。 And no, it can't be in another file.
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.