#microformats 2017-05-27
2017-05-27 UTC
davidmead, [eli_oat] and cheim joined the channel
#
@jsonfeed @thatcks @jen20 @GetEventStore Some folks say why not a straight mapping to RSS or Microformats. We tried to learn… https://twitter.com/i/web/status/868313194028290051 (twitter.com/_/status/868313194028290051)
[shaners] joined the channel
gRegorLove, [colinwalker] and [kevinmarks] joined the channel
#
@AxelNennker @tobie Also use standards http://schema.org/LocalBusiness #microformats @t @kevinmarks (twitter.com/_/status/868431875714547712)
davidmead and [eli_oat] joined the channel
#
aaronpk the microformats tests are on packagist now! https://packagist.org/packages/mf2/tests

#
@call_user_func [New]mf2/tests Microformats test suite https://packagist.org/packages/mf2/tests (twitter.com/_/status/868484463369400321)
GWG joined the channel
#
aaronpk woo tests passed! https://travis-ci.org/indieweb/php-mf2/builds/236687685

#
@psyrax @WPCDMX esperando gente para preguntas de amp, microformats y AdSense en la entrada. #wcmx :D (twitter.com/_/status/868499846415646723)
#
Zegnat aaronpk: https://stackoverflow.com/a/27338181

davidmead joined the channel
#
aaronpk [shaners] the php page is all updated for you! I also made it store data in redis so that it can run on heroku! i have a copy running at https://microformats-php.herokuapp.com/ but i'll shut that down as soon as you deploy to yours!

KartikPrabhu and [shaners] joined the channel
#
[shaners] Heroku Redis addon https://files.slack.com/files-pri/T03QR2B2T-F5JT4MUE7/pasted_image_at_2017_05_27_11_17_am.png?pub_secret=b904c94218&name=Pasted image at 2017_05_27 11_17 AM.png

#
aaronpk i dont have the addon enabled somehow https://media.aaronpk.com/Screen-Shot-2017-05-27-11-18-53.png

#
[shaners] Aaaaand you just spoiled my big surprise announce of https://microformats.io ?

#
aaronpk well you already included links to it in the PR that is live on https://pin13.net/mf2/

#
[shaners] So. Everyone, I built a simple introduction to Microformats page/site at https://microformats.io

#
KartikPrabhu [shaners]: yeah gives "secure connection failed"

#
KartikPrabhu http works

#
KartikPrabhu :thumbsup:

#
[shaners] For now, http://node.microformats.io and http://python.microformats.io redirect to their respective homes.

#
[shaners] https://go.microformats.io has a pending Bootstrappy PR for the UI, bringing it closer to PHP’s and Ruby’s.

#
Zegnat I would expect something like http://johnmacfarlane.net/babelmark2/ [shaners]: a way to compare the parsers

#
[shaners] I added it to the list of issues https://github.com/veganstraightedge/microformats.io/issues

[jeremycherfas], KartikPrabhu, [tamaracks], [eddie], gRegorLove and [eli_oat] joined the channel
#
gRegorLove aaronpk: Regarding https://github.com/indieweb/php-mf2/issues/96#issuecomment-304457341 I think that html-lang should be a property of the h-entry since the h-entry has lang=sv?

#
gRegorLove True, looks like the first parse example on http://microformats.org/wiki/microformats2-parsing-brainstorming#Parse_language_information puts it at the same level as the properties, but I'm not sure that makes sense.

#
gRegorLove It's on the h-entry, why isn't it a property?

#
gRegorLove Ok, starting to make more sense as I look at it more

#
gRegorLove Pretty easy fix too: https://gregorlove.com/php-mf2/test.php?id=19

#
gRegorLove Look right?

#
gRegorLove I don't either. Checking the history

[eddie] joined the channel
#
gRegorLove !tell tantek We were wondering about the reasoning for "html-lang" instead of just "lang" here: http://microformats.org/wiki/index.php?title=microformats2-parsing-brainstorming&diff=prev&oldid=65421

#
gRegorLove shrugs

#
gRegorLove hreflang I guess, but don't think a use has been identified for that in parsed results

#
gRegorLove Right

#
gRegorLove microformat-shiv parses as "lang"

#
gRegorLove Which I think is enough for us to mirror in php-mf2.

#
gRegorLove Sounds good

#
gRegorLove If you want to wait a bit, I have more we can put in it

#
gRegorLove Unless it's urgent, I guess

#
gRegorLove Working on adding rel-urls object

#
gRegorLove ooh, pin13.net/mf2 looks great

#
gRegorLove Huh, interesting. I just noticed php-mf2 and mf2py include "alternates" object but it's not on /microformats2_parsing. Appears it was dropped from the spec in favor of rel-urls 2 years ago: http://microformats.org/wiki/microformats2-parsing-issues#drop_alternates_collection

#
gRegorLove Should I put it behind a deprecated flag or something? Don't want to break it if anyone's consuming it

#
gRegorLove Apparently you were/are consuming alternates. :) https://indieweb.org/irc/2015-06-01/line/1433195247005

#
aaronpk reviews http://semver.org

#
gRegorLove microformat-shiv doesn't have alternates in result.

#
gRegorLove That sounds good

#
gRegorLove Man, php-mf2 is growing up

reidab joined the channel
#
aaronpk there's also https://github.com/barnabywalters/php-mf-cleaner

#
gRegorLove Definitely recommend using php-mf-cleaner

#
gRegorLove Or XRay

#
gRegorLove Because it's utilities, not part of the parsing spec

#
KartikPrabhu it is a good idea to keep mf2 parsing and consuming/cleaning etc... separate

#
KartikPrabhu since the consuming/cleaning depends on the particular consumption use

#
gRegorLove Hm, should php-mf-cleaner composer.json require php-mf2? I think then you could just `composer require barnabywalters/mf-cleaner` and have them both

[shaners] joined the channel
[eli_oat] joined the channel