#microformats 2018-07-22
2018-07-22 UTC
iwaim, KartikPrabhu, tantek__, tantek and barpthewire joined the channel
[jgmac1106] joined the channel
# @jgmac1106 RDFa vs microformats from Evan Prodromou: http://web.archive.org/web/20140704091616/http://evan.prodromou.name/RDFa_vs_microformats (twitter.com/_/status/1021047656964067328)
snarfed, [chrisaldrich], [snarfed], jackjamieson, [kim_landwehr], [kevinmarks], indy and barpthewire joined the channel; snarfed left the channel
# jmac At http://microformats.org/wiki/microformats2-parsing#parsing_for_implied_properties, I read "if no explicit "name" property, and no other p-* or e-* properties, and no nested microformats, then..."
# jmac As such, I would expect the h-geo item defined at https://github.com/microformats/tests/blob/master/tests/microformats-v2/h-geo/abbrpattern.html to have no implied name, because it does indeed contain a couple of p- properties... right?
# jmac But, according to https://github.com/microformats/tests/blob/master/tests/microformats-v2/h-geo/abbrpattern.json, the parser should in fact read an implied name out of the element's text content.
tantek__ joined the channel
# sknebel for reference, here's the spec discussion https://github.com/microformats/microformats2-parsing/issues/6
[kim_landwehr] joined the channel
# jmac Oh, well, sure. :) I just want to make sure I'm correct in my read though -- *is* it the case that, with https://github.com/microformats/tests/blob/master/tests/microformats-v2/h-geo/abbrpattern.html, there simply shouldn't be an implied name property at all?
[kevinmarks] joined the channel
# sknebel and if it is a nested microformat (which a geo would often be), then "else use the parsed property value per p-*,u-*,dt-* parsing respectively" triggers for the "value" (from this section, near the bottom http://microformats.org/wiki/index.php?title=microformats2-parsing#parse_an_element_for_class_microformats
KartikPrabhu joined the channel
# KartikPrabhu jmac: you can try out examples here http://pin13.net/mf2-dev/
# KartikPrabhu or for the python parser (up-to-date) here https://kartikprabhu.com/connection/mfparser
tantek joined the channel
# KartikPrabhu the tests repo should have a warning that it is out of date!
# KartikPrabhu I don't think any up-to-date parser uses them
# KartikPrabhu right I would test against phpmf2 or mf2py since they have been generally more on top of the spec stuff
# jmac Moving on... I'd like to ask about http://pin13.net/mf2-dev/?id=20180722214405800 which doesn't seem to agree with http://microformats.org/wiki/value-class-pattern#Date_and_time_parsing (nor does the python mfparser output)
[kiai] joined the channel
tantek joined the channel
[kevinmarks] joined the channel
# gRegorLove_ takes a look at implied name in mf tests
# gRegorLove_ KartikPrabhu, php-mf2 uses microformats/tests as a secondary test suite, though it's optional and not part of CI
# KartikPrabhu sure "uses" as in not actually following them
# gRegorLove_ I don't follow
# [kevinmarks] Also mf2py will run them if they're in an adjacent directory
tantek joined the channel
# KartikPrabhu gRegorLove_: as in if phmf2 fails a test from the test repo what happens?
# tantek jmac, if you have a moment, check https://github.com/microformats/microformats2-parsing/issues for previous issues re: VCP etc.
# gRegorLove_ KartikPrabhu, it shows the failure, actual parse, and expected parse
# gRegorLove_ I think this is the issue tantek__ referenced, jmac: https://github.com/microformats/microformats2-parsing/issues/12
# KartikPrabhu right but that does not mean phpmf2 failed, it is more like testing the test suite
# gRegorLove_ jmac: I'm looking through the tests for the implied name change currently. I think an issue is fine; I can reference that.
tantek joined the channel
# gRegorLove_ Definitely not deprecated
# gRegorLove_ Looks like one of the tests just surfaced an issue in php-mf2. http://pin13.net/mf2/?id=20180722223715127 `photo` should only be in the child h-card
# gRegorLove_ That might be this open PR though: https://github.com/indieweb/php-mf2/pull/177
# gRegorLove_ Yeah, pretty sure that's the case
# [kevinmarks] Submitting PRs to the tests repo seems like a good idea
# gRegorLove_ Yeah, I'm working on one for the implied name changes
# @schnarfed ↩️ @jhauge an alternative answer is, the data standard is http://microformats.org/wiki/microformats2 (twitter.com/_/status/1021165453807243265)
# KartikPrabhu sknebel: for your ideas https://github.com/microformats/mf2py/issues/108#issuecomment-406905058
# Loqi [kartikprabhu] attempted a fix here https://github.com/kartikprabhu/mf2py/commit/8a206624ba4471c1b7b0725a75261b697c0458f3
but this fails the crucial test https://github.com/kartikprabhu/mf2py/blob/experimental/test/test_parser.py#L592 and I have no idea why or h...
# gRegorLove I don't have permission to close microformats/tests issues. Commented that this one can be closed: https://github.com/microformats/tests/issues/82
# KartikPrabhu Zegnat: since you like updating specs https://github.com/microformats/microformats2-parsing/issues/24#issuecomment-403346296 ;)
# Loqi [kartikprabhu] At IWS 2018 (https://indieweb.org/2018/microformats#parsing_.2324) It was accepted to treat `<noscript>` as a `<div>`.
By this proposal the answer to all five questions posed in the beginning (https://github.com/microformats/microformats2-parsing...