[uf-new] hAudio ISSUE #3: published-date is redundant
ian at mckellar.org
Fri Aug 17 09:40:19 PDT 2007
On 8/17/07, Martin McEvoy <martin at weborganics.co.uk> wrote:
> On Thu, 2007-08-16 at 23:11 -0700, Ian McKellar wrote:
> > I'm concerned that it won't be possible to mix hAtom and hAudio as
> > flexibly as I'd like with this but it might be for the best. The main
> > problem I see is that it would be hard to share elements between
> > hAudio and hAtom (such as entry-title and audio-title) because to
> > prevent the audio's published being confused for the entry's published
> > the audio's published needs to be inside entry-content or
> > entry-summary.
> > Consider this pseudo-xhtml:
> > <div class="hentry haudio">
> > <h1 class="entry-title">
> > <span class="audio-title">Second Hand News</span> by
> > <span class="contributor vcard fn">Fleetwood Mac</span>
> > (<span class="published">1977</span>)
> > </h1>
> > <div class="entry-content">This song is great</div>
> > <div>blog posted: <span class="published">August 19th,
> > 2007</span></div>
> > </div>
> Although In principle to agree with you, but I dont think you will find
> many examples actually marked up the way you suggest
> But if you really wanted to you could do this..
> <div class="hentry">
> <h1 class="entry-title haudio">
> <span class="audio-title">Second Hand News</span> by
> <span class="contributor vcard">
> <span class="fn">Fleetwood Mac</span>
> ( <abbr title="19770101" class="published">1977</abbr> )
> <div class="entry-content">This song is great</div>
> <div>blog posted by <address class="vcard author"><a class="url fn"
> href="http://someurl.com">Author</a></address> on: <abbr
> title="20070807T1252+01" class="updated">August 07th, 2007</abbr>
That method won't work if we link to the audio file outside of the title and
want to mark it up as rel-enclosure for both the hentry and the haudio.
A tangential question, entry-content is considered opaque to hatom but do we
still look for rel-enclosures related to the entry inside the entry-content
since rel-enclosure is a separate microformat?
Ian McKellar <http://ian.mckellar.org/>
+1 415 867 9255
ian at mckellar.org: email | jabber | msn
ianloic: flickr | aim | yahoo | skype | linkedin | etc.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the microformats-new