#microformats 2014-11-25
2014-11-25 UTC
behind_you, caseorganic, KartikPrabhu and netweb joined the channel
# KartikPrabhu kylewm: regarding: https://github.com/kartikprabhu/mf2py/issues/47 which is the troublesome property?
# Loqi KartikPrabhu: tantek left you a message 5 days ago: I just added <area> element support for microformats objects to the microformats2 parsing spec, per the concrete use-case of photo-area-tag(ging) markup in posts/replies as discussed in #indiewebcamp on 2014-11-19. Please review: http://microformats.org/wiki/index.php?title=microformats2-parsing&diff=64684&oldid=64589&rcid=101047
# KartikPrabhu kylewm: it looks fine to me on first look
tantek and KartikPrabhu joined the channel
# KartikPrabhu quite busy and well :)
# KartikPrabhu reviweing the <area> change
# KartikPrabhu if i recall there was some parsing problems that ben_thatmustbeme mentioned
caseorganic joined the channel
# KartikPrabhu ok cool. will add to mf2py unless someone has already done so
Rastus_Vernon, ben_thatmust and caseorganic joined the channel
# Loqi kylewm: tantek left you a message 5 days, 1 hour ago: I just added <area> element support for microformats objects to the microformats2 parsing spec, per the concrete use-case of photo-area-tag(ging) markup in posts/replies as discussed in #indiewebcamp on 2014-11-19. Please review: http://microformats.org/wiki/index.php?title=microformats2-parsing&diff=64684&oldid=64589&rcid=101047
# KartikPrabhu kylewm: what is the problem? reviewing currently
# KartikPrabhu aah I see. the last line is a comment that for some reason is being picked up
# KartikPrabhu weird
# KartikPrabhu go for it if you are on it. seems like some bs4 thing again
# KartikPrabhu kylewm: this is the line that is barfing: https://github.com/kartikprabhu/mf2py/blob/master/mf2py/parse_property.py#L178 bs4 seems to treat comments as child elements and so that line takes their text value and joins it
# KartikPrabhu will have to dig through bs4 again <sigh>
# KartikPrabhu your tanteking does not work here!
# KartikPrabhu beautiful soup is a python based wrapper for HTML parsers
# KartikPrabhu kylewm: bleh... i don't have mf2py on my new machine. maybe doing a direct change as : 'html': text_type(el) works?
# KartikPrabhu if not i'll look into it after dinner
# KartikPrabhu huh these channels have combined karma! w00t!
caseorganic and KartikPrabhu joined the channel
# KartikPrabhu kylewm: ok that does not work! :(
# KartikPrabhu using unicode(element) in bs4 also includes the outerHTML as <div class="e-content"> which is why I suppose I used that other stranger method
# kylewm KartikPrabhu: decode_contents seems to work, based on http://stackoverflow.com/a/18602241/682648
# KartikPrabhu yeah just found it does work. will test on others and push
# KartikPrabhu yeah stuck to default formatter
# KartikPrabhu pushed to my fork also updated it from tommorris
# KartikPrabhu kylewm: could you do that travis thing?
# kylewm KartikPrabhu: hmm https://travis-ci.org/kylewm/mf2py/jobs/42042870
# KartikPrabhu judas priest
# KartikPrabhu this is new isn't it?
# KartikPrabhu that is tommorris setting up the heroku mf2py server
KartikPrabhu joined the channel
# KartikPrabhu kylewm: tommorris: maybe we should make a mf2py organisation on github have all the separate pieces there
# KartikPrabhu !tell tommorris: how about separating the Flask app from the mf2py core? seems overkill to have Flask as a mf2py requirement
# KartikPrabhu aah ok makes sense
# KartikPrabhu !tell tommorris nevermind previous tell. Sent PR to mf2py with a bug fix for e-* > html
# KartikPrabhu kylewm: any idea about he bs4 py3.3 conflict?
# KartikPrabhu oh i see
# KartikPrabhu weird
# KartikPrabhu cool. hopefully tommorris fixes that with my PR
# KartikPrabhu i have no real idea how this requirements stuff works :)
caseorganic joined the channel
# KartikPrabhu yeah... but then I have to figure out how to do it :P
# KartikPrabhu that's why I'm... err... outsourcing it to you ;)
# KartikPrabhu dope!
caseorganic, KartikPrabhu and ChiefRA joined the channel
# ChiefRA tommorris any news related to hListing?
# KartikPrabhu ChiefRA: is hListing used a lot? I couldn't find a mf2 equivalent
# KartikPrabhu for instance hListing has no direct equivalent here: http://microformats.org/wiki/microformats2#v2_vocabularies
caseorganic, chiui, krendil and Erkan_Yilmaz joined the channel
# KartikPrabhu yes tommorris :) nice work on adding <area> stuff btw
# KartikPrabhu neat!
# KartikPrabhu ha! of course! but that gave us time to make new patches ;)
KartikPrabhu and caseorganic joined the channel
# ChiefRA KartikPrabhu the hListing is used, and we are in the process to create the mf2 version
# ChiefRA stay tunned :)
# KartikPrabhu ok cool! a good use case for hListing will prompt a mf2 upgrade and we can add it to mf2py
# ChiefRA KartikPrabhu that's what I was talking to tommorris, to create a mf2 parser for it and start using it.
# KartikPrabhu yup! if there a good candidate mf2 spec for it it cane be added to the backwards compatible feature of mf2py :)
eschnou, alanpearce, caseorganic, KartikPrabhu, adactio, TallTed, Musk, tantek, gRegor`, mko, chiui, kez, globbot, krendil, elux, caseorga_ and elux_ joined the channel