#microformats 2017-07-31

2017-07-31 UTC
[miklb], deep-book-gk, rodolfojcj, AngeloGladding, tantek, gRegorLove, GK1wmSU, _GK1wmSU, barpthewire, [kevinmarks], nitot, davidmead, [jeremycherfas], Garbee, pniedzielski[m], AlanPearce[m], TheGillies and schmarty joined the channel
#
gRegorLove
One thing about https://github.com/tommorris/mf2py/issues/75 raised by the microformats-parsing #11 is when a classic property and root appear inside an mf2 root, should both be ignored, or only the property? I think I treated it like both should be ignored in php-mf2 and had a good reason for that, but I don't remember it offhand.
#
Loqi
[aaronpk] #75 Backcompat conflict
#
gRegorLove
In https://aaronparecki.com/2016/12/15/16/dropvox the 'reviewer vcard' is ignored entirely because 'reviewer' is an mf1 property inside mf2.
#
Loqi
[Aaron Parecki] Dropvox
#
gRegorLove
The alternative is that the vcard still be parsed with backcompat and added as a child.
[davidmead] joined the channel
#
sknebel
gRegorLove: from the parsing specification, a parser currently parsing an mf2 microformat root isn't even supposed to look for backcompat property names
#
sknebel
" if parsing a backcompat root, parse child element class name(s) for backcompat properties" " else parse a child element class for property class name(s) "p-*,u-*,dt-*,e-*" "
#
gRegorLove
Correct. The question is whether it should still parse the 'vcard'
#
gRegorLove
Since it's on the same element as the mf1 property.
#
sknebel
if it isn't aware of the mf1 property, it can't make a difference between it being there and not (again, from my current interpretation of the wording of the spec)?
#
sknebel
That wording could be changed of course
[jeremycherfas] joined the channel
#
gRegorLove
As worded now, I think it should, even though it appearing as a child object is not what the publisher intended. Seems to serve as a warning almost, "you didn't fully upgrade your mf1 to mf2, that's why h-card is a child object, not on the author property"
#
gRegorLove
Sorry, didn't quite follow that?
#
sknebel
same view as you on the current spec. Since it doesn't parse for the mf1 property when in an MF2 root, it has to treat it as a child
[miklb] joined the channel
#
gRegorLove
e.g. Adding "p-author h-card" to "reviewer vcard" gives the expected results: https://php.microformats.io/?id=20170731154153048
#
gRegorLove
So I'll have to re-visit backcompat in php-mf2 a bit, try to figure out why I ignored the vcard there
#
sknebel
I think aaronpk intentionally left the mf2 properties out since the author is already covered by authorship rules?
#
gRegorLove
Yeah, he has a u-author property in there
#
gRegorLove
It's not technically causing any problems currently, that I'm aware of, but backcompat isn't following the spec as worded precisely, apparently. It should have a child h-card there, like the mf2py parser has
#
sknebel
nice to see that we all agree on the interpretation of the spec at least
#
sknebel
related issue: php-mf2 doesn't allow backcompat roots in mf2 properties: http://php.microformats.io/?id=20170731154747999 (p-author is not a nested h-card) . all other parsers (and my reading of the spec) allow that
#
gRegorLove
I think my main point of confusion is "parse a child element for microformats (recurse)" -- is that supposed to start at the last property element parsed, or at the mf2 root? Probably the latter.
#
gRegorLove
Scratch that. Poorly worded on my part. I get it.
tantek and KartikPrabhu joined the channel
#
gRegorLove
tantek: spam ^
#
Loqi
tantek: gRegorLove left you a message 3 days, 22 hours ago: spammers CaitliMie (2014!) and Vedder8673 on realestate-propertydetail
#
tantek
edited /Special:Log/block () "blocked [[User:Sinfo209]] with an expiry time of infinite (account creation disabled): Spamming links to external sites"
(view diff)
#
tantek
edited /Special:Log/block () "blocked [[User:Vedder8673]] with an expiry time of infinite (account creation disabled): Spamming links to external sites: obvious attempt to spam keyword links"
(view diff)
#
tantek
gRegorLove++ thanks for the heads-up and cleanup of the realestate page
#
Loqi
gregorlove has 13 karma in this channel (177 overall)
#
tantek
now lets see how long it takes Google to take down that blogspot :P
[kevinmarks] joined the channel
#
gRegorLove
tantek: Did you catch the first username in that tell? CaitliMie spammed as well, though in 2014
#
tantek
apparently \ "CaitliMie" is already blocked \
#
tantek
by me in 2015 but somehow I didn't get the rollback (or maybe it failed at the time and I didn't notice)
#
gregorlove
created /User:GRegorLove (+174) "yay, i can haz a user page!"
(view diff)
[jeremycherfas], davidmead, [chrisaldrich], rodolfojcj, KartikPrabhu and nitot joined the channel