Mobile app version of vmapp.org
Login or Join
Gail5422790

: What is a good Microdata method for listing a list of events? I have a list of events that change over time, so items get added while others drop off after their dates expire. For point

@Gail5422790

Posted in: #Microdata #Seo

I have a list of events that change over time, so items get added while others drop off after their dates expire. For point of reference, they are conventions. I've never used microdata before and would like to lay out the page correctly.

Should the whole page be an itemscope or the individual entries? Because if you look at this example:

<div itemscope itemtype="http://www.domain.org/events">


The URL that has the events list is events just like that example. If you have each entry with that URL , wouldn't that be a major mistake? So I am assuming itemscope should be used for the entire page of entries? If that's right, what tag should I use instead of itemscope to identify each entry in the list of events?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Gail5422790

2 Comments

Sorted by latest first Latest Oldest Best

 

@Shanna517

Each itemscope creates an (= one) item.

What this item should be, depends on the vocabulary you use. Both cases are conceivable: an item could be a list of events, or it could be a specific event. If the item would be a list of events, each event (that is part of this list) would itself be another, different item.

If you want to use the schema.org vocabulary, each event would be of type schema.org/Event (resp. a more specific type).

So a webpage with information about 3 (different!) events could look like:

<section>
<h1>Events</h1>

<article itemscope itemtype="http://schema.org/Event">

</article>

<article itemscope itemtype="http://schema.org/Event">

</article>

<article itemscope itemtype="http://schema.org/Event">

</article>

</section>


(Depending on your actual content, a list (e.g., ul resp. ol) might be appropriate.)

schema.org doesn’t define a type for a list of events. But there is a general list type: schema.org/ItemList

A list of items of any sort—for example, Top 10 Movies About Weathermen, or Top 100 Party Songs.


So if you think that this is appropriate for your page, it could look like:

<section itemscope itemtype="http://schema.org/ItemList">
<h1>Events</h1>

<article itemprop="itemListElement" itemscope itemtype="http://schema.org/Event">

</article>

<article itemprop="itemListElement" itemscope itemtype="http://schema.org/Event">

</article>

<article itemprop="itemListElement" itemscope itemtype="http://schema.org/Event">

</article>

</section>


Now this list (ItemList) has three (itemListElement) events (Event).

10% popularity Vote Up Vote Down


 

@Candy875

It depends on how your page is structured and what the main theme of your page is. If the entire page consists of events at one particular venue, then I would recommend using the venue as your primary itemscope itemtype then including the various event markups within it. It would also be a good idea to create a separate page for each event so that you can include a unique URL for each event. If you want your event rich snippets to appear in Google, that is one of their requirements when a page lists multiple events.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme