: Can 'WebSite' be used inside 'ItemList'? I have a list of websites that are related to a particular topic. I am adding ItemList to the whole page and website inside ListItem. In Google docs,
I have a list of websites that are related to a particular topic. I am adding ItemList to the whole page and website inside ListItem.
In Google docs, the WebSite type is not mentioned, but it's there in Schema.org. So can it be used like this or is there any other preferred way to do this?
For topic page
ItemList
ListItem (WebSite schema inside)
ListItem (WebSite schema inside)
ListItem (WebSite schema inside)
…
For website page
WebSite schema
name
description
url
…
More posts by @Moriarity557
1 Comments
Sorted by latest first Latest Oldest Best
Yes, you can have an ItemList with WebSite entries.
The itemListElement property can take every Schema.org type as value. If the position inside the list is not important (i.e., the entries are not ranked), you don’t have to use ListItem, you could use WebSite directly instead.
To make sure that a consumer doesn’t mistakenly consider all the WebSite items to be about the current website:
For the topic page, you could use:
CollectionPage mainEntity ItemList
For the website page, you could use:
ItemPage about/mainEntity WebSite
From these CollectionPage/ItemPage items, you could point to your own WebSite with isPartOf.
Note that Google Search provides a feature that makes use of ItemList + ListItem: Carousels. But this doesn’t apply to lists with WebSite entries. So if you get errors/warnings in Google’s Structured Data Testing Tool, they might be related to this feature.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.