#microformats 2018-03-08

2018-03-08 UTC
KartikPrabhu, tantek, ben_thatmustbeme, [tantek], nitot, barpthewire and gRegorLove_ joined the channel
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
[gRegorLove] #144 Fix recursive parsing
adactio joined the channel
#
aaronpk
🎉 reviewing now!
#
Loqi
aaronpk: gRegorLove_ left you a message 4 hours, 30 minutes ago: https://github.com/indieweb/php-mf2/pull/144
[tantek] joined the channel
#
aaronpk
is testing out the new php-mf2 as an alpha release on his fork
#
aaronpk
we might have to release this as a 1.0 since there is a backwards incompatible change in it!
#
aaronpk
oh boy
#
[tantek]
Why not 0.10.0 per semver?
#
aaronpk
"MINOR version when you add functionality in a backwards-compatible manner, and"
#
aaronpk
MAJOR.MINOR.PATCH
#
aaronpk
we're at 0.3.2 right now
#
[tantek]
For a 1.0 perhaps we should get all the open issues resolved for the mf2 spec
#
[tantek]
Perhaps I’m mistaken then and phpmf2 hasn’t been using semver
#
aaronpk
I think it has been
#
aaronpk
i've been assuming it has anyway
#
[tantek]
Because there’s definitely been more than two backwards incompatible changes
#
[tantek]
I think I’ve seen other projects do this too
#
[tantek]
No backward compat guarantees until 1.0
#
aaronpk
oh that makes some sense too
#
[tantek]
So ever 0.x.0 revision can be assumed to be breaking
#
aaronpk
hm last minor version bump was 0.2.12 to 0.3.0 https://github.com/indieweb/php-mf2#v030
#
Loqi
[indieweb] php-mf2: php-mf2 is a pure, generic microformats-2 parser for PHP. It makes HTML as easy to consume as JSON.
#
aaronpk
dropped php 5.3 support
#
aaronpk
ah from https://semver.org/ "Major version zero (0.y.z) is for initial development. Anything may change at any time. The public API should not be considered stable."
#
[tantek]
There we go I knew it was in there somewhere :)
#
aaronpk
my bad :)
#
aaronpk
so let's see what's been done since 0.3.2
#
Loqi
[indieweb] php-mf2: php-mf2 is a pure, generic microformats-2 parser for PHP. It makes HTML as easy to consume as JSON.
#
aaronpk
well this was unexpected. apparently GWG was taking advantage of implied u-url parsing, so now the posts are showing up without a permalink
#
aaronpk
was https://github.com/microformats/microformats2-parsing/issues/6 supposed to have any effect on implied u-url parsing?
#
Loqi
[tantek] #6 reduce instances when p-name is implied
#
aaronpk
whoops. back to the drawing board :)
#
[tantek]
There was a separate issue about any other u-* property preventing implied u-url but AFAIK that was fixing bugs
#
[tantek]
Eg so if you had a minimal u-like-of, it wouldn’t imply that same url as the u-url of the post
#
aaronpk
goes to write some tests
#
aaronpk
oh jeez
#
aaronpk
it wasn't a parser bug
#
aaronpk
it was a side effect of an unrelated change
#
aaronpk
GWG has rel=bookmark on each permalink of the posts on his home page, and previously the php parser was using the backcompat rules to pull that href into the url property
[chrisaldrich], chrisaldrich, [pfefferle], tantek and [miklb] joined the channel
#
johnmichael2018
edited /h-card (+242) "/* Examples in the wild */"
(view diff)
#
gRegorLove
I thought the 2nd digit incremented on breaking changes, so I thought this would be 0.4.0 for php-mf2
#
aaronpk
nope second digit is "MINOR version when you add functionality in a backwards-compatible manner"
#
aaronpk
but this will still be 0.4.0 since breaking changes are allowed in 0.*
#
gRegorLove
Scared me for a moment with rel=bookmark that I'd messed something else up :)
#
aaronpk
me too!
#
aaronpk
that was a weird one
#
aaronpk
i'm running this on my reader now so i'll let it collect posts for a day and see how it goes
#
johnmichael2018
edited /hcard-examples-in-wild (+380) "/* new and uncategorized examples */"
(view diff)
#
johnmichael2018
edited /hcard-examples-in-wild (-88) "/* new and uncategorized examples */"
(view diff)
#
aaronpk
I think that counts as spam now
[cleverdevil], KartikPrabhu and [tantek] joined the channel
#
[tantek]
Should we add to the warning at the top about being banned if you add new examples without reading?
#
aaronpk
probably yeah
[chrisaldrich], [miklb], [asuh], chrisaldrich, KartikPrabhu, [pfefferle], [kevinmarks], [eddie], [tantek], [manton] and JohnBeales joined the channel