#dev 2026-02-02

2026-02-02 UTC
gRegorLove_, ax562, jjuran_, bterry1 and grufwub joined the channel
#
khurtwilliams
php-mf2 parser → succeeds on my actual page, returns all 3 top-level objects in order
#
khurtwilliams
gRegor: I think I've isolated the issue. XRay is returning "type": "unknown" because my post (https://islandinthenet.com/indieweb-2030/) has a standalone h-card in the header (line 113-128 of the HTML) that appears before my h-entry article in DOM order.
#
khurtwilliams
My actual page with h-card first → XRay fails ("type": "unknown")
#
khurtwilliams
According to microformats2-json spec: "items is an array of microformats2 objects, ordered according to their order in the source document."
#
khurtwilliams
Created minimal h-entry test page → XRay succeeds ("type": "entry")
#
IWDiscord
<k​hurtwilliams>
#
Loqi
khurtwilliams: gRegor left you a message 7 hours, 19 minutes ago: I think there might be a caching issue on https://islandinthenet.com/indieweb-2030/. Also I think the comments on your post should be in `u-comment h-cite` so they show up as children of the entry. You can try pasting in variations of the HTML on https://xray.p3k.io/ to see how it parses. IndieNews is using XRay under the hood
#
IWDiscord
<k​hurtwilliams>
#
IWDiscord
<k​hurtwilliams>
#
khurtwilliams
So parsers should return ALL top-level microformats, not stop at the first one.
#
IWDiscord
<k​hurtwilliams>
#
khurtwilliams
Is XRay's behavior (stopping at first h-* object) intentional, or is this a bug? The standalone h-card is redundant anyway since I have an h-card inside the h-entry as p-author, so I can remove it. But I want to understand if XRay is following the spec correctly.
#
aaronpk
khurtwilliams: see my note above about xray returning the right result when pasting in the HTML and URL directly. The failure has something to do with what your site returns when fetched from XRay. Are there any plugins that do content negotiation? Or plugins that block bots?
dale and dale-- joined the channel
#
dale--
I'm trying to indieauth on to the https://xn--sr8hvo.ws/ web ring centre, but it is failing without telling me why. Is schmarty here by any chance?
#
dale--
Anyone associated with that site?
#
gRegor
Yeah, XRay uses php-mf2 which returns all the microformats2, as long as it can fetch the HTML
#
gRegor
dale--, he's on Eastern timezone so likely asleep at the moment. What's your domain?
#
Loqi
dale has -1 karma in this channel over the last year (0 in all channels)
#
gRegor
dale++
#
gRegor
unintentional karma with that nick, lol
#
gRegor
dale++
#
dale--
khleedril.org is my domain.
#
dale--
I'll have to call back in 8 hours then! Thanks.
#
gRegor
I don't see any IndieAuth endpoint or rel-me links on your site
#
gRegor
indielogin, the service that the webring falls back on, responds "We couldn't find any way to authenticate you using your website.
#
gRegor
" when I enter your domain (or the URL that your domain redirects to)
#
gRegor
You can try entering that second link in https://indielogin.com to sign in. Your site shows an "OAuth(DenySilently)" message then some JSON when I enter that
#
gRegor
But if you want to show up in the webring as "khleedril.org" and not that author page, the landing page would need to advertise the indieauth-metadata
#
dale--
I'm not currently recognizing that client-id. Give me ten minutes, I'll add it in my code.
#
gRegor
From the webring, I entered https://khleedril.org/dale-mellor and got "The authorization server did not return a valid response
#
gRegor
" near the top. Admittedly it doesn't stand out, just regular text not red or anything
#
gRegor
I'm about to head off myself for the night. Good luck! Others should be around to help at various times.
#
gRegor
That message indicates (at least) no "me" in the response JSON from your server, from the client library: https://github.com/indieweb/indieauth-client-php/blob/main/src/IndieAuth/Client.php#L135 Might check your logs for what response it's sending.
#
dale--
Yep, I'm on it. Thanks for your help.
KE0VVT, rolandas, simpleauthority, jjuran, blacklight and [simonbc] joined the channel; dale-- left the channel
#
[simonbc]
I'm starting implementation of IndieAuth for Jottit today. Jottit authenticates using magic links. Has anyone else done this combo? Any gotchas?
rolandas joined the channel
#
[KevinMarks]
Indielogin does email a passcode, which is similar. The usual magic link issue of having 2 tabs open on your site, sometimes with one inside the users email app on mobile applies.
rolandas joined the channel
#
[KevinMarks]
Interesting PhD job in implementing decentralized social https://hci.social/@floe/116001038629671413
#
Loqi
[preview] [Florian 'floe' Echtler] Hello #fediverse! Thanks to my new DFF grant, I'm now looking to hire a PhD student to join me at AAU in Aalborg 🇩🇰 to work on "usable decentralization", i.e. on making distributed and federated cloud services accessible to the everyday user. F...
[schmarty] joined the channel
#
[schmarty]
gRegor++ thanks for the webring auth assist! i don't know how to karma dale, who has a -- at the end of their name. 😂
#
Loqi
gRegor has 35 karma in this channel over the last year (129 in all channels)
ax562 and rolandas joined the channel
#
Loqi
[preview] [Alaric Snell-Pym] @skinnylatte a friend of mine was writing a user interface to enter phone numbers, and wanted it to be aware of all the local formatting conventions - I suggested he create a Wikipedia page listing the ones he knew in a table and wait a month for it ...
barnaby joined the channel
#
[simonbc]
KevinMarks++ Thanks for the heads up about the two-tab issue! When you say IndieLogin emails a passcode - is that a code users type into the browser, or a link they click? Trying to figure out the best UX for magic links + OAuth.
#
Loqi
KevinMarks has 10 karma in this channel over the last year (34 in all channels)
[jeremycherfas] and blacklight joined the channel
#
WinnerWind
ive been thinking of how one could use a LAN as a way to create physical instances of docker.... let me explain what i mean
#
WinnerWind
usually what people do is that they install docker and run containers within a system, which are kind of like virtual machines
#
WinnerWind
however, what if we had one server doing a reverse proxy, and other physical servers each tasked with running only one service, and that reverse proxy server just goes "yeah i'll proxy this IP address to you which I know is in my LAN"
#
WinnerWind
it's a stupid idea but it could be useful for things like....... jellyfin and stuff where you probably dont want the power hungry server to be on all the time
#
[KevinMarks]
Aaronpk may have more up to date advice on magic links and OAuth, I think there were some recent specs to clarify some of the paths
[Schepp], thegreekgeek, blacklight, KE0VVT, rolandas, rrix, [Joschi_Kuphal], ax562, oodani, sebbu, mahboubine, [snarfed], btrem and barnaby joined the channel
#
btrem
Except for a brief period when I first learned javascript (I don't want to date myself, but it was a *long* time ago), I've always avoided the <noscript> element, opting instead for progressive enhancement. But the popover api makes me wonder if a <noscript>-ish use of the api would be acceptable?
#
btrem
I have a page with a button that copies a public key if javascript is enabled. In the markup, the button is hidden and there's any empty popover paragraph. The javascript unhides the button, and, when clicked, copies the key text. It also changes the popover message to "Text copied" if it worked, or an error if it didn't.
#
btrem
Since I'm modifying the popover text anyways, I could change the html markup, leaving the button visible, and in the popover element writing something like "The copy button is not working. Maybe you have disabled javascript in your browser?" Then, if javascript is disabled, clicking the button will inform the user that nothing happened.
#
btrem
Any thoughts on that approach?
#
[artlung]
Brennan Day's recent article is great on a rationale and method for noscript: https://brennan.day/respecting-the-no-js-choice-making-your-site-work-for-everyone/
#
gRegor
btrem, I've built a "copy link to these results" UI which with JS enabled, just shows a button that copies to the clipboard. With JS off, it shows a text form element with the link in it, label "Copy link to search results". I'd prefer this type of setup than any warning about something not working and needing JS.
#
gRegor
Have not experimented with Popover API yet myself, though sounds a bit orthogonal.
#
gRegor
With https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/user-select, you can also make selecting that text field select the full contents. I think [tantek] just did that recently on on the citation boxes, like https://tantek.com/2026/028/t1/csswg-f2f-apple-cupertino
#
btrem
gRegor: Already did the `user-select` thing. It's pretty slick, though arguably a misuse of css. (It changes ua behavior more than presentation.)
#
gRegor
Disagree, if the intent is for the user to highlight and copy the full text of a specific input
#
btrem
Agree to disagree. :) I'm not complaining about it; on the contrary, I rather like it.
#
btrem
It's mostly a question of what to do with the button element. Option (a) hide it by default, enable it in the js. Option (b) attach a popover message explaining why it doesn't copy. The idea of a <label> to change the focus to the text to be copied is clever, but might not be workable for a long public key.
#
btrem
But it's time for me to go to work. I'll muck around a bit tomorrow.
#
btrem
gRegor++ for the additional promise tests, thanks!
#
Loqi
gRegor has 36 karma in this channel over the last year (129 in all channels)
#
gRegor
In the setup I described, the basic form version is in in section visible by default, and hidden with JS. Then the JS-only button is in a separate section hidden by default, made visible with JS
#
gRegor
You could potentially show the first part of the key in the input and hide the rest with a CSS overflow property. That would be my inclination
#
gRegor
Maybe with a text/link under it: "Or [view my key] directly", linking to the plaintext file
#
gRegor
I do something like that with my Cryptpad key here: https://gregorlove.com/follow/#cryptpad Have not considered building a copy UX before, since Cryptpad is such an edge case, haha
[Al_Abut] joined the channel
#
[Al_Abut]
[KevinMarks] I definitely concur that the challenge of making decentralized social media usable by laypeople is a PhD level of hard.
#
[snarfed]
I dunno. that's often true - fediverse, Nostr, SSB, etc - but not always. Bluesky and http://micro.blog are imo two counterexamples
#
[Al_Abut]
[snarfed] fair point!
#
ulhar4409
-# i'm not really convinced on bluesky being meaningfully "decentralized" tbh
#
[Al_Abut]
I often refer to http://micro.blog and omg.lol as the “solved” versions of a beginner-friendly on-ramp to the indieweb. All of the building blocks are there as features to be used, not specs to be read.