[uf-new] hAudio ISSUE #8: hAlbum is redundant

Manu Sporny msporny at digitalbazaar.com
Sun Sep 9 06:41:21 PDT 2007


Martin McEvoy wrote:
> On Sat, 2007-09-08 at 16:20 -0400, Manu Sporny wrote:
>> Most of hAlbum's properties overlap with hAudio. In fact, the only two
>> properties that do not overlap with hAudio are 'album-title' and 'track'.
> 
> Does hAudio then describe a collection of hAudio's ? 

If we make the proposed change, hAudio will be able to describe a
collection of audio recordings and a single audio recording. I think the
short answer to your question is 'Yes'.

>> - It provides an elegant way to extend hAudio to albums, podcasts,
>>   toplists and other audio collections.
> 
> + for that too 
> 
> should we also add a type class
> 
> <span class="type">Album</span>
> <span class="type">Podcast</span>
> <span class="type">Compilation</span>

That's one of the benefits of this proposal, we won't need a TYPE class!
This is because the type can be inferred from the parsing rules that are
outlined in the proposal. You will know the type by the contents of the
hAudio used:

hAudio Contents                  Type
---------------                  -----------
audio-title                      Audio Recording
audio-title + album-title        Audio Recording with Album info
album-title                      Album
toplist-title                    Top List
podcast-title                    Podcast

-- manu

-- 
Manu Sporny
President/CEO, Digital Bazaar, Inc.
http://blog.digitalbazaar.com/


More information about the microformats-new mailing list