#Loqi[Jeff Jaffe] A letter from our CEO
Marking two years since the start of the pandemic, W3C CEO Jeff Jaffe reflects on how the web became the ultimate tool of resilience for the world.
The Web as the ultimate tool of resilience for the world
It’s hard to draw a t...
jacky, justOkay, mro, cybi, niklasfyi[d] and Seirdy joined the channel
#[manton][tantek] [jacky] I took some more time this morning to look at the like MF2 → JSON Feed thing… Granary does produce JSON Feed that seems reasonable from Tantek’s site. For Jacky’s site, there are not any u-like-of attributes. There is e-content, but for some reason it all comes through as a blank string in Granary. I’m not sure why.
Ramon[d] joined the channel
#[tantek][manton] interesting. Does it do anything useful with the likes in my homepage mf2?
#[manton]Nothing special. It just includes “likes this” as the content with a link to the tweet.
#[manton]But that’s definitely better than an empty string.
#[schmarty]well outside my skillset, but i would love to have a version of the web-based mf2 debugging tools that can actually point back into the HTML to show where something is defined
#[schmarty]a lot of mf2 "errors" are really tricky because i think the most common are "i am not seeing the thing i expected (because it's mistakenly not mf2 and therefore no parser would it pick up)"
#sknebelI think I failed first time because I wanted to use the raw source HTML and (html) parsers are not really cooperative with that
#[schmarty]so on the one hand a "why is it like this" tool that explains where certain things are coming from _seems_ straightforward.
#sknebel+ its a fairly deep partial rewrite of a mf2 parser to expose it well
#[schmarty]but i don't know how to solve that other class of problems
#[schmarty]sknebel: yeah it'd require parsers to keep track of where in a document they encountered a particular thing and i don't think any of them remotely do that 😐
#[manton]I think in this case the lack of u-like-of might be a red herring… It could be improved but the initial problem that we noticed is probably not directly related to the likes but something else with the markup.
#jackyokay so I've fixed the lack of`u-` (I really don't know how I missed it)
#@aswath↩️ A msg serv can allow anyone to init a session by first auth them against a universal id like Indieauth. The orig serv is not in the picture. #EnThinnai (twitter.com/_/status/1508495012262252545)
mro, P1000[d], barnaby and lanodan joined the channel
#[tantek]sknebel, which page source? mine or jacky's?
#[tantek][manton] you should see slightly more than "likes this", e.g. "likes @tomcoates’s tweet"
#[tantek]is the u-like-of making it into the JSON feed?
#[manton][tantek] I’m not looking at it right now, but if I remember… “likes this” shows up in the content, and “likes tomcoates’s tweet” shows up in the title and summary fields.
#[tantek]weird because nowhere do I say "likes this", and my like posts do not have an explicit content property so perhaps it's being auto-generated?
#[manton]Yeah, possibly Granary is noticing the u-like-of and adding that text itself.
#[tantek]Is that useful or should we file a bug to tell Granary to use the explicit summary instead when there's no content
#[tantek]seems weird for the "content" to have less information than the "summary"
justOkay joined the channel
#[manton]Agreed, it seems weird to me too. I guess some of this is a personal preference… Personally I wouldn’t include a “title” field for liked tweets either.
lanodan joined the channel
#[tantek]that "title" field is like coming from the p-name, which might be implied by the mf2 parsing
#[KevinMarks]It can make sense to have a title/name if the thing you're liking is a longer piece with a title
#[KevinMarks]There's some trickiness if link previews happen in the side displaying the like, as that can then lead to awkward doubling
#[tantek][KevinMarks] no that is conflation of the title/name of the post vs the thing the post is linking to (h-cite of)
#[tantek]so absolutely not. that's the kind of sloppiness that caused RSS to be inconsistent
#[KevinMarks]Well, fair, but Atom:source never quite took off, and so it is a way people use various feeds, so for granary to translate will need some complicated heuristics
#[tantek]it's not really Atom:source either, which is more of a "repost" like thing
[snarfed] joined the channel
#[snarfed]thanks for digging into this, all! I haven't followed it deeply, but if you conclude that it's a granary bug or missing feature, feel free to file and I'll look!
jacky joined the channel
#[tantek]snarfed, no worries! I suppose we don't quite have a "consensus" on whether synthetic content is good/bad (I happen to think it's bad, but that's only my personal opinion / evaluation)
#[tantek]that is, granary creating content like "likes this", instead of leaving 'content' empty or at least re-using 'summary' if present.