[uf-new] PROPOSAL: Replace hAudio FN with TITLE

Andy Mabbett andy at pigsonthewing.org.uk
Fri Feb 15 06:14:01 PST 2008


On Fri, February 15, 2008 12:59, Tim White quoted:

> On Fri, Feb 15, 2008 at 12:24 AM, Manu Sporny <msporny at digitalbazaar.com>
> wrote:

>> Yes, you are correct. Usually, each Microformat states how this should
>> be handled. So far, the general parsing rule has been "use whatever value
>> you hit first if the Microformat can only have one value for the given
>> property". While the example above shows it going right, the example
>> below shows how it can go wrong:
>>
>> <div class="haudio">
>> <div class="vcard">
>> The <span class="title">Composer</span> named
>> <span class="fn">Bob</span> created
>> <span class="title">Awesome Song</span>
>>
>>
>> </div> <!-- end vcard -->
>> </div> <!-- end haudio -->

[Manu's e-mail has not reached here yet]

Wait 'til you try to mark up:

  <span class="vcard haudio">
    <span class="fn org">The Beatles</span>' eponymous album.
  </span>

Surely:

  <span class="vcard haudio">
    <span class="fn org title">The Beatles</span>' eponymous album.
  </span>

or:

  <span class="vcard haudio">
    <span class="fn org album">The Beatles</span>' eponymous album.
  </span>

are better?

-- 
Andy Mabbett
** via webmail **



More information about the microformats-new mailing list