[uf-new] [hAudio] fn _or_ album

Manu Sporny msporny at digitalbazaar.com
Mon Nov 5 07:40:31 PST 2007


Martin McEvoy wrote:
> It seems correct and understandable to simply markup hAudio like this:
> 
> A track unknown album, detailed:
> <span class="haudio">
>  <span class="item">
>       <span class="fn">Hokkaido Dream</span>
>       <abbr class="duration" title="PT3M24S">3:24</abbr>
>    </span>
> </span>

Why do you need the extra ITEM in there... it's not necessary from a
semantic standpoint. Your example above would be better expressed like so:

<span class="haudio">
   <span class="fn">Hokkaido Dream</span>
   <abbr class="duration" title="PT3M24S">3:24</abbr>
</span>

> a single track known Album, detailed:
> <span class="haudio">
>  <span class="item">
>    <span class="album">Best Before 1984</span>
>       <span class="fn">Hokkaido Dream</span>
>       <abbr class="duration" title="PT3M24S">3:24</abbr>
>    </span>
> </span>

Again, ITEM isn't needed to imply the proper semantics:

<span class="haudio">
   <span class="album">Best Before 1984</span>
   <span class="fn">Hokkaido Dream</span>
   <abbr class="duration" title="PT3M24S">3:24</abbr>
</span>

> Album with two tracks, detailed:
> <span class="haudio">
>    <span class="album">Best Before 1984</span>
>    <span class="contributor">Crass</span>
>    <span class="item">
>       <span class="fn">Hokkaido Dream</span>
>       <abbr class="duration" title="PT3M24S">3:24</abbr>
>    </span>
>    <span class="item">
>       <span class="fn">Tokyo Groove</span>
>       <abbr class="duration" title="PT4M46S">4:46</abbr>
>    </span>
> </span>

This one is correct... but the formatted name of the top-most hAudio is
"Best Before 1984"... why wouldn't you want to explicitly specify what
the formatted name of the hAudio is? The only argument that I can see
for that approach is that you want to have an optimization by not
putting the FN in there. It would be easier to type.

> No misunderstandings, and easy to understand. I don't understand what
> benefits a publisher has using "fn album" over simply just "album"

You are being explicit about the formatted name, not implicit about its
formatted name.

> Microformats are supposed to use "simple conventions" and "use brief,
> descriptive class names", sorry about the quotes I am just emphasising
> my Issue.

I'd just like to point out that we're arguing over not having to type
out 2 letters - FN :)

-- manu



More information about the microformats-new mailing list