MusicRecording

From getSchema
Jump to: navigation, search

Name:
URL:

Supertypes

Subtypes

All Properties

Own Properties



This Page Semantic Annotations


Contents

Description

Description of a song.

Examples

Using RDFa 1.1 Lite

<div vocab ="http://schema.org/" typeOf="MusicRecording">
  <span property="byArtist"> 
    <span typeOf="MusicGroup">
      British rock band 
      <span property="name">Queen</span> 
    </span>
  </span>
  for their <span property="inAlbum"> 
    <span typeOf="MusicAlbum"> 
      <span property="dateCreated">1977</span> album  
      <span property="name">News of the World</span>
    </span>
  </span>.
<p>
  <strong>Genre:</strong> <span property="genre">Rock</span><br />
  Listen here:<br />
  <p property="audio">
    <span typeOf="AudioObject">
     <script type="text/javascript">
      var 
       fo = new FlashObject("http://google.com/flash/preview-player.swf", "flashPlayer_719", "358", "16", "6", "#FFFFFF");
       fo.addVariable("url","http://freemedia.org/WeAreTheChampions.mp3");
       fo.addVariable("autostart", "0");
       fo.write("flashcontent_719");
     </script>
     <span itemprop="encodingFormat">mp3</span><br />
     <a itemprop="contentUrl" href="http://freemedia.org/WeAreTheChampions.mp3">You can find it here</a>
   </span>
 </p>
  <p><a href="download.htm" property="url">Download this song</a></p>
</p>
</div>

Using Microdata

<div itemscope itemtype="http://schema.org/MusicRecording">
  <span itemprop="byArtist" itemscope itemtype="http://schema.org/MusicGroup">
    British rock band 
   <span itemprop="name">Queen</span> 
  </span>
  for their 
  <span itemprop="inAlbum" itemscope itemtype="http://schema.org/MusicAlbum"> 
    <span itemprop="dateCreated">1977</span> album  
    <span itemprop="name">News of the World</span>
  </span>.
<p>
  <strong>Genre:</strong> <span itemprop="genre">Rock</span><br />
  Listen here:<br />
  <p itemprop="audio" itemscope itemtype="http://schema.org/AudioObject">
     <script type="text/javascript">
      var 
       fo = new FlashObject("http://google.com/flash/preview-player.swf", "flashPlayer_719", "358", "16", "6", "#FFFFFF");
       fo.addVariable("url","http://freemedia.org/WeAreTheChampions.mp3");
       fo.addVariable("autostart", "0");
       fo.write("flashcontent_719");
     </script>
     <span itemprop="encodingFormat">mp3</span><br />
     <a itemprop="contentUrl" href="http://freemedia.org/WeAreTheChampions.mp3">You can find it here</a>
 </p>
  <p><a href="download.htm" itemprop="url">Download this song</a></p>
</p>
</div>

Using Microformats

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox