#microformats 2018-03-10

2018-03-10 UTC
#
gRegorLove
Hmm, so xRay requires an h-entry have a URL or else it just doesn't return anything?
#
gRegorLove
Ah, only when it's in an h-feed
#
gRegorLove
Shouldn't it return them with a blank url property?
#
gRegorLove
(Not that I'm opposed to the idea of the parser indicating if it was backcompat. Just curious.)
#
aaronpk
no, it's valid mf2 to have no url property afaik
#
aaronpk
the problem is an h-feed with a single h-entry that has no url is ambiguous
#
aaronpk
the page could be a feed or the page could be a permalink
#
gRegorLove
Think I found a php-mf2 bug while contriving some HTML. rel-bookmark URLs being put on the h-feed instead of h-entry: https://php.microformats.io/?id=20180310004131232
#
gRegorLove
Or... the fact it's not putting those h-entry as children? Heh.
#
gRegorLove
aaronpk: even with rel=bookmark on that example^, xray is returning no items for me (on xray.p3k.io)
#
gRegorLove
Oh, probably not using latest php-mf2
#
aaronpk
xray.p3k.io isn't updated yet
#
aaronpk
I should make an xray-dev maybe
#
aaronpk
Or maybe we should just do the release :-)
#
Loqi
I agree
#
aaronpk
Loqi is eager to get the new parser too
#
KartikPrabhu
yes php needs to catch up now ;)
[tantek] joined the channel
#
gRegorLove
Still winning on issues count though ;)
tantek, sebsel_ and [cleverdevil] joined the channel
#
@cleverdevil
Started working on a JSON Schema for microformats2 about a week ago. Posted the first version on GitHub tonight – https://github.com/cleverdevil/microformats2 – Feedback welcome! #indieweb #microformats2
(twitter.com/_/status/972336503698460672)
#
Loqi
Kartik Prabhu
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
Kartik Prabhu
tantek, nitot and barpthewire joined the channel
#
sknebel
aaronpk: I think I'd prefer if extra information like "compat root yes/no" would be put in extra fields of the object, then consumers only looking at the specified ones (type, properties) would be safe from potential confusion. e.g. allow underscore-prefixed parser-specific extra fields or something
Garbee and barpthewire joined the channel
#
sknebel
I guess this would be a bit annoying if you wanted to annotate individual properties
#
sknebel
now that I think about it again
#
sknebel
but even then you could make a duplicate property tree or something, and I don't have a use case handy right now
#
sknebel
sounds like it'd be worth a spec issue
#
aaronpk
Individual properties can't be backcompat without the parent object also
#
sknebel
sure, but I think a general way of doing parser-specific extensions like this would be useful
#
sknebel
could of course also change the spec to expose the backcompat info
#
sknebel
(I understood this as "might extend the PHP parser like this", not as a general feature request, but that might have been misinterpreting it)
#
@asalsman
Good morning. I’m learning about microformats for event based objects in HTML. How’s your Saturday morning?
(twitter.com/_/status/972482924435197957)
[kevinmarks] joined the channel
#
[kevinmarks]
I have used the python backcompat structure to scrape other sites. BBC recipes particularly
JohnBeales and tantek joined the channel
#
sknebel
KartikPrabhu++ again for digging through mf2py issues
#
Loqi
kartikprabhu has 14 karma in this channel (179 overall)
JohnBeales, vivus, Garbee, [kevinmarks], KartikPrabhu and [tantek] joined the channel
#
@bloommarketing
Bing has confirmed support for JSON-LD formatted http://Schema.org markup http://ow.ly/j1AX30iN9d5 #bing #microformats
(twitter.com/_/status/972562985993424896)
KartikPrabhu and [kevinmarks] joined the channel
#
gRegorLove
https://github.com/indieweb/php-mf2/issues/116 is a quick fix so making a PR currently
#
Loqi
[gRegorLove] #116 Fix hReview backcompat for summary property
JohnBeales joined the channel
#
gRegorLove
php55 took a long time then failed, think it's something with Travis CI? https://travis-ci.org/indieweb/php-mf2/builds/351795538
ravisagar joined the channel
#
sknebel
yeah. repo admins should have a button to mash to re-run the test
JohnBeales, rMdes, chrisaldrich and gRegorLove_ joined the channel