[uf-new] hAudio: audio-title/album-title vs. recording/album
Scott Reynen
scott at makedatamakesense.com
Fri Oct 12 13:41:28 PDT 2007
On Oct 12, 2007, at 2:01 PM, Manu Sporny wrote:
> If we were to use FN, it would be impossible to distinguish between an
> album (an concept that can contain more than one hAudio) and a
> song/speech (an individual hAudio).
I don't think that's true. hCard uses FN for two different types of
contacts: organizations and people. The main item's name is
class="fn". If that main item is an organization, it's class="fn
org". If the main item is a person within a stated organization, the
person's name is class="fn" and the organization's class="org".
hAudio is only slightly more complicated because we can also have an
album with several tracks, whereas we never use a single hCard to
list an organization and several members. For that case we could
still use "track". Examples of how this might work based on Julian's
earlier examples:
Single track, with known album (same as putting text in the ‘album’
field of an ID3 tag):
<span class="haudio">
<span class="fn">Nagasaki Nightmare</span>
<span class="album">Best Before 1984</span>
<span class="contributor">Crass</span>
</span>
Single track, album unknown:
<span class="haudio">
<span class="fn">Nagasaki Nightmare</span>
<span class="contributor">Crass</span>
</span>
Album:
<span class="haudio">
<span class="fn album">Best Before 1984</span>
<span class="contributor">Crass</span>
</span>
Album with a couple of tracks, simple example:
<span class="haudio">
<span class="fn album">Best Before 1984</span>
<span class="contributor">Crass</span>
<span class="track">Nagasaki Nightmare</span>
<span class="track">Nagasaki Nightmare</span>
<span class="track">Nagasaki Nightmare</span>
</span>
Album with a couple of tracks, more detailed:
<span class="haudio">
<span class="fn album">Best Before 1984</span>
<span class="contributor">Crass</span>
<span class="track haudio"><span class="fn">Nagasaki Nightmare</
span> – <abbr class="duration" title="P268T">4:46</abbr></span>
<span class="track haudio"><span class="fn">Nagasaki Nightmare</
span> – <abbr class="duration" title="P268T">4:46</abbr></span>
<span class="track haudio"><span class="fn">Nagasaki Nightmare</
span> – <abbr class="duration" title="P268T">4:46</abbr></span>
</span>
--
Scott Reynen
MakeDataMakeSense.com
More information about the microformats-new
mailing list