#dev 2022-09-13
2022-09-13 UTC
Hgghn joined the channel
# [schmarty] corlaez: take a look at granary.io ! It can convert between html-with-microformats and other feed formats like atom
# [schmarty] All transforms are URL-based, so that is the API
# [schmarty] It's also open source and works as a Python library
# Loqi granary is the social web translator https://indieweb.org/granary
# Loqi There are many projects you can use to get your site on the IndieWeb, improve your IndieWeb support, or browse for inspiration for your own project; please note, some development ability and familiarity with command line tools will likely be required for you to use and improve these projects https://indieweb.org/projects
# corlaez schmarty, I didn't know you were mmg. I sent a PR to the indie web ring. just a heads up https://github.com/martymcguire/indiewebring.ws/pull/15.
geoffo, angelo, AramZS and gRegor joined the channel
# [Murray] [tantek] Thanks, but I'm not sure that really provides a validation of why you shouldn't do it. I haven't yet read through the linked articles (I will) but it may better to actually provide a brief reason why this is considered a bad practice? It just reads as "don't do this", unless I'm missing something.
nathan[m] joined the channel
# [Murray] Also, [schmarty], that post is precisely one of the arguments being used in this conversation for why this pattern would make sense. The justification is that the use of microformats in class selectors would actively help ensure their use across a wide codebase π (this also touches on Ben Myers semantic selectors: https://benmyers.dev/blog/semantic-selectors/ and common best practices found in methodologies like CUBECSS:
mambang[m], AramZ-S[m], Steve[m], zack[m] and Pyroxtheythem[m] joined the channel
h4kor[m], mro, mpardalos[m], tetov-irc and barnaby joined the channel
# [Murray] Okay, I had some time over lunch to read through the linked articles, but I'm not sure any of them are actually relevant to my question (or even that section of the FAQ) π€ The linked articles all seem to be discussing what an HTML class *is* but none of them really touch on CSS, beyond making a case for semantic CSS names. If anything, that suggests to me that using microformats as CSS hooks is _supported_ by the FAQ, as that woul
chenghiz_ and jacky joined the channel
# Loqi It looks like we don't have a page for "hateoas" yet. Would you like to create it? (Or just say "hateoas is ____", a sentence describing the term)
# Loqi It looks like we don't have a page for "HATEOAS" yet. Would you like to create it? (Or just say "HATEOAS is ____", a sentence describing the term)
AramZS and jacky joined the channel
# [tantek]4 [Murray] your reasoning is exactly why a bunch of us originally *did* recommend using microformats class names for styling hooks. It makes sense in theory, and for some subset of use-cases, it mostly "worked". However, with enough longer term experience, it turned out that sites that did that ended up breaking their microformats when they did redesigns. So that assertion of "would help keep semantics intact" turned out to be false
# [tantek]4 for one.
# [tantek]4 The only way you "help keep semantics intact" is by having a semantics consuming use-case that is actively in use either by users or by the developers e.g. a validator, linter, regression tester.
# [tantek]4 If/when push comes to shove of semantics vs design (e.g. by using the same class names for both), an iteration of design "wins" and breaks the semantics. This has been the long term experience.
# [schmarty] i feel like using semantic attributes and/or microformats for CSS selectors works when the person creating the CSS is doing so while testing the HTML semantics. it's a way of making it obvious when the HTML semantics break because the CSS breaks.
# [tantek]4 yes [schmarty] is correct, it's useful for visualizing the semantics for testing purposes
# [schmarty] but that kind of assumes some expert is in control of the CSS as a way of enforcing good markup
# [tantek]4 it's only when you depend on them for the "primary design of the page" that you get into problems because it turns out the primary design of the page has other more important design constituencies
# [schmarty] and that kind of control may not actually be common!
# [tantek]4 [Murray] you're right that the FAQ only gives an "answer" and doesn't provide the reasoning behind it. That might be worth writing up in a separate page/post (which I thought we did somewhere, I just can't find it) and then summarizing/linking to it
barnaby and jacky joined the channel
jacky and AramZS joined the channel
cbzen and [naturestudy] joined the channel
# [tantek]4 aaronpk you have no idea how much work I had to put into my own code to do that lol
# [tantek]4 I *still* have a "preview the POSSE tweet" feature with a "characters remaining" count before publishing
# [tantek]4 I'm interested in the content use-cases that you are finding errors with "even when the text would all fit on twitter"
jacky joined the channel
# [tantek]4 aaronpk, what kind of API are you looking for for this functionality? perhaps I can see if I can improve my CASSIS functions to meet your requirements
# [tantek]4 oh wow ok much higher level than I've implemented
# [tantek]4 I was asking about character counting for a POSSE destination π
# [tantek]4 got it. yeah my code to set in-reply-to is in Falcon PHP to call the Twitter API, and if I'm POSSEing photos or video to Twitter, then I skip my code and use Bridgy Publish
# [tantek]4 on another topic, has anyone explored a nicknames cache use-case of recognizing "proper names" in text content and *suggesting* linking their first instance in the content to their canonical link from the nicknames cache, with the side-effect of replacing the proper name with a POSSE destination @-name in POSSE text?
# [tantek]4 e.g. this tweet from voxpelli: https://twitter.com/voxpelli/status/1569721025046237192
# @voxpelli This concept from The Verge also aligns with the @indiewebcamp philosophy of building and maintaining your presence online from your own site and only syndicating it elsewhere: https://indieweb.org/POSSE (twitter.com/_/status/1569721025046237192)
# [tantek]4 "The Verge" really could (should?) have been @TheVerge in the tweet, and it seems that (semi-)automating that sort of thing would be helpful (rather than having to always personally dig up the @-name of an entity that youβre mentioning)
# [tantek]4 or am I the only that would want this feature?
# [tantek]4 (from a content authoring perspective)
# [schmarty] i'm suspicious of automating those as i sometimes have trouble determining whether a suggestion is "right" with twitter's own @-suggestion UI
jacky joined the channel
# [snarfed] [aaronpk] feel free to weigh in on https://github.com/snarfed/bridgy/issues/796
jonnybarnes joined the channel
# [schmarty] anyone doing ics + websub? π
geoffo and AramZS joined the channel
# aaronpk oh darn, looks like probably not doablw https://github.com/snarfed/bridgy/issues/166
barnaby and [Jamie_Tanna] joined the channel
# [Jamie_Tanna] (which as the name suggests is for a feed of RSVPs to iCalendar)
# gRegor ooh neat, I'd missed https://authorship.rocks/
# [tantek]4 [schmarty] re: "have trouble determining whether a suggestion is "right" with twitter's own @-suggestion UI" that's specifically why I noted it in the context of using a nicknames cache to solve this, because presumably you had to explicitly approve/add something to your own nicknames cache
barnaby joined the channel
# [tantek]4 gRegor, right, I do the same currently, however my goal with a nicknames cache is to type either their proper name or domain name into my text content and have my editor replace either of those with a personal-site linked proper name (or shortname / given name), with enough meta information so that the POSSE step automatically substitutes their @-handle local to the service
# [tantek]4 there are two different UIs at work here:
# [tantek]4 1 the UI to suggest / populate the nicknames cache itseslf. this is where using Twitter's suggested @-names may be helpful, and requires careful human / author review
tetov-irc and AramZS joined the channel
# [tantek]4 2. the authoring UI that notices proper names / domains and uses the nicknames cache to provide semi-automatic replacements while writing (similar to what social media authoring UIs do, but using indieweb links/mentions rather than silo profiles)
jacky joined the channel