#microformats 2022-04-28

2022-04-28 UTC
jeremycherfas, strugee, strugee_, [Joe_Crawford], ur5us and jacky joined the channel
#
petermolnar
how would one mark up a h-entry which has translations into multiple language?
#
sknebel
I dont think we have something for that on mf2 layer
#
sknebel
rel=alternate hreflang=xxx on the permalinks would work
#
sknebel
this isnt implemented anywhere, so no
#
sknebel
ah wait, misremembered
#
sknebel
some parsers do actually have it for the e- values too
#
sknebel
but it's still a bit iffy IMHO
#
Loqi
[voxpelli] #3 Parse language information
#
[KevinMarks]
Some implementations linked there
[Murray], jacky, [calumryan] and strugee joined the channel
#
jacky
I think I've implemented that on e- fields in the Rust parsers
#
jacky
it defaults to the language of the page if provided, and none if none provided
strugee joined the channel
#
jacky
but no, it pulls it locally, doesn't do globally html lang= resolving yet https://gitlab.com/maxburon/microformats-parser/-/blob/master/src/parse.rs#L737-761
jacky, [pfefferle], danicotillas, angelo, [jeremycherfas], ur5us, strugee and jacky_ joined the channel