W3C home > Mailing lists > Public > public-vocabs@w3.org > October 2011

Coded Correctly?

From: PG <garvinpr2@fastmail.fm>
Date: Wed, 19 Oct 2011 09:56:11 -0400
Message-Id: <1C1C446C-4270-4ACF-AFFA-5D0FB09687C2@fastmail.fm>
To: public-vocabs@w3.org
Hello,

I'm wondering if I can get feedback on the accuracy of my implementation of schema.org in this code. Some background: this unordered list is meant to identify metadata for an audio recording. You will note a number of deeply nested <spans> because I'm trying to make it clear how metadata is related. Any thoughts?

<ul itemscope itemtype="http://schema.org/CreativeWork">
	<li><h4>Interview Title:</h4> <span itemprop="name">The Early Years</span></li>
	<li><h4>Interviewee:</h4> <span itemprop="contributor">Sally Pausin</span></li>
	<li><h4>Date of Birth:</h4> <span itemprop="contributor" itemscope itemtype="http://schema.org/Person"><time itemprop="birthDate" datetime="1965-06-22">June 22, 1965</time></time> </li>
	<li><h4>Place of Birth:</h4> <span itemprop="contributor" itemscope itemtype="http://schema.org/Person"><span itemprop="birthPlace">La Jolla, CA</span></span></li>
	<li><h4>Affiliation:</h4> <span itemprop="contributor" itemscope itemtype="http://schema.org/Person"><span itemprop="affiliation" itemscope itemtype="http://schema.org/Organization"><span itemprop="name">Professor, CUNY</span></span></span></li>
	<li><h4>Interview Date:</h4> <time itemprop="dateCreated" datetime="2011-04-01">April 1, 2011</time></li>
	<li><h4>Length:</h4> <span itemprop="associatedMedia" itemscope itemtype="http://schema.org/MediaObject"><span itemprop="audio" itemscope itemtype="http://schema.org/AudioObject "><time itemprop="duration" datetime="PT1H20M04S">1:20:04</time></span></span></li>
	<li><h4>Resource type:</h4> <span itemprop="associatedMedia" itemscope itemtype="http://schema.org/MediaObject"><span itemprop="name">Audio</span></span></li>
	<li><h4>Format:</h4> <span itemprop="encodingFormat">MP3</span></li>
	<li><h4>Subject:</h4> <span itemprop="keywords"><a href="#">Organizations</a></span></li>
	<li><h4>Rights:</h4> <span itemprop="copyrightHolder" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Sally Pausin</span></span></li>
	<li><h4>Reproduction Policies:</h4> <span itemprop="accessRights">Do not distribute</span></li>
	<li><h4>Digital ID:</h4> <span itemprop="resourceIdentifier">HG6675</span></li>
	<li><h4>Reference URL:</h4> <span itemprop="url"><a href="#">http://www.x.com</a></span></li>
</ul>

P
Received on Thursday, 20 October 2011 09:04:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 06:48:56 GMT