Published:
2024-07-20
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.
To test #ActivityPub functionality I use a small mock server , which content can be controlled during testing.
#owlblogs
Published:
2024-07-20
Some crawlers try to use the (non-existing) #Mastodon API of my blog, since my blog supports #ActivityPub .
Most don't send a User-Agent or use the generic user-agent of the library they use.
"/api/nodeinfo"
"/api/v1/config"
"/api/v1/directory?limit=1"
"/api/v1/instance"
"/api/v1/instance/activity"
"/api/v1/instance/domain_blocks"
"/api/v1/instance/peers"
"/api/v1/streaming/public"
"/api/v1/timelines/public?limit=100"
"/api/v1/timelines/public?limit=40"
"/api/v3/federated_instances"
Published:
2024-06-16
Reply to: https://floss.social/@carlschwan/109774012599031406
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.
Published:
2024-05-31
Next Milestone for #ActivityPub support in owl-blogs: being able to play fedi-games :D
Published:
2024-05-30
When using go-ap/jsonld , to extend the context by a term use:
jsonld.WithContext(
jsonld.Context{
{IRI: jsonld.IRI(vocab.ActivityBaseURI)},
{Term: jsonld.Term("Hashtag"), IRI: jsonld.IRI("https://www.w3.org/ns/activitystreams#Hashtag")},
},
)
Instead of:
var ApEncoder = jsonld.WithContext(
jsonld.IRI(vocab.ActivityBaseURI),
jsonld.Context{
{Term: jsonld.Term("Hashtag"), IRI: jsonld.IRI("https://www.w3.org/ns/activitystreams#Hashtag")},
},
)
The latter ignores the terms.
#golang #dev #activitypub #fediverse
Published:
2024-05-30
My blog now (hopefully) supports #hashtags on #ActivityPub . Please like this post if you found this via a hashtag.
#testing
Published:
2024-05-30
again testing hashtags with #activitypub #mastodon format.
Published:
2024-05-21
I'm not sure if this note will show up on hashtags. They are added to the #ActivityPub object, but is this sufficient for #Mastodon ?
Please react to this if you saw this note due to its hashtag!
#fediverse #testing
Published:
2024-05-20
owl-blogs now supports replies to entries. The content of the reply is added to the bottom of the post, similar to comments.
#ActivityPub #Fediverse
Published:
2024-05-17
I can now process likes on my blog notes via #ActivityPub