#microformats 2018-03-12

2018-03-12 UTC
tantek, [miklb], [kevinmarks], [snarfed], [eddie], [mrkrndvs], KartikPrabhu, twisted`_ and GWG joined the channel
#
magaly956
edited /h-card (+91) "/* Example */"
(view diff)
schmarty joined the channel
#
magaly956
edited /h-card (+16) "/* Example */"
(view diff)
[kevinmarks], Garbee, globbot, nitot, bigbluehat, barpthewire, [snarfed], [eddie] and tantek joined the channel
#
gregorlove
edited /h-card (-107) "Revert spam by [[User:Magaly956]]"
(view diff)
#
gRegorLove
tantek: spammer^
#
tantek
edited /Special:Log/block () "blocked [[User:Magaly956]] with an expiry time of infinite (account creation disabled): Spamming links to external sites"
(view diff)
#
tantek
thanks gRegorLove
#
sknebel
!tell KartikPrabhu: your PR seems good to me! (if a bit hard to follow)
#
Loqi
Ok, I'll tell them that when I see them next
#
@rhiaro
@doriantaylor Plain JSON and JSON schema stuff I suppose. Microformats. I can't think of alternatives that would cover everything you can do with RDF, but I think people who claim RDF is dead don't really want to do anything open and/or complex
(twitter.com/_/status/973235391468797953)
#
@doriantaylor
@rhiaro which yeah if you're using microformats or whatever, there are no "others"
(twitter.com/_/status/973236399448014848)
KartikPrabhu, Garbee, [cleverdevil], nitot, echarlie and tantek joined the channel
#
aaronpk
ohboy some minor issues with php-mf2
#
sknebel
still new bugs?
#
aaronpk
one is a trivial undefined variable bug
#
aaronpk
the other is that there's a bunch of whitespace around the "text" of the rel-urls
#
aaronpk
not sure if that's needs a spec clarification or is a php-mf2 bug
#
sknebel
spec says: "text": the text content of the element if any
#
sknebel
so I guess you can add the same dance of "strip whitespace, remove script and style tags, ..." there too
#
aaronpk
I would think so
#
sknebel
and/or maybe the page should globally say that it means that by "text content" unless explicitly specified otherwise...
[mrkrndvs] joined the channel
#
sknebel
since we repeat that *a lot*
#
KartikPrabhu
mf2py strips the rel-urls "text" but does not do any other stuff
#
Loqi
KartikPrabhu: sknebel left you a message 3 hours, 34 minutes ago: your PR seems good to me! (if a bit hard to follow)
#
sknebel
KartikPrabhu: also, after taking a peek just now: props for wading into dt-vcp, that code looked hairy
#
KartikPrabhu
yeah that bit of the spec is very dense
[snarfed], ben_thatmustbeme, KartikPrabhu and tantek joined the channel
#
gRegorLove
Yeah, I think whitespace stripping should be defined globally somehow. Similarly something for making URLs absolute.
#
tantek
gRegorLove: making URLs absolute is defined by reference
#
Loqi
[gRegorLove] LGTM. Think my only addition now is to ensure the `src` attribute in the dictionary gets normalized to an absolute URL: * `value`: get the `src` attribute of the `img` and use the normalized absolute URL of it, following the containing document's ...
#
tantek
whitespace stripping, maybe, if we can. depends if there are individual use-cases that need special treatment or not
#
gRegorLove
"by reference"? Not sure what that means.
tantek and [eddie] joined the channel
#
aaronpk
oh man I want to release php-mf2 so bad now
#
aaronpk
we're so close
#
@kevinmarks
@doriantaylor @rhiaro Can you walk me through that one? Microformats 1 was a narrow set of vocabularies that each parser needed to know; microformats 2 is a generalised parsing model that works with arbitrary vocabularies.
(twitter.com/_/status/973323952281006080)
#
@doriantaylor
@kevinmarks @rhiaro how would I go about mixing rdf and microformats
(twitter.com/_/status/973326120564137984)
#
tantek
y tho?
#
tantek
waits for kevinmarks to cite his own blog post on the subject
#
tantek
or better yet, ask what's the use-case
#
gRegorLove
aaronpk, need help with any last minute fixes?
#
aaronpk
I think the last thing is the rel-urls whitespace issue
#
aaronpk
I haven't noticed anything else wrong yet, and at this point I think i'd rather release this and do bugfix releases if needed after that
#
aaronpk
i've been running it in Aperture since last week, and I'm eager to get it into XRay so that my website can start using it too
#
gRegorLove
Ok. Just whitespace on the 'text' value, right?
#
gRegorLove
Probably line 1278: `$rel_attributes['text'] = unicodeTrim($hyperlink->nodeValue);` untested of course.
#
gRegorLove
I'm fine with doing in a bugfix release though
#
gRegorLove
It's been quite a while, will be nice to have 0.4.0 out
#
@kevinmarks
@doriantaylor @rhiaro OK, let me try this a different way. What problem are you trying to solve? You like rdf as an abstraction, which is fair enough. Do you want to turn information marked up as microformats into rdf so you can link it to data you already have?
(twitter.com/_/status/973329752315629568)
#
tantek
kevinmarks++ nice cooperative reframing
#
Loqi
kevinmarks has 6 karma in this channel (299 overall)
#
@doriantaylor
@kevinmarks @rhiaro you are reacting to a remark I made about "other" vocabularies and microformats not really having that concept in the same way RDFS/OWL does (i.e. term reconciliation via rdfs:subClassOf, rdfs:subPropertyOf, owl:equivalentClass, owl:equivalentProperty, owl:sameAs) am I wrong?
(twitter.com/_/status/973332168213581824)
[cleverdevil] joined the channel
#
KartikPrabhu
would be great if we could release the new mf2py also
#
[kevinmarks]
Yes, sorry, I'll look at your merge.
[kevinmarks] joined the channel
#
KartikPrabhu
need t figure out pypi too I think tommorris needs to add some more "owners" or somerthing
#
sknebel
yes, he can give people access to the package
#
sknebel
(or do the release himself, if that's quicker for the first run then deciding who and setting all that up)
#
KartikPrabhu
[kevinmarks]: in the meantime could you grant me enough permissions so I can add labels to issues on the mf2py repo?
#
@kevinmarks
@doriantaylor @rhiaro Yes, in that microformats tries much harder to converge and reuse properties rather than declare equivalence. In a sense http://brid.gy is doing the sameAs mapping as a service. Subclasses etc don't fit the worldview, it's more like mixins.
(twitter.com/_/status/973342636475117568)
[miklb] joined the channel