Helge's blog

by helge@mymath.rocks

Powered by longhorn, an ActivityPub Client based blog. This means an existing Fediverse account is used to federate blog entries. The entire thing is based on bovine and the corresponding ActivityPub server.

Atom Feed



As some of you people might notice, this post looks a little bit unusual compared to other ones. It has a title, followed by a paragraph, followed by a link. This is due it not being a Note but an Article as far as ActivityPub is concerned. Mastodon makes out of this what you see. Now, why am I writing this thing, well I hope that my comment system is now working. So if you reply to this publicly on Mastodon, it should appear on the page with the link. More details after clicking on the link.

The mapping

As I talk about the mapping article to Mastodon status in the introduction, let me make it explicit:

    "type": "Article",
    "name": "name",
    "summary": "summary",
    "content": "content",
    "url": "https://somewhere"

gets turned by Mastodon to




HTML is not allowed in summary. I haven’t tested name, but I would suspect not.

Comment Visibility Policies

Well, this blog post is what I would call web visible. This means that anybody on the internet can view it. It has an URL! In fact, I’ve decided to model it like that in ActivityPub. Objects with an URL are web visible, i.e. they have something that is accessible without a valid FediVerse authentication.

Why am I saying all this: Well people have a chance to reply to this using their FediVerse applications, e.g. Mastodon, if they reply publicly to a web visible post, it makes sense to me that their content also becomes web visible. This means I can display them below.

Comment Policies

Of course, the above is dangerous. Anybody could come along and post something. That’s where comment policies would come in. It would in fact be quite simple for me to add filters to say only display comments made by somebody who either follows or is followed by my FediVerse account.

This would not stop people from commenting. However, it would remove their visibility.

@helgek@mas.to wrote at 2023-03-13 14:49 UTC (original)

I should be able to reply here, and it appears where I want it.

Of course, I already saw that I forgot to include the CSS styles necessary to display replies.
@CartyBoston@mastodon.roundpond.net wrote at 2023-03-13 14:51 UTC (original)
@h hullo
@CartyBoston@mastodon.roundpond.net wrote at 2023-03-13 14:52 UTC (original)
@h nice
@dan613@mstdn.ca wrote at 2023-04-16 19:21 UTC (original)
@helge Interesting! Looking forward to seeing how this progresses.
@YurkshireLad@mastodon.social wrote at 2023-09-17 15:31 UTC (original)
@helge testing comments on your blog.
helge@mymath.rocks wrote at 2023-09-17 18:48 UTC
I'm always happy when people do.

I'm less sure if the mechanic deployed for this blog is the correct usage of ActivityPub, but it's fun that comments appear on https://blog.mymath.rocks/2023-03-13/Comments.

You can reply to this post using your favorite FediVerse Application. For this look up the object
in it and just reply. Depending on how your FediVerse Application handles Articles, this post may appear different.