#tantekhey parser devs do any of the parsers support h-entry backcompat handling of rel-tag? e.g. http://www.manton.org/2018/03/indieweb-generation-4-and-hosted-domains.html has a bunch of rel=tag that should be picked up as "p-category" but I'm not seeing them e.g. in PHP or Python parsers - but interestingly I'm seeing it Ruby parser results!
#KartikPrabhuaaronpk: you reach out to veganstriaghtedge on github to update php.microformats.io
#Zegnat[kevinmarks], I will be sending a PR, yes. Since php-mf2 pulls the official repo
#KartikPrabhu[kevinmarks]: would also be good to figure out how to push the new mf2py to pypi
#Zegnat[kevinmarks], it looks like you have commit access to the tests? Could you look into merging the two outstanding PRs?
#aaronpkI have sites that automatically deploy from github on my own servers too
[kim_landwehr] joined the channel
#ZegnatWhy do the tests have a special datetime format? This seems wrong. Surely the mf2 spec provides us with the exact strings that should be used, so we should be testing for those?
#ZegnatE.g. I see a failing test because php-mf2 is correctly reporting the exact string used in the HTML, but the test case has stripped the T delimitor and replaced it with a space
#Zegnatis very tempted to start a test repo from scratch
#sknebelthere's also an open bug about some tests having that, I think because at some point there was some work towards date normalization that never got anywhere?
#sknebelyeah, these were added by glennjones who I think also started normalization work in the JS parser
#ZegnatBut I don’t know about invalid dates. And to be honest, we accept invalid dates through the datetime attribute anyway, as no normalisation is done.
#Zegnatstill thinks we should normalise all dt-* output
#ZegnatBut I am not writing a spec proposal for that :P I like to steer clear of vcp
[kevinmarks] joined the channel
#[kevinmarks]The difficulty is not adding midnight to dates without times
#[kevinmarks]And also the birthday without year case
#[kevinmarks]Adding tests for these cases is probably worth it
#[kevinmarks]I ran a Facebook to contacts importer a while back, and it normalised birthdays without years to 2000, so they're all turning 18 this year
#ZegnatThat’s true [kevinmarks]. But those are all supported now, I believe so not a problem
#ZegnatAlthough dates without years are not supported in vcp
#ZegnatAnd of course, as this is about e-* parsing and entire blob with lots of whitespace, php-mf2 is still failing at it and I have no idea if it is the test or php-mf2 right now.
#ZegnatBecause e-* parsing is incredibly hard to do by hand
#ZegnatLets see if I can get PHPUnit to escape the whitespace, that might make it easier to catch these
#Loqi[Zegnat] I think ordinal dates and am/pm needs to be normalised, yes.
#ZegnatI just think that dt values should be normalised in general. But as a first step, no I have not changed my mind. If the spec allows YYYY-DDD for date, it should also allow it in the last concat step
#ZegnatNormalising everything to valid HTML5 datetime values seems like a future project.
#ZegnatOh, I locally merged my rel-parsing PR with the central-tests PR, and I am happy to report that the rel-parsing PR makes php-mf2 pass some tests it didn’t before! :)
#ZegnattagName property isn’t uppercased in PHP, but it should be for HTML per DOM spec. But of course, PHP DOM doesn’t actually know HTML so it doesn’t conform.