作为概念验证,我已经设置了一个静态页面,其中的内容遵循与示例相同的模式 Google's documentation
我在此页面的网址上创建了Google自定义搜索。然而, 自定义搜索显示0结果。在自定义搜索控制台上它也显示了我, 总索引为0。 没有抓取错误。 我等了24个多小时。 我还要求谷歌在抓取选项下为网站编制索引。 我需要做些什么才能设置一个将在我的自定义搜索中使用自定义数据类型编入索引的页面?
<html>
<head>
<!--
<PageMap>
<DataObject type="book">
<Attribute name="title">The Biomechanics of a Badminton
Smash</Attribute>
<Attribute name="author">Avelino T. Lim</Attribute>
<Attribute name="description">The smash is the most
explosive and aggressive stroke in Badminton. Elite athletes can
generate shuttlecock velocities of up to 370 km/h. To perform the
stroke, one must understand the biomechanics involved, from the body
positioning to the wrist flexion. </Attribute>
<Attribute name="page_count">25</Attribute>
<Attribute name="rating">4.5</Attribute>
<Attribute name="last_update">05/05/2009</Attribute>
<Attribute name="isbn">9999999999</Attribute>
<Attribute name="lexile">123</Attribute>
<Attribute name="library">ls</Attribute>
<Attribute name="library">kpmid</Attribute>
</DataObject>
<DataObject type="book">
<Attribute name="title">The Biomechanics of a Badminton
Smash2</Attribute>
<Attribute name="author">Avelino T. Lim</Attribute>
<Attribute name="description">The smash is the most
explosive and aggressive stroke in Badminton. Elite athletes can
generate shuttlecock velocities of up to 370 km/h. To perform the
stroke, one must understand the biomechanics involved, from the body
positioning to the wrist flexion. </Attribute>
<Attribute name="page_count">25</Attribute>
<Attribute name="rating">4.5</Attribute>
<Attribute name="last_update">05/05/2009</Attribute>
<Attribute name="isbn">99999999992</Attribute>
<Attribute name="lexile">123</Attribute>
<Attribute name="library">ls</Attribute>
<Attribute name="library">kpmid</Attribute>
</DataObject>
</PageMap>
-->
</head>
<body>
</body>
</html>
&#13;