#KartikPrabhunote that it is a leap year so the date should be "2016-03-02"
#gRegorLoveOhh, I was looking in the wrong branch. Thanks!
#gRegorLoveYeah, I'll make sure there's tests with and without leap year
#KartikPrabhuit is also in "experimental" but I decided to fix version 1.1.1
#gRegorLoveI put it for milestone 0.4.3 for php-mf2 - release after next.
#KartikPrabhuI am keeping "master" branch fixed with the main repo PRs
[miklb], matigo, [cleverdevil], [kevinmarks] and [pfefferle] joined the channel
#ZegnatNice to see clarification on the datetime value. If the reason is to make it simpler for the json consumer, I wonder if it's worth just saying to always normalise to an HTML datetime value. Presumably that's what people expect as non-vcp dt-* parsing is usually from time elements.
#ZegnatTo always normalise vcp output to an html datetime value then. Basically instead of having the list of example results, we can link to a spec that specifies then explicitly is my thinking
#Loqi[@lynncyrin] *points out the failing tests* Is THIS your team? *rolls out all the linter errors* Is THIS your team????? *merges my PR, and all the status indicators turn green* pft, naw. I'm your lead engineer now
nitot_ joined the channel
#Zegnatgoes back to plain text parsing and leaves dates to others
barpthewire, [gerwitz], KevinMarks_, nitot, KevinMarks and nitot_ joined the channel
#Loqi[Zegnat] #168 New algorithm for plain text values
#Zegnatadminhelp: how do I get promoted on the microformats wiki so I can create a page? I would like to put the plain text values algorithm on the wiki for further iterations and brainstorming.
KevinMarks, kaushalmodi, Garbee, webchat362, [eddie], [kevinmarks], KevinMarks_, nitot, nitot_, barpthewire, [kim_landwehr], gRegorLove_, [cleverdevil], [Mike], [pfefferle] and [cb] joined the channel
#ZegnatThat’s what the issue was about. Users filing issues on parsers because the DOM tree’s textContent property didn’t match their expectations (e.g. <p>A</p><p>B</p> becomes "AB" without any whitespace). And standard DOM implementations like the one in PHP do not have HTML’s innerText available for a prettier output.
#ZegnatWe could try to normalise on HTML’s innerText, but that assumes CSS knowledge, which is often also lacking when you are working only with HTML parsers and DOM trees. So had to figure out something else.
#KartikPrabhuwill wait for this to make into some sort of spec
#ZegnatThe algo I wrote is based on expectations aaronpk colated and some simple CSS whitespace collapsing rules. It should also be relatively easy to implement, I have already done both a JS and PHP implementation.
#KartikPrabhuit is not hard to implement, just that we would be iterating over the DOM tree so many times
#ZegnatYou are already doing that to some extend, as you have to walk the tree to replace IMG elements