#microformats 2014-05-06

2014-05-06 UTC
KevinMarks2, Phae, lmjabreu, netweb, brianloveswords, elux, Atamido, tantek and KartikPrabhu joined the channel
#
tantek
KartikPrabhu: p-photo works with <data>, but so should u-photo. It's just that you don't need u-photo with <data> so why not keep it simpler and use p-photo.
eschnou, charl_ and krendil joined the channel
barnabywalters joined the channel
#
Loqi
barnabywalters: KartikPrabhu left you a message on 5/4 at 11:30am: here is my use-case for looking at this. On my site I want to delay the loading of comment avatars (i.e. u-photo of a p-comment h-cite) until after all the content has loaded. The only way to do this at the moment is to use javascript to insert the src of the img after DOM load. But this means that the mf2 parsers won't see the u-photo. I was thinking of inserting a data element with class=value and valu
#
barnabywalters
KartikPrabhu: that’s a great use case! but no need for using value-class
#
barnabywalters
for everything apart from multiple-part properties, HTML5 <time> and <data> elements solve that problem better
#
barnabywalters
e.g. <div class=“”p-comment h-entry”><div class=“”p-author h-card”><data class=“p-photo” value=“http://example.com/photo.jpg”></data> Name, etc…
#
barnabywalters
which you then use javascript to replace with an <img> element
#
barnabywalters
(oops that p-comment should be a h-cite not h-card)
#
barnabywalters
h-entry, even
charl_, elux, TallTed, kylewm, brianloveswords, Atamido_, danielfilho, tantek, caseorganic and joeysim joined the channel
brianloveswords, KevinMarks, tantek and KartikPrabhu joined the channel
#
KartikPrabhu
!tell barnabywalters thanks! got it :)
#
Loqi
Ok, I'll tell him that when I see him next
#
tantek
KartikPrabhu: did that work?
#
KartikPrabhu
haven't truly testes it but a mock markup works :)
#
KartikPrabhu
s/testes/testes
#
Loqi
KartikPrabhu meant to say: haven't truly testes it but a mock markup works :)
#
KartikPrabhu
FAIL! but you get the picture
pfefferle, KevinMarks, brianloveswords, eschnou, krendil, iSRAELi and barnabywalters joined the channel
#
Loqi
barnabywalters: KartikPrabhu left you a message 3 hours, 22 minutes ago: thanks! got it :)
netweb, KevinMarks_, tantek, caseorganic, KevinMarks, tantek-ipod, brianloveswords and KartikPrabhu joined the channel