#[keithjgrant]Haha, yes! Got micropub working again. This time using Netlify functions instead of Heroku
#[keithjgrant]This lib was storing the with token to the post’s frontmatter, which seems, uh… not good. But I was able to modify that out
#barnaby[keithjgrant]++ congrats! yep storing the token is a fairly common mistake I think, especially when it’s sent as part of the request body. I remove it from the post body in my MP library to reduce how much that happens
mro, [campegg], [timothy_chambe] and slyduda joined the channel
#tommorrisinteresting post here by someone getting their blog indiewebified, but their h-entry syntax isn't getting picked up by indiwebify.me (which uses the php mf2 parser). https://www.lifelog.be/indiewebifying-my-blog-part-1 - any interest in helping them out or seeing if there's an issue with the parser
#tommorristhought it might be because it's react/JSX but SSR is working, so dunno
vilhalmer joined the channel
#sknebel<html lang="en" dir="ltr" class="h-full <- that looks potentially problematic
#Loqisknebel has 15 karma in this channel over the last year (35 in all channels)
#tommorrissknebel: will email the author to tell him :)
pharalia joined the channel
#tommorrisgiven tailwind probably won't go away, might not be a bad idea to hack together a way for uf2 parsers to selectively exclude likely overlaps. from my reading of the tailwind docs, it looks like h-[0-9], h-[0-9]/[0-9] and a few keywords could easily be ignored. guess it might be time to document it on the wiki
[aciccarello] joined the channel
#[aciccarello][tommorris] I added a section to the tailwind page about microformats. Feel free to update as you see fit
mro joined the channel
#aaronpkWe did already update the parsing spec for things like that
#[schmarty]snarfed: adactio touts the w3c priority of constituencies quite a bit in his talks about the web, progressive enhancement, making sure things fail well, etc.
#sknebelthat reminds me of the old "doom as a process manager" patches :P
#yarriewhy does he feel the need to make product announcements within replies
#yarriemeans you have to stalk his profile to figure anything out
#barnabyyarrie: there’s your answer right there. he craves attention, and making product announcements from his personal account brings that in bucketloads
#yarriebarnaby: that explanation seems insane but it wouldnt surprise me
#barnabyI’ve had him blocked for years, but I think he did something very similar with spacex, live-tweeting updates and analysis from his personal account
#barnabyit’s also similar to how Tr*mp used twitter
#yarrielive tweeting important, mostly bs, decisions is one thing, but doing it within replies when the twitter UI for viewing replies is so awful is just insulting
#LoqiIt looks like we don't have a page for "Podcasting 2.0" yet. Would you like to create it?_ (Or just say "Podcasting 2.0 is ____", a sentence describing the term)
#barnabyat least (in this case) it doesn’t look like it has anything to do with blockchains
#yarrieam i being cynical or does podcasting 2.0 seem like a term being pushed by a single org
#barnabyand the opposite property, p-goes-so-hard=feel-free-to-screenshot
gRegor joined the channel
#gRegor[snarfed], For Bridgy Fed, if I want to syndicate some notes, do I need to have the Atom feed advertised on the homepage? I have my articles Atom feed there already, so will it look through both of them?
#gRegor(I haven't started with BF yet, just a preliminary q)
#gRegorHm, the Tailwind h-* stuff isn't ideal for the parsed results, but IWM does still show the first h-entry it finds even if it's nested. I suppose readers would probably fail, though. Monocle preview doesn't show the post.
#aaronpkthere's a million edge cases for things like this in XRay already, and adding one more may break others
#aaronpkit looks simple at first glance but when you realize all the different combinations of things people try to do with their markup it gets complicated
#aaronpkone other problem with that page is it's redirecting no-www to www, but including no-www links in the properties
#gRegorYeah, this is more #microformats I guess, but not sure about going down the route of keeping a list of h-* to ignore
#gRegorMaybe in helper libs, but probably not in the parsing spec
#aaronpkthe other way to go here is encourage Tailwind to switch to css classes that don't interfere with microformats :)
#slydudaalso not a fan but i use it constantly haha
#[jacky]is going to brew a post called "Tailwind Considered Harmful"
#slydudanot advocating for it to be fixed^ i would be fine change the name
#barnabyfrom what I’ve seen the creator write, I don’t imagine they’d be interested in changing it for mf2 compat, but it might be worth a try
#aaronpkthe one thing a consumer can do with that extra h-full wrapper object is to look for an h-entry with a u-url that matches the URL of the page it's fetched from
#aaronpkbut that would fail on that example anyway because of the www issue
#barnabyI’d be up for adding a function to mf-cleaner which removes any microformats with these false-positive root classnames from the tree, re-sorting any children back into place
#aaronpkhow do you know if it's a false positive? hard-code the list of known object names?
#barnabyyeah, document them on a case-by-case basis and hard code a list of suggestions, but allow the caller to override it if they want
#LoqiIf we go with the third option, I'd be slightly pressing the suggestion to parsers to allow for an option to restrict any of the `h-` values to be ones that can represent known values, namely those with defined specifications
This could be an evolvin...
#[jacky]I can easily throw this into microformats-rust
#aaronpkplz don't put stuff like that in the actual parsers
#barnabyyeah I don’t think this belongs in a parser library, unless it’s explicitly designed with a batteries-included approach, and puts stuff like this under a separate namespace which makes it clear that it’s an optional extra
#barnabyseeing as XRay can consume raw MF2 data, it’d even be possible for people to use mf-cleaner to remove the unwanted objects, and then use XRay to get a normalized representation of them
#barnabyanyone know if we’ve encountered any false-positive property classnames? does tailwind have classnames which might get picked up?
#barnabyI’m wondering if “has no properties” is an additional heuristic I can use for detecting false-positive root classes, although, hm, I guess something with just a root classname would get implied properties
#barnabyI’ll stick with a list of known false-positives for the moment and consider additional heuristics as and when they become necessary
#[snarfed]we looked at this in Indie Map recently for h-about etc. finding the queries...
#slydudajust prefixes that are microformats specific: p- is padding for example
#slydudabut i don't think that causes any large issues
#gRegorBootstrap 5 has some I think, padding like p-5
#gRegorMost have a "side" like px-5 for left and right, but for all 4 sides they have p-*
#slydudadon't think it was linked, but here are all of the built-in heights for tailwind. issue is it's very easy to make custom classes as well like h-screen-nav
#barnabyslyduda: any idea how common that is? for the moment my approach would be to document the built in “official” tailwind classes which could be false positives, assuming that they’re going to be the most widely used
#aaronpknumbers aren't allowed in mf2 classes so p-5 doesn't matter
#aaronpklol barnaby i just got an email that you merged my 8.5 year old PR
#barnabyhmm I could also take the opposite approach of allowing the caller to specify a list of types they *do* want, that way it’s up to them to decide and they can list all the mf2 vocabs they support. Downside is that it’s much more likely to mess with the data structures than removing a short list of known false-positives
#gRegorah right, keep forgetting numbers are skipped. nice.
#slydudai've seen h-screen-[variations] and h-full-[variations] a built in a lot of many tailwind sites, but that's it
#barnabyhmm, matching prefixes would be possible, but add to the complexity of the calling API
#[snarfed]gRegor the Atom part of BF is only for Mastodon interop, which I don't totally understand and is years old, so it may have changed or dropped entirely since then
#gRegorAh, so sending a wm to BF for a note (with the link included) should be enough to syndicate/federate the note?
#gRegorI might try it without the Atom feed and see :)
#@voxpelli↩️ In my view the IndieWeb content is microformatted and delivered as HTML over HTTP and WebSub with WebMentions used for pings.
Then there are the MicroPub and MicroSub parts as well, but no need to couple publishing tool with publishing place and/or reading tool. (twitter.com/_/status/1592298888891072512)