#microformats 2023-10-14

2023-10-14 UTC
gRegor, ehmry, [jeremycherfas], milkii, [tantek]1, [pfefferle]1, The_Decryptor6, Guest39220, [campegg], saptaks, IWDiscord, [capjamesg], The_Decryptor, eitilt, [aciccarello] and [jacky] joined the channel
#
[jacky]
Has anyone considered making a "visual debugger" for Microformats? Something that takes in HTML and shows the JSON below. You could click on elements above and it'll show you what JSON node it refers to
#
[jacky]
Thinking about this because I'm working on making my site's theme again from scratch and because I am bored, it has a "linting" tool depending on what page it should be showing (like if it's meant to be an archive, it looks for a h-feed and for pagination links, or if it's a reply, it optionally checks if there's reply-info and requires author info to be present)
#
[aciccarello]
that sounds useful
[tantek]2, [jeremycherfas]1 and [pfefferle]2 joined the channel
#
sknebel
considered, yes, multiple times. gotten around to it, no :/
#
sknebel
it would need digging that feature pretty deep into a parser, I tried getting useful infrastructure for that into mf2py once and didnt like the result
#
[jacky]
What I'm thinking of doing is adding some sort of decorative property to anything that could be referenced from HTML via its XPath from the provided document
#
[jacky]
That way, a client could provide that XPath and a transversal tool/client could find it by that marker
[schmarty] joined the channel
#
[schmarty]
jacky++ this would be useful to me for sure
#
Loqi
jacky has 4 karma in this channel over the last year (49 in all channels)
[catgirlinspace] joined the channel
#
[KevinMarks]
The parser preserves id's so you could inject ids first maybe?
[snarfed] joined the channel
#
[tantek]2
jacky++ great idea
#
Loqi
jacky has 5 karma in this channel over the last year (50 in all channels)
gRegor, [tantek] and klez joined the channel