Search 谷歌自定义搜索,结构化数据不起作用
我目前正在一个网站上扩展Google站点搜索/自定义搜索设置的功能。 我对这个问题不是很在行,但我用“Pagedata”元素设置了网站地图,其中包含一些额外的数据,比如日期和类别Search 谷歌自定义搜索,结构化数据不起作用,search,google-search,google-custom-search,Search,Google Search,Google Custom Search,我目前正在一个网站上扩展Google站点搜索/自定义搜索设置的功能。 我对这个问题不是很在行,但我用“Pagedata”元素设置了网站地图,其中包含一些额外的数据,比如日期和类别 <url> <loc> http://www.videnscenterfordemens.dk/viden-om-demens/til-patienter-og-paaroerende </loc> <lastmod>2013-10
<url>
<loc>
http://www.videnscenterfordemens.dk/viden-om-demens/til-patienter-og-paaroerende
</loc>
<lastmod>2013-10-28</lastmod>
<PageMap xmlns="http://www.google.com/schemas/sitemap-pagemap/1.0">
<DataObject type="document" id="hibachi">
<Attribute name="category">En kategori</Attribute>
<Attribute name="date">20131028</Attribute>
</DataObject>
</PageMap>
</url>
http://www.videnscenterfordemens.dk/viden-om-demens/til-patienter-og-paaroerende
2013-10-28
卡泰戈里酒店
20131028
类似这样的查询可获取具有特定类别的页面:
q=patienter+more:pagemap:document categori:En-kategori
但是它不返回上面的页面,而是返回其他甚至没有类别集的页面。
你知道我需要做什么,才能在具有特定类别属性的页面中搜索吗
另外,在进行更改后,谷歌已为网站地图编制了索引。调试此网站的一种方法是结构化的: 在“谷歌自定义搜索”选项卡中,您可以看到谷歌为搜索识别的属性。似乎你的页面地图没有出现在那里-也许可以和你提到的其他页面核对一下,看看有什么不同
此外,通过站点地图进行注释仅适用于经验证的站点所有者。如果您是videnscenterfordemens.dk的所有者,可能需要使用网站管理员工具验证您的网站?尝试按以下方式更改页面地图,您应该会在Devnook链接的结构化数据测试工具中看到它
<PageMap >
<DataObject type="document" id="hibachi">
<Attribute name="category" value="En kategori" />
<Attribute name="date" value="20131028" />
</DataObject>
</PageMap>
Hmmm。这在网站管理员工具上得到验证。。将我的页面地图放在html中更好吗?我只是觉得有点乱。。。我的pagemap结构正确吗?现在使用此方法在html中添加了pagemap。。但测试工具仍然表示没有结构化数据