W3C home > Mailing lists > Public > public-vocabs@w3.org > February 2013

Schema.org markup on <body> tag

From: Joshua Wulf <jwulf@redhat.com>
Date: Tue, 12 Feb 2013 19:13:15 -0500 (EST)
To: public-vocabs <public-vocabs@w3.org>
Message-ID: <994225689.907590.1360714395673.JavaMail.root@redhat.com>
We're currently working on a schema.org to triples parser. How do we handle this:

I have a Wordpress blog site [1] with a schema.org plugin. The plugin puts this into the body tag:

<body itemtype="http://schema.org/Blog" itemscope="" class="home blog" data-twttr-rendered="true">

Inside that body I have an address that is marked up with LocalBusiness:

<div itemscope="" itemtype="http://schema.org/LocalBusiness">
      <span itemprop="name">Atma Yoga</span>
      <span itemprop="description">Yoga studio in the Brisbane CBD.</span>
  <div itemprop="address" itemscope="" itemtype="http://schema.org/PostalAddress">
     <span itemprop="streetAddress"><strong>1st Floor, 99 Elizabeth Street</strong></span> <span itemprop="addressLocality"><strong>Brisbane</strong></span><br>
     Phone: <span itemprop="telephone"><strong>0458 108 008</strong></span>

So the LocalBusiness item occurs inside the body tag. 

Two questions:

1. Is this valid?
2. Does it imply semantically that the LocalBusiness item is somehow an attribute of the item identified in the body tag, the blog?

- Josh

[1] http://www.atmayoga.com.au
Received on Wednesday, 13 February 2013 00:13:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:48:53 UTC