MusicRecording
(Difference between revisions)
m
|
m
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Line 5: | Line 5: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|properties = [[byArtist]]:[[MusicGroup]], [[duration]]:[[Duration]], [[inAlbum]]:[[MusicAlbum]], [[inPlaylist]]:[[MusicPlaylist]]
|
|properties = [[byArtist]]:[[MusicGroup]], [[duration]]:[[Duration]], [[inAlbum]]:[[MusicAlbum]], [[inPlaylist]]:[[MusicPlaylist]]
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}
|
}}
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
? |
|
+ |
__TOC__
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
== Description ==
|
== Description ==
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description of a song.
|
Description of a song.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
? |
==Examples==
|
+ |
== Examples ==
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ |
=== Using RDFa 1.1 Lite ===
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ |
=== Using Microdata ===
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<source lang="html5">
|
<source lang="html5">
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<div itemscope itemtype="http://schema.org/MusicRecording">
|
<div itemscope itemtype="http://schema.org/MusicRecording">
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
? |
<span itemprop="byArtist" itemscope itemtype="http://schema.org/MusicGroup">
|
+ |
<span itemprop="byArtist">
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
? |
British rock band <span itemprop="name">Queen</span> </span>
|
+ |
<span itemscope itemtype="http://schema.org/MusicGroup">
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
? |
for their <span itemprop="inAlbum" itemscope itemtype="http://schema.org/MusicAlbum">
|
+ |
British rock band
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
? |
<span itemprop="dateCreated">1977</span> album <span itemprop="name">News of the World</span></span>
|
+ |
<span itemprop="name">Queen</span>
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
? |
</
|
+ |
</span>
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ |
</span>
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ |
for their <span itemprop="inAlbum">
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ |
<span itemscope itemtype="http://schema.org/MusicAlbum">
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ |
<span itemprop="dateCreated">1977</span> album
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ |
<span itemprop="name">News of the World</span>
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ |
</span>
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ |
</span>.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<p>
|
<p>
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
? |
<strong>Genre:</strong> <span itemprop="genre">Rock</span><br />
|
+ |
<strong>Genre:</strong> <span itemprop="genre">Rock</span><br />
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
? |
Listen here:<br />
|
+ |
Listen here:<br />
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
? |
|
+ |
<p itemscope itemtype="http://schema.org/AudioObject">
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
? |
|
+ |
<script type="text/javascript">
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
? |
|
+ |
var
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
? |
|
-#160-#160-#160-<-ins>fo-new-flashobject-quot-http-google.com-flash-preview-player.swf-quot-,-quot-flashplayer_719-quot-,-quot-358-quot-,-quot-16-quot-,-quot-6-quot-,-quot-#ffffff-quot-<-div><-td><-tr>
|
+ |
|
fo.addVariable("url","http://freemedia.org/WeAreTheChampions.mp3");
? |
|
+ |
|
fo.addVariable("autostart", "0");
? |
|
+ |
|
fo.write("flashcontent_719");
? |
|
+ |
|
</script>
? |
|
+ |
|
<meta itemprop="encodingFormat" content="mp3" />
? |
|
+ |
|
<meta itemprop="contentURL" content="http://freemedia.org/WeAreTheChampions.mp3" />
|
|
</p>
|
|
</p>
? |
|
<p><a href="download.htm" itemprop="offers">Download this song</a>
+ |
|
<p><a href="download.htm" itemprop="offers">Download this song</a></p>
|
+ |
|
</p>
|
|
</div>
|
|
</div>
? |
|
|
|
|
</source>
|
|
</source>
|
+ |
|
|
+ |
|
=== Using Microformats
|
Revision as of 15:08, 22 March 2012
Contents |
Description
Description of a song.
Examples
Using RDFa 1.1 Lite
Using Microdata
<div itemscope itemtype="http://schema.org/MusicRecording"> <span itemprop="byArtist"> <span itemscope itemtype="http://schema.org/MusicGroup"> British rock band <span itemprop="name">Queen</span> </span> </span> for their <span itemprop="inAlbum"> <span itemscope itemtype="http://schema.org/MusicAlbum"> <span itemprop="dateCreated">1977</span> album <span itemprop="name">News of the World</span> </span> </span>. <p> <strong>Genre:</strong> <span itemprop="genre">Rock</span><br /> Listen here:<br /> <p itemscope itemtype="http://schema.org/AudioObject"> <script type=-quot-text-javascript-quot-<-span>-gt-<-span> -var- -fo-new-flashobject-quot-http-google.com-flash-preview-player.swf-quot-,-quot-flashplayer_719-quot-,-quot-358-quot-,-quot-16-quot-,-quot-6-quot-,-quot-#ffffff-quot "sc2"></script> <meta itemprop="encodingFormat" content="mp3" /> <meta itemprop="contentURL" content="http://freemedia.org/WeAreTheChampions.mp3" /> </p> <p><a href="download.htm" itemprop="offers">Download this song</a></p> </p> </div>
=== Using Microformats