Micro

After a scare - or a hard cold I must say which I’m still going through - I just received my Covid test back. Negative, fortunately! Now, gotta tell my body to kill this horrible cold that haunted me the past few days. Much better already though! Very relieved 😌

Jan Boddez 14 Oct 2020 12:00

In reply to https://hacdias.com/micro/2020/10/trying-activitypub/. I remember looking at https://github.com/aaronpk/Nautilus/blob/master/app/ActivityPub/HTTPSignature.php a whole lot to finally get signatures—and Accepts—to work. (Could never get Deletes to actually work, though.) 😟

Well… it was a library issue. Upgraded it, working now. Unfortunately, when I added it, the dependency manager didn’t add the last version, but it’s not its fault. The source code is not correctly tagged it seems!

Jan Boddez 14 Oct 2020 12:00

In reply to https://hacdias.com/micro/2020/10/trying-activitypub/. I remember looking at https://github.com/aaronpk/Nautilus/blob/master/app/ActivityPub/HTTPSignature.php a whole lot to finally get signatures—and Accepts—to work. (Could never get Deletes to actually work, though.) 😟

The thing is: I’ve done this in the past. I just tried with a random Mastodon instance and the error is precisely the HTTP signature. Either I’m not signing correctly, or I’m not proving the public key correctly. But the fact that I did this in the past and it’s still not working, it’s what’s annoying me the most. Also, I’m doing this in Go and I’m basing on @jlelse’s implementation and his ActivityPub Accept is working. And my code literally looks the same. If I don’t figure it out in the next hour, I’ll leave it for another day.

So… I just tried implementing ActivityPub again… and once again, something’s wrong! Yey… When I hit the follow button on a different instance, I receive the request, process it and send a signed Accept. But it seems it’s not actually working… At least the accept part…

Jan Boddez 12 Oct 2020 19:55

In reply to https://hacdias.com/micro/2020/10/is-feed-fixed/. Relative URLs, eh? Suddenly feels like I’ve had this conversation before. :-) I know they can be an issue (and are discouraged) in RSS feeds, but not that Microsub readers would fail to pick them up as well. I’m using a fork of Aperture, …

Yeah, that’s true. But it was a tiny bit more complicated. I was serving the microformats JSON directly instead of the HTML and I forgot to add the domain to the parser I was using. Simply ended up removing that. There’s no point (I think) in me serving jf2 or mf2 JSON directly. Besides HTML with Microformats, I’m also serving ActivityStreams and I think that, unfortunately, that’s what X-Ray picks up, and not the HTML, so I’m trying to make sure it is as reliable as possible.

Jan Boddez 12 Oct 2020 15:12

In reply to https://hacdias.com/articles/2020/10/rebuilding-eagle-cms/. Interestingly, your h-feeds seem (somewhat) broken now. Like, could your entries be missing a u-url? I also seem to be missing photos in older posts—again, in my h-feed reader. I’d dig a bit deeper, but “posting from my phone,” …

Oopsie! Thanks for letting me know. I noticed there was an issue with the URLs on the feeds (they missed the domain and were relative). Should be fixed now. Can I ask you which reader are you using? So I can check next time before making changes!

I started using Hugo back in 2015. It’s so weird to think that I’ve been using this piece of software for 5 years already and it has evolved so much in the meanwhile. At the time, I started using v0.16. We’re now at v0.75.1!