[uf-new] hAudio proposal: ITEM/TRACK
Manu Sporny
msporny at digitalbazaar.com
Sun Oct 14 20:20:06 PDT 2007
Scott Reynen wrote:
>> How would you show the artist and duration of that track, using the
>> latter model?
>
> We wouldn't. I see now that Manu's recent definition of text-only
> track's "(which will be the FN of an hAudio object)" is more restrictive
> than the (lack of) definition in the wiki [1]. My suggestion would only
> work under this more restrictive definition. Do we have use cases in
> mind for unstructured plain-text tracks? I've forgotten why we included
> that option in the first place.
Plain-text tracks are being considered for two reasons:
1. It eases the markup needed for publishers. The less mark-up required,
the better.
2. Music bloggers use that approach[1] quite often for marking up albums
and songs in free-flowing paragraphs.
Looks like we have two approaches so far for the hAudio "container":
Approach #1 ITEM+HAUDIO:
<span class="haudio">
<span class="fn album">Album Name</span>
<span class="contributor">Artist Name</span>
<div class="item haudio">
<span class="fn">A Song</span> –
<abbr class="duration" title="P268T">4:46</abbr>
</span>
<span class="haudio item">Spoken Word</span>
<span class="item haudio">
<span class="fn">Another Song</span> –
<abbr class="duration" title="P268T">4:46</abbr>
</span>
</span>
Approach #2 HAUDIO-only:
<span class="haudio">
<span class="fn album">Album Name</span>
<span class="contributor">Artist Name</span>
<div class="haudio">
<span class="fn">A Song</span> –
<abbr class="duration" title="P268T">4:46</abbr>
</span>
<span class="haudio">Spoken Word</span>
<span class="haudio">
<span class="fn">Another Song</span> –
<abbr class="duration" title="P268T">4:46</abbr>
</span>
</span>
I'm leaning more towards approach #1 if we don't use TRACK. The second
approach would confuse haudio's that are referred to in an haudio
description as a "contains song" relationship on the haudio when they
really just have a "sounds like" relationship. For example:
<span class="haudio">
<span class="description">
The entire
<span class="fn album">Country Album</span>
is done in the same style as the following song called
<span class="haudio">Other Country Song</span>
by a completely different artist and on a completely different
album. The first album is done by
<span class="contributor">Country Star</span>.
</span>
</span>
The above example, using approach #2 would generate the wrong MicroModel
("Other Country Song" would be listed as contained in "Country Album",
when that wasn't the publishers intent). This is bad because the style
of the paragraph above is used quite often in music blogs or when
reviewing music.
Scott, Andy - do each of you have further thoughts on approach #1
(assuming we can change the definition for ITEM)? Would it be acceptable
to either of you?
-- manu
[1] http://wiki.digitalbazaar.com/demos/scissorkick/scissorkick.html
More information about the microformats-new
mailing list