#microformats 2022-02-24

2022-02-24 UTC
angelo, gRegorLove_, KartikPrabhu1, Seirdy, strugee and gRegor joined the channel
#
GWG
There was a question at HWC tonight about how to mark up a list of bookmarks, either on a page or in a digest style h-entry post I'm curious people's thoughts.
#
Zegnat
Re: whitespace stuff. I think one of the reasons it is not going anywhere is that nobody really wants to say how HTML should be converted into plaintext. As implementations run the entire gamut from DOM’s textContent, through HTML’s innerText, to Lynx’ ascii rendering.
#
Zegnat
Having done the innerText implementation, it has so many CSS dependencies, that I am a little critical of including it as the MUST implementation for mf2. It would not encourage people to write mf2 parsers.
franklen[d], barnaby, KartikPrabhu and jacky joined the channel
#
jacky
checks if microseconds are in the parsing algo
#
jacky
hm they are not
#
jacky
well I guess that makes sense, they're not mentioned at https://en.wikipedia.org/wiki/ISO_8601 either
#
sknebel
ah "fun" detail is that HTML5 as one of the few date specs doesn't restrict the number of digits a year has
#
sknebel
as long as its >3
#
jacky
talk about future thinking
#
sknebel
(ISO has it as one of the "not core, but implementations/protocols can agree on allowing 5" things afair)
[jgmac1106] joined the channel
#
Murray[d]
wait, so I can't backfeed content to 99AD but 100AD is just fine? Seems weird 😄
#
sknebel
for less than 4 digits you just need leading zeros
#
Murray[d]
Oh, that makes sense. I also realised you said >3 not >=3 (as I read it). Cool to know though, thanks
#
GWG
There was a question at HWC last night about how to mark up a list of bookmarks, either on a page or in a digest style h-entry post I'm curious people's thoughts.
#
barnaby
tries to think of a use case for microsecond-accurate dt-published
#
[tantek]
aaronpk's flight paths 😂
#
sknebel
barnaby: new post by LHC@Cern: "I just saw a Higgs-Boson!!!111"
#
barnaby
the only time I’ve done any programming which needed microsecond-accurate timing was embedded software
#
Zegnat
You could put a higher precision in mf2. dt- parsing takes any string. It would just be technically invalid to use the value where HTML expects what it considers a valid time string.
#
Zegnat
mf2 has never been changed to guarantee that parsed dt- values are timestamps: https://github.com/microformats/microformats2-parsing/issues/12
#
Loqi
[tantek] #12 should dt-* parsing do date and time parsing for all values?
kimberlyhirsh[d], [jgmac1106] and jacky joined the channel