[英]Structured data for “carousel” snippet in Google Search: is it necessary to make “ItemList” the root element?
I make a structured data of the category page on which the list of articles is displayed. 我制作了显示文章列表的类别页面的结构化数据。 It is necessary that when searching in Google this list is displayed as a "carousel".
在Google中搜索时,此列表必须显示为“轮播”。
https://developers.google.com/search/docs/guides/mark-up-listings - here is the documentation for marking the "carousel" with screenshots. https://developers.google.com/search/docs/guides/mark-up-listings - 这是使用屏幕截图标记“carousel”的文档。
Is it necessary to make ItemList
the root element in the markup structure? 是否有必要使
ItemList
成为标记结构中的根元素?
Can an ItemList
be made a child of a CollectionPage
element? 可以将
ItemList
设为CollectionPage
元素的子级吗? That is, as follows: 即,如下:
<body itemscope itemtype="http://schema.org/CollectionPage">
<div itemprop="mainEntity" itemscope itemtype="http://schema.org/ItemList http://schema.org/CreativeWork">
...
Will the Google search engine understand the “ CollectionPage
> ItemList
( mainEntity
)” structure as a correct structure for the carousel? Google搜索引擎
mainEntity
“ CollectionPage
> ItemList
( mainEntity
)”结构理解为轮播的正确结构吗?
as a @unor says - the easiest way is to test this structure in Testing Tool: https://search.google.com/structured-data/testing-tool . 正如@unor所说 - 最简单的方法是在测试工具中测试这种结构: https ://search.google.com/structured-data/testing-tool。
Your code has 0 ERRORS 0 WARNINGS 您的代码有0个错误0警告
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.