[uf-discuss] hAudio issue: position

Martin McEvoy martin at weborganics.co.uk
Fri Jan 11 08:37:11 PST 2008


Hello Andy

I have cross posted this email to microformats new as I believe hAudio
is still in development and any Issues anyone may have with haudio
should really be posted there.

On Thu, 2008-01-10 at 23:35 +0000, Andy Mabbett wrote:
> The recommended use of "position" in hAudio:
> 
>    <http://microformats.org/wiki/haudio#Complete_Album_Example>
> 
> is contrary to the good practice, semantic use of ordered lists ("OL").
> 
> The mark up on the wiki:
> 
>    <div class="item">
>       <span class="position">1</span>.
>       <span class="fn">Sanity</span>
>       (<abbr class="duration" title="PT5M48S">5:48</abbr>)
>     </div>
>     <div class="item">
>      <span class="position">2</span>.
>      <span class="fn">Highway To Hell</span>
>      (<abbr class="duration" title="PT3M39S">3:39</abbr>)
>   </div>
> 
> should be:
> 
>   <ol>
>     <li class="item">
>       <span class="fn">Sanity</span>
>       (<abbr class="duration" title="PT5M48S">5:48</abbr>)
>     </li>
>     <li class="item">
>      <span class="fn">Highway To Hell</span>
>      (<abbr class="duration" title="PT3M39S">3:39</abbr>)
>     </li>
>   </ol>
> 
> leaving no numerals to be marked up.

Position was a late addition because most of the examples we were
studying used tables in the design of their web pages, we also found
that XOXO or OL doesn't work in tables
http://microformats.org/discuss/mail/microformats-new/2007-June/000482.html
 
so now you can do both, use an ordered list without marking up
"position" and also use hAudio in tables with the ability to markup
position. 


Thanks

Martin McEvoy
> 



More information about the microformats-discuss mailing list