#microformats 2017-05-23

2017-05-23 UTC
[kevinmarks], davidmead, tantek, KartikPrabhu, jonasbits__, [jeremycherfas], cheim, pniedzielski[m], ivc, schmarty and adactio joined the channel
#
@cswordpress
@jgmac1106 @pfefferle @dshanske They work on themes that do not specifically support microformats 2.
(twitter.com/_/status/867042568932032512)
#
@cswordpress
@jgmac1106 @pfefferle @dshanske I have one site that doesn't use a theme supporting microformats 2 but webmentions are working.
(twitter.com/_/status/867042752508420097)
[kevinmarks], tantek, [cleverdevil], gRegorLove, rodolfojcj, KartikPrabhu, sknebel and [shaners] joined the channel
#
[shaners]
ben_thatmustbeme I version bumped the site’s gem to 4.0.3 and included it in the site header.
#
[shaners]
I also added a debug note in the json:
#
Loqi
[veganstraightedge] #4 Add debug info to json
[jeremycherfas] and [colinwalker] joined the channel
derhess, tantek and [eddie] joined the channel
voxpelli joined the channel
#
KartikPrabhu
name for h-entry
#
KartikPrabhu
my best guess is differing "textContent" somehow
#
Zegnat
Oh man, that HTML is a little hard on the eyes with those humongous URLs
#
aaronpk
that's not an implied p-name is it?
#
aaronpk
i see an explicit p-name class
#
KartikPrabhu
Zegnat: yeah sorry for that. proxied image urls :(
#
KartikPrabhu
aaronpk: oh hmm looking
#
Loqi
it'll be okay
#
Zegnat
It is explicit
#
Zegnat
And it seems like empty string is correct
#
KartikPrabhu
aaronpk: yeah you are right. somehow ummung/mf2py is not picking it
#
KartikPrabhu
Zegnat: no empty is incorrect according to last rule here http://microformats.org/wiki/microformats2-parsing#parsing_a_p-_property
#
Loqi
[Tantek Çelik] microformats2 parsing specification
#
Zegnat
But there are alt attributes, and they are set to empty strings?
#
Zegnat
Or am I looking at the HTML wrong?
#
KartikPrabhu
Zegnat: oh yeah that rule does not have a restriction on alt=""
#
KartikPrabhu
intersting
#
Zegnat
I would agree with unmung/mf2py in taking the explicitly empty alt and using that for IMG
#
Zegnat
And say the PHP parser is wrong in using the SRC values there
#
KartikPrabhu
tantek: according to the last rule here http://microformats.org/wiki/microformats2-parsing#parsing_a_p-_property the p-* parsing should return empty string if the alt on a img is set as alt="". Is this correct/intended?
#
Loqi
[Tantek Çelik] microformats2 parsing specification
#
KartikPrabhu
PHP parser and mf2py seem to do differing things
#
Zegnat
“replacing any nested <img> elements with their alt attribute, if present” — I read that as using the value of alt, even if that value happens to be an empty string. I.e. mf2py behaviour.
#
Zegnat
Nice find KartikPrabhu!
#
KartikPrabhu
Zegnat: yes, that is what mf2py is doing, but php one is ignoring the alt="" so just confirming
#
Loqi
[gRegorLove] #89 Bug with img alt="" parsing inside p-*
#
KartikPrabhu
aah! so pin13 is not updated or something
#
aaronpk
i've been sticking to releases on pin13, but now that we haven't released a point version in over a year i maybe should switch to deploying master
#
KartikPrabhu
or maybe release a point version :)
#
tantek
sounds like y'all figured it out :)
#
aaronpk
i can't until barnaby adds me
#
Loqi
[indieweb] php-mf2: php-mf2 is a pure, generic microformats-2 parser for PHP. It makes HTML as easy to consume as JSON.
#
KartikPrabhu
tantek: yes /me should learn to find resolved issues before shouting about bugs :P
[chrisaldrich] and [shaners] joined the channel
#
[shaners]
aaronpk I’m trying deploy your pin13.net mf2 parser site to Heroku. It mostly Just Works™ but there are some issues. Your repo doesn’t allow me to create issues. So here they are:
#
[shaners]
I created a PR to add a Procfile
#
aaronpk
wait you can't create an issue?
#
aaronpk
that's strange, what does it say?
#
[shaners]
redirects to /pulls
#
[shaners]
you must’ve turned it off in settings or something
#
aaronpk
oh, no that's *your* repo that's redirecting
#
aaronpk
because it's a fork
#
[shaners]
oh jeez.
#
[shaners]
my bad. duh.
#
[shaners]
web browsering is hard. let’s go shopping.
#
[shaners]
Ok. Made a couple issues. I hope that they’re little / easy things and that you have cycles to do them.
tantek joined the channel