#microformats 2017-05-16
2017-05-16 UTC
[kevinmarks], rodolfojcj, nitot, tantek, KartikPrabhu, [colinwalker], nitot_, [jeremycherfas], rMdes1 and [shaners] joined the channel
# [shaners] The repo is now at https://github.com/indieweb/microformats-ruby-old
[tamaracks] and KartikPrabhu joined the channel
# ben_thatmustbeme shaners++
gRegorLove joined the channel
# [shaners] ben_thatmustbeme PR ready for your review when you have time https://github.com/indieweb/microformats2-ruby/pull/65
# gRegorLove Hmm, php-mf2 seems to be converting <br /> to <br></br> in the e-* html
# gRegorLove Double-checking my markup...
# gRegorLove Yeah http://pin13.net/mf2/?url=https%3A%2F%2Fgregorlove.com%2F2017%2F07%2Fmxpx%2F for https://gregorlove.com/2017/07/mxpx/, the <br> between the links
# gRegorLove checks unmung
# gRegorLove mf2py on unmung gets it right: http://www.unmung.com/mf2?url=https%3A%2F%2Fgregorlove.com%2F2017%2F07%2Fmxpx%2F&html=&pretty=on
[shaners] joined the channel
# gRegorLove Looks like the issue is with DOMDocument::saveHTML
# [shaners] gRegorLove: Here’s the Ruby parsing of your post. https://gist.github.com/veganstraightedge/d734b58dc439cd82262a8df1ca3eeaeb
# gRegorLove [shaners]: iirc willnorris had a page with iframes running each of the parsers at last year's IWS.
# gRegorLove Not offhand, but let me check
sknebel_ joined the channel
# gRegorLove Zegnat: Yeah, had to do some workarounds to get a better "innerText" for php-mf2. Might have to do similar for this. https://github.com/indieweb/php-mf2/pull/82
# gRegorLove yyyyeah
# gRegorLove [shaners]: Can't seem to find it. I would have expected it to appear on https://chat.indieweb.org/microformats/2016-06-05 if anywhere, but don't see it.
# gRegorLove I'll ask him on twitter
KartikPrabhu joined the channel
# Loqi [@willnorris] @gRegorLove https://willnorris.github.io/mf2compare/ though apparently the go server is down... I'll try and get that back up
tantek joined the channel
# ben_thatmustbeme re the <br> tag conversion, there is a similar problem in the ruby parser with <img /> tag, but only if you modify the tag
# ben_thatmustbeme at least thats the only place i saw an issue, didn't actually try it on the old one
# ben_thatmustbeme s/the old one/many tests
# ben_thatmustbeme its a 'feature'? of nokogiri that it automatically corrects your html to be current
# ben_thatmustbeme [shaners]: re PR, should we also mention that they may need to change class names as well once 4.0 launches Microformats.parse instead of Microformats2.parse?
# ben_thatmustbeme don't see any way to turn it off
# ben_thatmustbeme i see where you are going with it, its just an annoying change for some people i'm sure, and i want to make sure we get it right
# ben_thatmustbeme yeah, thats tough... hmm
# ben_thatmustbeme ideally, can we make it so you can use either for 3.1?
# ben_thatmustbeme sure
# aaronpk not that you need it, but if you're curious, the source code is here https://github.com/aaronpk/mf2-test
# ben_thatmustbeme actually, its super simple to do [shaners]
# ben_thatmustbeme both options
# ben_thatmustbeme [shaners]: is the plan to release 3.1 and 4.0 basically simulataneously
# ben_thatmustbeme so i suppose this bit isn't needed, but it will allow people to do these steps in either order
# ben_thatmustbeme have to run, just pushed a change [shaners]
# ben_thatmustbeme to that branch
# gRegorLove Does pin13 clear saved parses after a period?
# gRegorLove Now I'm curious how many there are :)
[colinwalker] joined the channel
KartikPrabhu joined the channel
# gRegorLove [shaners]++
# gRegorLove Looks nice! Appears it's not normalizing relative URLs, like the profile photo.
# gRegorLove Oh it's just the rendered HTML as-is. That's probably fine then
[chrisaldrich] joined the channel
# [shaners] ben_thatmustbeme https://github.com/indieweb/microformats-ruby/pull/66
[kevinmarks] joined the channel