我很高兴终于有人问了。
该页面必须至少有 2 段,并且第一段的长度必须至少为 270 个字符。我刚刚做了严格的测试并发现了这一点。
以下将起作用
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="Description" CONTENT="Sample for Google assistant">
<title>Sample for Google assistant</title>
</head>
<body>
<h1>A title</h1>
<p>
Here is an text sample.Here is an text sample.Here is an text sample.Here is an text sample.Here is an text sample.Here is an text sample.Here is an text sample.Here is an text sample.Here is an text sample.Here is an text sample.Here is an text sample.Here is an text sample.
</p>
<p>
Here is an text sample.
</p>
</body>
</html>
此外,即使你没有问这个:谷歌助手似乎也无法阅读超过 4 div 深度的内容。例如,我必须注释掉下面的 div 才能让我自己的网页正常工作,不完全确定为什么,但我认为它的 div 深度。
<html lang="en">
<body class="bg-light">
<div class=" ">
<div class="content">
<div class="container container-small bg-white Pa_50px rounded my-2">
<div style="" class="row">
<!-- <div style="" class="Wi_100Per BoSi_BoBo"> -->
<!-- <div style="vertical-align:top;" class="Wi_100Per d-inline-block"> -->
<!-- <div class="p-2"> -->
<!-- <pre style="white-space: pre-wrap;"> -->
<p>
Here is an text sample.Here is an text sample.Here is an text sample.Here is an text sample.Here is an text sample.Here is an text sample.Here is an text sample.Here is an text sample.Here is an text sample.Here is an text sample.Here is an text sample.Here is an text sample.
</p>
<p>
Here is an text sample.
</p>
<!-- </pre> -->
<!-- </div> -->
<!-- </div> -->
<!-- </div> -->
</div>
</div>
</div>
</div>
</body>
</html>
脚注:当然要确保您从 Chrome 开始。我也承认你经历过你只需要一个段落。