Implementing scheduled publishing with #ActivityPub requires some effort. Until now my blog only had draft/published as states of entries. The AP service would just send out the requires requests immediately. With the possibility of setting the publishing date into the future this is no longer possible. I have to somehow trigger these after the publishing date.
Pull systems are so much easier than push systems.
I've built an #ActivityPub integration for my blog. Likes, boosts and replies are also shown below blog posts. Together with #webmention it serves as the comment/feedback mechanism for my blog.
What is considered best practice when shutting down an #ActivityPub service? The services itself is not used by anyone, but still received a constant stream of activities for deleted users.
#TIL Set your Content-Type header correctly when sending #ActivityPub messages. #Lemmy will 404 on any inbox if the header is not correct (actually just if it doesn't start with application/
I've worked on some smaller features and improvements for owl-blogs.
Main Features:
Lists and Tags now have RSS Feeds.
Nicer 404 Pages
For development I took the time to setup the "end-to-end" tests using go test instead of the previous pytest setup. This vastly simplifies testing and its much quicker.
A nice and simple solution to add comments to your blog.
I've decided to go the bit more complicated route and added #ActivityPub support to my blog directly. Any interaction will show up below the posts. However this requires a backend and will not work with a static site generator.