#dev 2024-11-02
2024-11-02 UTC
Kupietz joined the channel
# Kupietz Hey don't know if anyone's around or feels like looking at something in the middle of the night, but I'm just gonna leave this here. For some reason, https://monocle.p3k.io/preview?url=https%3A%2F%2Fmichaelkupietz.com%2F is not picking up the .u-url links on my front page, it's showing the titles but no article links. Anyone have any idea why?
# Kupietz If someone sees this tomorrow and wants to glance at it, the help would be much appreciated
[schmarty] joined the channel
# capjamesg[d] I enjoyed this free interactive Regex course: https://regexlearn.com/
# capjamesg[d] [edit] I enjoyed this free interactive Regex course: https://regexlearn.com/
# Loqi A regular expression is a sequence of characters used to match, extract, and/or replace patterns in text, used in many IndieWeb implementations and libraries, such as autolinkers https://indieweb.org/regex
# capjamesg[d] Yes! Will add.
trwnh, GuestZero_, rolle and karjala joined the channel
# [snarfed] [tantek] understood. I think this is https://github.com/snarfed/bridgy-fed/issues/1218 ?
# [tantek] [snarfed] close but not exactly. I think the case Iβm talking about is: when BF is asked to federate a reply to a Fediverse post (BF is already figuring this out), then in addition to federating to the instance of the in-reply-to, federate the reply to all my followers and let their instances sort it out
# [tantek] [snarfed] separately, similar to your recent #microformats question, is there a way to markup part of a post so BF does NOT include it in the content sent to AP/fedi? E.g. I could "just" use markup ignored by Mastodon (e.g. iframes) for such "don't federate this part" content, however wondering if you've implemented a -bf- property for BF to ignore inside
sebbu joined the channel
# [tantek] Moving here from #indieweb: if you're using iframes to embed an /embed of someone else's post, you should put the summary (property? elided content?) of that post as plain text in the 'title' attribute on the iframe. See: https://developer.mozilla.org/en-US/docs/Web/Accessibility/Understanding_WCAG/Text_labels_and_names#use_title_attribute_to_describe_iframe_content
lazcorp, [morganm], [KevinMarks], confusedalex and barnaby joined the channel
barnaby, gRegor and confusedalex joined the channel
# confusedalex hi there, I want to add my blog to the indieweb webring, but when I try to login I get the following error:
# confusedalex invalid_authorization_endpoint The authorization server of the returned profile URL did not match the initial authorization server
# confusedalex Does any of you have an idea why this is happening?
rrix joined the channel
# confusedalex https://confusedalex.dev is the domain. I then get an verification email and verify myself, but when I get redirect to the webring I get the error
# Loqi πΈπ Indiewebring is a webring across IndieWeb sites and blogs, part of the great rebirth of of webrings powered by #IndieWeb technology that made 2018 the year of the webring https://indieweb.org/indieweb_webring
# confusedalex I have also set up a link to my github and can use it to authenticate as well
# gRegor I think this is the step that's causing the error https://indieauth.spec.indieweb.org/#authorization-server-confirmation, if the entered domain and the returned one don't match exactly, it's looking for an authorization_endpoint on your site, which it looks like you're not advertising currently (which should be OK)
# confusedalex Thanks for you help gRegor!
Kupietz joined the channel
# Kupietz Hey, still looking at why https://monocle.p3k.io/preview?url=https%3A%2F%2Fmichaelkupietz.com%2F is correctly showing my article titles but not links. Could it be because the links are all relative in the page?
# Kupietz LOL, didn't mean to come off like I'm demanding help. Any takers?
# Kupietz I've got it so all my sites archive pages parse correctly, just not that front page.
# gRegor From the webring source code, it looks like the expected authorization endpoint for RelMeAuth is https://indielogin.com/auth
# gRegor This is example markup I'd expect for a summary post like that. https://php.microformats.io/?id=20241102212522376
# Kupietz thanks gregor. D'oh! "Updated" in the field. Yeah, things are a little tricky because that hero got complicated under the hood, every time I change something there's a whole cascade of CSS to change. But that's a good lead. Thanks.
# Kupietz sp. gRegor
# Kupietz gRegor++
# Kupietz Ok, cool.
# confusedalex I got it working! I had to add my indieauth provider in the head of my website. I don't really know why I had to do this but it works now haha :)
# Kupietz You know what's weird. Archive page feeds show the url correctly, with no date listed at all. https://monocle.p3k.io/preview?url=https%3A%2F%2Fmichaelkupietz.com%2Fauthor%2Fmike-kupietz%2F
# gRegor Under the hood Monocle is using Xray, so that can be helpful too. https://xray.p3k.io/parse?url=https%3A%2F%2Fmichaelkupietz.com%2Fauthor%2Fmike-kupietz%2F&pretty=true
# Kupietz Right. I accidentally left that out. But the feed displays the correct URLs. Ok, now the homepage is displaying the timestamp linked to the URL, but that's a little weird... why would clicking on the time be a link to the post, instead of the title, or, better, just actually display the URL, like the archive page feeds do?
# gRegor Found an issue to support p-summary only for the content in Monocle btw https://github.com/aaronpk/Monocle/issues/50
# Kupietz Right you are. I had a dt-published class, so it didn't show the URL. But the whole tag wasn't formatted right, so it didn't show the date, either. That's sort of an odd way of working, gonna file an issue
# Kupietz Hokey. https://github.com/aaronpk/Monocle/issues/60 Hmmm. Decisions, decisions, decisions. I assume anyone using this expects the date to be the link in the feed output, so I'm going to continue to have the dt-published formatted right instead of removing the formatting. It's nonintuitive behavior to me personally, though.
gRegorLove_ joined the channel
# [snarfed] [tantek] you might be interested in https://github.com/snarfed/bridgy-fed/issues/667
# [snarfed] otherwise, no way to exclude a specific element yet, I'd defer to https://github.com/microformats/microformats2-parsing/issues/79
# Kupietz gRegor, I was just dithering over whether I wanted to remove the published date entirely so that the URL would show instead. I decided to keep it.
# Kupietz Now, I'm having one of those quintessential wordpress moments where I changed ever single instance I can find of displaying the date in both the parent and child themes to use the correct dt-published formatting, cleared caches and... still displaying it the way the theme author wanted it. Grrrrrrr.
# Kupietz Sometimes PHP reminds me of being in highschool, where you'd get a textbook, and on top of p. 67, someone has written "turn to page 133". So you turn to p. 133 and on top it says "turn to page 22"...
# Kupietz I'm gonna need another cup of coffee
# Kupietz Ah, the good old wp_kses() function. Good old wordpress, "fixing" my code :facepalm:
# Kupietz Alright, dates are tagged and displaying correctly in the archive page feeds. N.B. The feed reader understands the full ISO date, like `datetime="2024-10-31T06:54:58+00:00"`
# Kupietz I had only the yyyy-mm-dd on the front page and it was fine with that too.
gRegorLove_ joined the channel