Mobile app version of vmapp.org
Login or Join
Moriarity557

: 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,

@Moriarity557

Posted in: #SchemaOrg

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

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Moriarity557

1 Comments

Sorted by latest first Latest Oldest Best

 

@Shanna517

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme