Quantcast
Channel: How to implement schema.org containedIn? - Stack Overflow
Viewing all articles
Browse latest Browse all 2

How to implement schema.org containedIn?

$
0
0

I'm marking up a property listing website with Schema.org microdata. The hierarchy of my website is arranged like so:

-City--Region---Postcode----Area

Each of these are individual pages with links to one another, all marked up with the Place itemtype. I'd like to use the containedIn property to describe the relationship between these different pages, but couldn't find any examples of how to best do this.

E.g. on a "region" page, I have the following to link back to "city", but am unsure if this is sufficient or correct:

<meta itemprop="containedIn" content="New York">

Surely pointing the search engines to the actual city page URL for New York would be more useful than just giving a name? Anyone have any hints or references for this?


Viewing all articles
Browse latest Browse all 2

Trending Articles





<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>