#microformats 2024-12-06

2024-12-06 UTC
glacier, gRegor, g1, GWG, [bneil], IWSlackGateway and [tantek] joined the channel
#
[snarfed]
has anyone ever wanted to disable mf1 backcompat in an mf2 parser?
#
[snarfed]
I'd like that option
#
[tantek]
those are some really weird false positives
#
[tantek]
should we add "h-full" to our item blocklist?
Kupietz, Guest6 and [qubyte] joined the channel
#
Loqi
[preview] [microformats] php-mf2: php-mf2 is a pure, generic microformats-2 parser for PHP. It makes HTML as easy to consume as JSON.
gRegor, eitilt and [schmarty] joined the channel
#
[snarfed]
re h-full, sure, but I expect most/many mf2 consumers at least look for specific types they're interested in, so h-full wouldn't bother them too much...?
#
[snarfed]
the real problem is the h-entry content there, at least for me
#
[snarfed]
it may not technically be wrong, but it's not great
gRegor and barnaby joined the channel
#
[tantek]
yeah it's pretty bad
#
[tantek]
I wonder if we could tweak it with some backcompat algo tweaks, e.g. if there's *only* a synthetic e-content (no author or name properties) then perhaps we should drop the entire synthetic h-entry?
#
[tantek]
[snarfed] do you think such "reduce noise" efforts would be sufficient?
#
[tantek]
or would this end up being a continuous patching exercise?
#
[snarfed]
honestly I don't know the ecosystem well enough to say
#
gRegor
Some more discussion about those Tailwind classes in https://github.com/microformats/microformats2-parsing/issues/59
#
Loqi
[preview] [tommorris] #59 Ignore Tailwind's h- prefixes
sebbu joined the channel
#
gRegor
[snarfed], is the problem the lack of the mf1 entry-title?
#
gRegor
The entry-content looks mostly correct, though it includes the little holiday promo at the bottom which it probably shouldn't
#
[snarfed]
yeah I don't have a crisp clear problem statement here, I just don't like it 😎
#
[snarfed]
afaict this ugliness - even if it's technically correct - caused the URL and HTML in the link preview in https://bsky.app/profile/ScienceDesk.flipboard.social.ap.brid.gy/post/3lcgk6msncg42 instead of human-readable text, but I don't exactly understand how yet
bebethatmustbeme joined the channel
#
gRegor
Hm, not sure. The Flipboard link there isn't in the source HTML
#
gRegor
Oh, you mean in just the link preview, nevermind
#
gRegor
So with bsky, BF has to construct the link preview?
#
gRegor
Gotcha. I think using content.value as the description would work better, at least no HTML would appear in it.
ehmry and gRegor joined the channel