#microformats 2021-06-11

2021-06-11 UTC
[fluffy], [tantek], [jacky], [schmarty] and KartikPrabhu joined the channel
#
@RubygemsN
micromicro (1.1.0): Extract microformats2-encoded data from HTML documents. https://rubygems.org/gems/micromicro
(twitter.com/_/status/1403177059912871936)
gRegorLove_, calebjasik, hendursa1, KartikPrabhu, [grantcodes], [Murray], IWSlackGateway3, gRegor, [KevinMarks], hendursaga, [jacky], [tw2113_Slack_], [pfefferle], BinyaminGreen[m], [tantek], [pfefferle]1 and aaronpk_ joined the channel
#
BinyaminGreen[m]
With microformats, how would I denote that two people are related? I assume it would be with h-cards, but p-org seems more for companies, instead of people.
HelpMeUnderstand joined the channel
#
[pfefferle]1
what about XFN? https://gmpg.org/xfn/
#
[tantek]
what's the use-case you're trying to solve (as in what user action/feature?)
#
BinyaminGreen[m]
That could work. Would microformats parser pick it up? The goal here is to properly mark-up someone's contact info, like in an address book.
[snarfed] joined the channel
#
BinyaminGreen[m]
Say I have an address book with two pages, each representing a person. Each person-page is marked-up with an h-card. I want to tell parsers that these two people are cousins, spouses, friends - in some way connected.
#
BinyaminGreen[m]
p-org seems to do exactly that, but for organizations
[KevinMarks] joined the channel
#
[KevinMarks]
that is what xfn is meant for, though not sure if it has cousin
#
[pfefferle]1
there is no cousin https://gmpg.org/xfn/11
#
BinyaminGreen[m]
Thanks. I just read the page where it explains why cousin isn't included. Why not specify a syntax for defining xfn "kin" relationships? Something like x-kin-cousin. As far as I can tell, the only alternative is to use "kin".
KartikPrabhu, gRegor and [fluffy] joined the channel
#
[fluffy]
‘cousin’ gets pretty complicated too, like when you want to deal with things like ‘third cousin, once removed’ or the like (and nobody seems to even understand how to parse such expressions), or cousin-in-laws or the like. ‘kin’ is nice and generic.
[manton], barnaby and [tantek] joined the channel
#
[tantek]
^ that's why
#
[tantek]
also "tell parsers that" is not a use-case, that's part of interoperability, which is in service of a standard, which is in service of a use-case
[fluffy] joined the channel
#
[fluffy]
Note that there *is* a gender-neutral term for aunt/uncle, namely ‘pibling’ (parent’s sibling), but it’s not in common use.
#
[tantek]
that's amazing fluffy
[jacky], [schmarty], gRegor, hendursa1, [Ana_Rodrigues], [tw2113_Slack_], hendursaga and [aciccarello] joined the channel