#dev 2026-02-01
2026-02-01 UTC
TwinAdam and ax562 joined the channel
#
GWG aaronpk: Re visibility, past aaronpk thought about this and added a configuration element. https://github.com/indieweb/micropub-extensions/issues/8#issuecomment-536301952
#
GWG I've added some new issues in https://github.com/indieweb/Micropub/issues - #15, 16, and 17, for async discussion.
rgbivvv joined the channel
elliot1, rgbivvv- and oodani joined the channel
grufwub joined the channel
CRISPR joined the channel
Joherul, rolandas, GuestZero, barnaby, Guest6, rgbivvv and blacklight joined the channel
#
tgagor artlung[d] I glued bookmarks page together: https://gagor.pro/bookmarks/
#
tgagor Mails flow works, I still have to verify if webmentions would work properly but it's shaping 🙂
GuestZero_, CRISPR, ax562, mootilda, rosipov1 and [Sophia_wood] joined the channel
KE0VVT, blacklight, ax562, proofreed, CRISPR, [tw2113], jeremycherfas, lovetheindieweb, epicCoolDog, oodani, sebbu, CrimeWave, [morgan] and gRegor joined the channel
#
gRegor aaronpk, any ideas why XRay returns unknown type for this page? It does have h-card and h-cite at the same level in the parsed result, but the h-entry itself looks good. https://islandinthenet.com/the-indie-web-is-not-defined-by-its-enemies/ https://xray.p3k.io/parse?url=https%3A%2F%2Fislandinthenet.com%2Findieweb-2030%2F&pretty=true
#
gRegor Mixed up the links: https://islandinthenet.com/indieweb-2030/ and https://xray.p3k.io/parse?url=https%3A%2F%2Fislandinthenet.com%2Findieweb-2030%2F&pretty=true is what I meant
btrem joined the channel
[lazcorp] joined the channel
#
gRegor !tell khurtwilliams 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
#
[morgan] Im interested to help a little. Im an occasional MDN contributor so I might even try and improve the docs. Around for like 40 mins
#
[morgan] Optimistically Id say that if someone encounters an issue then there is always room for making the docs a little better. But anyways- can you share a link to something like a code environment to show whats not working for you?
#
valerieflynn To answer @Mootildain #indieweb Regarding:
#
IWDiscord <valerieflynn>
#
valerieflynn "Is this the best channel to ask for recommendations for the world's simplest content management templates, if such exist?"
#
IWDiscord <valerieflynn>
#
valerieflynn You might get more responses in this channel. #indieweb-dev deals with more technical stuff.
#
IWDiscord <valerieflynn>
#
valerieflynn Wasn't sure if you meant content management system or purposely typed templates.
#
IWDiscord <valerieflynn>
#
valerieflynn Either way it probably depends on how technical you are comfortable getting.
#
IWDiscord <valerieflynn>
#
valerieflynn I'm at the WordPress/ Genesis framework level.
#
IWDiscord <valerieflynn>
#
valerieflynn But if you're into coding others would have more expertise than me.
#
valerieflynn [edit] To answer @Mootilda #indieweb Regarding:
#
IWDiscord <valerieflynn>
#
IWDiscord <valerieflynn>
#
valerieflynn "Is this the best channel to ask for recommendations for the world's simplest content management templates, if such exist?"
#
valerieflynn Wasn't sure if you meant content management system or purposely typed templates.
#
valerieflynn You might get more responses in this channel. #indieweb-dev deals with more technical stuff.
#
IWDiscord <valerieflynn>
#
IWDiscord <valerieflynn>
#
valerieflynn Either way it probably depends on how technical you are comfortable getting.
#
IWDiscord <valerieflynn>
#
valerieflynn I'm at the WordPress/ Genesis framework level.
#
IWDiscord <valerieflynn>
#
valerieflynn But if you're into coding others would have more expertise than me.
#
[morgan] Something is funky with the sync perhaps, with those messages we just got. Ah, they are repeating
#
gRegor Will check, though I do have a note about some minimal Clipboard API usage: https://gregorlove.com/2024/07/i-prefer-to-use/
#
[morgan] Hey so the first thing Id be curious to try would be to make a copy and rewrite the promise instead of trying to seemingly attach a promise to the `navigator.clipboard` . There are some MDN examples which demo a catch , which I would try in your environment, with that variable `publicKeyText` which appears to come into play somewhere outside of this
#
[morgan] ! Ah
#
[morgan] I always have a little time to warm up to them after not doing them for a while, they help, but they are not super easy either 🙂
barnaby joined the channel
#
[morgan] right now it kinda looks like your running a function to update the text content, an assignment, there is not a clear condition for how it could fail
#
[morgan] Nice! That lab demo worked for me gRegor
#
[morgan] I was about to say similar, perhaps you want to display the output to the user is what you really want? or is this just for debug?
#
[morgan] You can introduce an error into the code to confirm the error message appears
#
[morgan] Try putting this in `throw new Error("Uh-oh!");` after the text content is updated
#
[morgan] If you didnt see this MDN page, maybe with what you are freshly learning and have a minute, let me know if this wasnt as helpful or not aware of it yet 😄. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/catch
#
[morgan] Im interested to help a little and also Im learning new things about the clipboard through this, so thanks @btrem . Its something I may use on my own site, to copy code snippets or otherwise
#
gRegor Updated https://gregorlove.com/lab/promises-promises.php 1) go to site settings and deny clipboard access for gregorlove.com 2) reload the lage page 3) click the "V3" link and dev tools should show "V3: error reading" as an error. That error is via the catch()
#
gRegor E.g. you can try this self-contained example JS: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/catch#try_it
#
[morgan] Good luck and check in with progress @btrem++ next time you look at it. Today I learned as per above that the clipboard is an instance of a promise , its not quite the usual way I would expect to use a promise. Its got me opening up some tabs and noodling on some stuff
#
gRegor No worries, when you get a chance take a look at the source of https://gregorlove.com/lab/promises-promises.php and try denying the clipboard access like I described. Might help. Happy to answer any questions later
ax562 joined the channel
#
KE0VVT I want to include mdBook pages in my Zola repo on Codeberg Pages.
#
KE0VVT I don't know how to do it, though.
#
Loqi A content management system (often abbreviated as CMS) is software used to create, enter, edit, update, delete content on websites; some CMSs are used for IndieWeb sites, see the tables on this page for current usage https://indieweb.org/CMS
oodani joined the channel
#
[KevinMarks] the other thing about promises is that as written gRegor's function will return before the promise resolves - if you want to do further things afterwards, it's better to return the promise and chain a `then()` onto the function call as well.
#
[KevinMarks] Otherwise you have a race condition. This is why using `await` can be clearer as that does ensure the promise resolves before you exit.
#
KE0VVT onlick(flavor(strawberry));
#
[KevinMarks] It depends, You may want to keep things chainable for further then() or to run in parallel, but that does need a bit more thought. I found this helpful, if a bit exhustive https://web.dev/articles/promises
#
[KevinMarks] this one explains how `await` makes it a bit clearer https://web.dev/articles/async-functions
#
gRegor One way to make the flow more obvious would be on click, first add an overlay/loading graphic, only remove it once the async calls are done. Or if there's an error, show that in the overlay. Could call the clipboard stuff after a short setTimeout too, since it tends to all run very quickly.
