[uf-new] hAudio ITEM/TRACK debate resolution

Martin McEvoy martin at weborganics.co.uk
Sun Oct 21 08:25:57 PDT 2007


On Sun, 2007-10-21 at 09:59 -0500, David Janes wrote:
> On 10/21/07, David Janes <davidjanes at blogmatrix.com> wrote:
> > On 10/21/07, Martin McEvoy <martin at weborganics.co.uk> wrote:
> >
> > > Could We reuse Item :type and Item :info ?
> > >
> > > <div class="haudio">
> > > <div class="item">
> > >   <span class="type">Album</span>:
> > >     <span class="fn">Best Before 1984</span>
> > >     By: <span class="contributor">Crass</span>
> > > </div>
> > >       <div class="item">
> > >            <span class="fn">Nagasaki Nightmare</span>
> > >            <span class="duration">4:46</span>
> > >      </div>
> > >       <div class="item">
> > >            <span class="fn">Big A, Little A</span>
> > >            <span class="duration">6:13</span>
> > >      </div>
> > > </div>
> > >
> > > Would give publishers the flexibility of describing their own collection
> > > types and contents.
> >
> > The downside being that you're now making content providers explicitly
> > put a string (i.e. the type) that they may think is implicitly obvious
> > and unnecessary.
> >

Maybe true but lets talk about it :)

> 
> And I should also note that parameterizing the role of an embedded
> microformat using addition class names is reasonably well established:
> i.e. "author vcard" in hAtom
> 
> Regards, etc...

Could It be done  Like this?

<div class="haudio">
<div class="item">
    <span class="type" title="Release">
        <span class="fn">Best Before 1984</span>
    </span>
    By: <span class="contributor">Crass</span>
</div>
      <div class="item">
           <span class="fn">Nagasaki Nightmare</span>
           <span class="duration">4:46</span>
     </div>
      <div class="item">
           <span class="fn">Big A, Little A</span>
           <span class="duration">6:13</span>
     </div>
</div>

type titles can be Album, Release, Podcast, Chart, Toplist, even Episode
and Track  but would this be too restrictive? I think It may be a more
flexible approach than having class names for all these properties.


Thanks

Martin


> 



More information about the microformats-new mailing list