#dev 2022-11-12

2022-11-12 UTC
[Tim_Nolte] and gRegor joined the channel
#
barnaby
ash[m]: looks like it’s a microblog.pub thing rather than specific to your site template (and very minor), but mb.p is wrapping mention links in an unnecessary <span class="h-card">, the class="h-card" could be on the <a class="mention"> and it’d work exactly the same with one less element
#
barnaby
I’d raise an issue for it myself, but I don’t have a sourcehut account, and it’s a very minor improvement
bterry1, asatree, jacky_, gRegor, rubenwardy, gRegorLove_ and lqdev[m] joined the channel
#
gRegor
barnaby, re: indiewebify.me, I haven't gotten too far with it, but I did start locally on https://github.com/indieweb/indiewebify-me/issues/82 a while back
#
Loqi
[gRegorLove] #82 Migrate to symfony/flex
#
gRegor
I'm not committed to Flex, open to other ideas. Wanted to get it onto something that's still maintained and Silex recommended it. :)
kushal, walkah, aaronpk, KatherineMoss[m], kandr3s[m], Zagura[m], sciamp[m], gRegor, mro, mouse[d], IWDiscordRelay and petermolnar joined the channel
#
ash[m]
<barnaby> "ash: looks like it’s a microblog..." <- Nah that's a bug with the changes I've been making. Thanks for the catch
mro and barnaby joined the channel
#
barnaby
great gRegor++ — will comment there
#
barnaby
hm gRegor++
#
Loqi
gRegor has 17 karma in this channel over the last year (72 in all channels)
#
barnaby
ash[m]: re extraneous <span> element: I’m a little confused about them because I first noticed it in your repost of this https://dj.je/o/72d9e74ad17a4bfa9fac024161bdd5b3 where each embedded h-card has a single u-url element (not ideal as the explicit u-url property means that p-name is not implied, so the parsed entry only has a url property!) but when I look at the repost of it from https://microblog.pub/ or on your site, there are extra <span
#
barnaby
class="h-card"> elements but no explicit u-url
#
barnaby
which is at least better as it means that implied parsing can take place and both url and name properties will be implied
#
Loqi
[@dj@dj.je] I'm glad to see so many new microblog.pub instances popping up! Shoutouts to the ones with theme overhauls, my personal favorites are @cocoa@thread.seam.rip, @andreas@social.avoel.de, @cwt@c3po.bashell.com, @blog@blog.nikisoft.one, and especially @as...
#
@TiimB
I published a new blog post: IndieWebifying my Website Part 1 - Microformats and Webmentions https://tiim.ch/blog/2022-12-indiewebifying-my-website-part-1 #indieweb #microformats #webmentions #golang
(twitter.com/_/status/1591417020557525003)
#
barnaby
I don’t think we really have much guidance for or experience with republishing embedded mf2 markup from external sites yet, other than just stripping out all classnames from incoming HTML to avoid the danger of unwanted properties or styles being applied to the content on your site
#
barnaby
so this is definitely getting into experimental territory
mro joined the channel
#
Loqi
[Gargron] #16080 Change the nouns "toot" and "status" to "post"
#
ash[m]
ooooh
#
barnaby
mastodon posts are called toots because of hbomberguy?! TIL
mro joined the channel
#
[timothy_chambe]
Is there an #indieweb solution we should recommend to him? https://twitter.com/davewiner/status/1591440964329037827?s=46&t=m3xQep6zSwbyL9o8uvBqTg
#
@davewiner
I could retool and write an email identity system. I actually have it mostly written.
(twitter.com/_/status/1591440964329037827)
#
[snarfed]
[timothy_chambe] IndieAuth...but he's not asking for recommendations. "I actually have it mostly written."
#
aaronpk
Yeah plus all he's talking about is the login for his own app and there are plenty of other options for that including email login or WebAuthn (passkeys) now too, it's not a particularly compelling complaint
#
IWDiscordRelay
<c​apjamesg#4492> Interesting re: the name.
#
IWDiscordRelay
<c​apjamesg#4492> aaronpk Is WebAuthn easier to implement yet?
#
IWDiscordRelay
<c​apjamesg#4492> Ah there is a Python library. Interesting.
#
[tantek]
wow jacky that GH issue re: toots/posts
#
[tantek]
makes me glad we stuck with just "notes" to start with as the generic form of short posts
#
[tantek]
also, a bunch of meta-lessons in there about what happens when projects get widely adopted/deployed and the entitlement that is expressed by a growing crowd of folks that get something "for free"
bterry and mro joined the channel
#
IWDiscordRelay
<L​unarequest#0122> Is there a list of end points and the data they should return for the indieweb?
#
barnaby
hi Lunarequest! gotta go in a minute so hopefully others will expand, but: generally indieweb technologies use microformats2 to mark up data within HTML (reducing the need for extra endpoints to get, say, JSON copies of the same data) and link-based discovery for everything else (e.g. webmention for cross-site notifications, indieauth for authentication, micropub for client->server publishing etc)
#
barnaby
so there isn’t a list of set endpoints which you have to implement
#
barnaby
the best place to start is adding microformats 2 markup to your existing blog, and checking it using tools like https://indiewebify.me/ and https://indieweb.org/feed#How_To_Test
#
[jacky]
heh still struggling to deploy sele with Fly
#
barnaby
and exactly what you do after that depends on what functionality you want, but most people tend to go: 2) sending outgoing webmentions (testable using https://webmention.rocks/), 3) setting up a webmention endpoint at your site to handle incoming webmentions and display them as responses (see https://indieweb.org/Webmention) 4) setting your site up as an indieauth identity provider, 4) getting a micropub endpoint working so that you can use
#
barnaby
external client apps like Quill to post to your site
#
barnaby
but as I said, it’s up to you! take a look at the building blocks https://indieweb.org/Category:building-blocks and see what appeals to you
#
IWDiscordRelay
<L​unarequest#0122> Thanks this sounds perfect. I'll go through this and figure out what i want
#
[KevinMarks]1
Calling tweets toots was Merlin Mann's shtick
mro, IWSlackGateway1 and [keithjgrant] joined the channel
#
[keithjgrant]
I’m trying to use this lib to setup my micropub server using Netlify Hooks, but I’m running into an error where it returns “invalid request” when my token is in both the header and the request body, which is what Quill is sending. Is there a valid reason it should do this? I’m tempted to edit that out of my fork https://github.com/keithjgrant/micropub/commit/475238df778147b4a39245f046440cf1664edc74
geoffo joined the channel
#
aaronpk
i think that's technically correct, but Quill sends both to cover the servers that only look at one or the other
#
[keithjgrant]
maybe I could edit it to return invalid if they mismatch
[manton] joined the channel
#
[manton]
[aaronpk] Curious if in your ActivityPub message investigation if you can tell what type of Deletes you were getting… I assume account deletions as people move servers (?) but maybe there is something weird about cleaning up old posts too.
#
aaronpk
i dont' have a quick way to get stats for that, but my spot checking shows that the vast majority are account delete messages
#
aaronpk
i just opened the logs again and noticed something really weird
#
aaronpk
i got a Delete message signed by cwebber's key on octodon.social, but the thing being deleted is a message on scholar.social, a totally unrelated domain??
#
aaronpk
that seems... weird
#
aaronpk
let's see if i've seen this message before
#
aaronpk
aha, cwebber reposted that post
#
aaronpk
and then the user on scholar.social deleted it, and then octodon informed me it was deleted because it had sent it to me before
#
aaronpk
sure hope everyone is checking the signatures of these messages properly, otherwise i can go around deleting other peoples' posts on random servers
slyduda, gRegor, mro, jonnybarnes, geoffo and [eddie] joined the channel
#
[eddie]
Haha seems like an … interesting experiment 😂
AramZS, apk_test and apk_test_2 joined the channel
#
[snarfed]
hey aaronpk just checking, target_not_found in https://webmention.io/gitlab.com/webmention/KZu6DxYqz3yIODcur6-j means the target domain gitlab.com isn't signed up, not that the target URL wasn't found in the source page, right?
#
aaronpk
no it means the target url was not found in the source url
#
aaronpk
but how did webmention.io get a webmention for gitlab.com?
#
[snarfed]
me 😎
#
[snarfed]
huh, but that target URL is in the source page
#
@typelogdev
@_davideast @JohnRodkey is there a way to do dynamic headers for pages served via an spa on hosting? I want to do Link header for webmentions for /u/:username/posts/:postid
(twitter.com/_/status/1591572645983973377)
#
Loqi
[Ryan Barrett] likes python-mode-devs / python-mode · GitLab
#
aaronpk
what happens if you send the url-encoded URL to webmention.io?
#
[snarfed]
that's what I did
#
[snarfed]
(my motivation here is, I'm wondering about defaulting to sending wms to wm.io for sites that don't yet have an endpoint 😎, and I didn't know if wm.io accepted wms for sites that aren't signed up yet, so I tried)
#
aaronpk
oh, don't do that
#
aaronpk
there is no concept of generically receiving webmentions
#
aaronpk
every webmention is stored in an account
#
aaronpk
an account can receive webmentions for any number of domains
#
[snarfed]
right, I sent this one to the gitlab.com account, which doesn't exist, so I wanted to see if that would work
#
aaronpk
oh, that means i might be wrong about what that error message means
#
[snarfed]
ie if wm.io would start collecting them preemptively for any domain, so that if/when that domain starts accepting wms, it can use wm.io and have the backlog, or export them to its own endpoint
#
[snarfed]
ah maybe yeah
#
aaronpk
aha yep, that error means the username doesn't exist
#
[snarfed]
👍 might be worth clarifying a bit
#
[snarfed]
I'll file a feature reqest, feel free to close it as wontfix if you want
#
aaronpk
yeah also i should check for that earlier in the processing now that i'm looking at the code
#
[jacky]
wonders if I should make this a configurable option for /Lighthouse
#
Loqi
[snarfed] #182 Accept and store webmentions preemptively for domains that aren't signed up yet
mro joined the channel