Hey #ActivityPub friends.
-
@julian@activitypub.space Just to note, @Edent's blog doesn't run on ActivityBot, it uses the WordPress plugin, so implementation details there are (presumably) not up for discussion here. But ActivityBot improvements would percolate to @colours, @openbenches etc.
-
@julian@activitypub.space Just to note, @Edent's blog doesn't run on ActivityBot, it uses the WordPress plugin, so implementation details there are (presumably) not up for discussion here. But ActivityBot improvements would percolate to @colours, @openbenches etc.
@julian@fietkau.social ah
then it should support 1b12 depending on configuration! 
-
Hey #ActivityPub friends. Are there any new ActivityPub / Mastodon features I should add to #ActivityBot?
It's a small bot-only ActivityPub server in a single PHP file.
https://gitlab.com/edent/activity-bot/
It can be followed, post images, allow quote posts, etc.
Is there anything else you would like a bot-server to be able to do?
@Edent Not a feature, but a bug report. The ActivityPub spec doesn't spell it out super clearly, but I'm pretty sure that an Actor's Outbox should be a collection of Activities, not Objects like the single-file server uses.
So the outbox should have "type" => "Create", and the Object will specify the type it is
-
@Edent Not a feature, but a bug report. The ActivityPub spec doesn't spell it out super clearly, but I'm pretty sure that an Actor's Outbox should be a collection of Activities, not Objects like the single-file server uses.
So the outbox should have "type" => "Create", and the Object will specify the type it is
@samedwards Interesting. Could you point out where it says that?
(Not saying you're wrong; saying I sometimes have difficulty finding the right spec!) -
@samedwards Interesting. Could you point out where it says that?
(Not saying you're wrong; saying I sometimes have difficulty finding the right spec!)@Edent https://www.w3.org/TR/activitypub/#outbox
> The outbox stream contains activities the user has published
And then an example of a Create activity on a Note https://www.w3.org/TR/activitystreams-vocabulary/#dfn-create
-
@Edent https://www.w3.org/TR/activitypub/#outbox
> The outbox stream contains activities the user has published
And then an example of a Create activity on a Note https://www.w3.org/TR/activitystreams-vocabulary/#dfn-create
@samedwards got it

-
@Edent https://www.w3.org/TR/activitypub/#outbox
> The outbox stream contains activities the user has published
And then an example of a Create activity on a Note https://www.w3.org/TR/activitystreams-vocabulary/#dfn-create
@samedwards Aha! Thanks.
So does this look right to you?
http://example.viii.fi/outbox -
@samedwards Aha! Thanks.
So does this look right to you?
http://example.viii.fi/outbox@Edent Yup, that looks like what I'd expect to see, and mirrors Mastodon as well, ie. https://mastodon.social/users/Edent/outbox?page=true
-
Hey #ActivityPub friends. Are there any new ActivityPub / Mastodon features I should add to #ActivityBot?
It's a small bot-only ActivityPub server in a single PHP file.
https://gitlab.com/edent/activity-bot/
It can be followed, post images, allow quote posts, etc.
Is there anything else you would like a bot-server to be able to do?
@Edent Delete and/or updating posts would be amazing. It would become a great reference implementation for basic ActivityPub interactions.
-
@Edent Delete and/or updating posts would be amazing. It would become a great reference implementation for basic ActivityPub interactions.
@threkk I'll have a think about how I could do that. Thanks

-
@threkk I'll have a think about how I could do that. Thanks

@Edent No, thank you for making this

-
Hey #ActivityPub friends. Are there any new ActivityPub / Mastodon features I should add to #ActivityBot?
It's a small bot-only ActivityPub server in a single PHP file.
https://gitlab.com/edent/activity-bot/
It can be followed, post images, allow quote posts, etc.
Is there anything else you would like a bot-server to be able to do?
https://example.viii.fi/posts/69aeb347-03d0-dc44-83c8-9c7c488ff6e0.json
It is served by an instance of your bot? The value of
inReplyToin this document is an empty string, which is not a valid URI. -
https://example.viii.fi/posts/69aeb347-03d0-dc44-83c8-9c7c488ff6e0.json
It is served by an instance of your bot? The value of
inReplyToin this document is an empty string, which is not a valid URI.@silverpill good spot!
I assume if it isn't a reply, the field should be excluded?Or should it be something else?
-
@silverpill good spot!
I assume if it isn't a reply, the field should be excluded?Or should it be something else?
@edent@mastodon.social I've learned that it should be excluded altogether, and not a null value
-
-
@silverpill @julian @general
Ah, I assume that `cc` should also be null if it isn't copied to anyone? -
@silverpill @julian @general
Ah, I assume that `cc` should also be null if it isn't copied to anyone?@edent@mastodon.social <img class="not-responsive emoji" src="https://activitypub.space/assets/plugins/nodebb-plugin-emoji/emoji/android/1f937.png?v=42a4d91a3c1" title="
" /> I was passing nullaround like candy but some implementations choke on that. In general, tolerance of odd values inccis well handled, but I would just omit or send[]. -
@Edent No, thank you for making this

@threkk the bot can now send Delete messages. They're processed successfully by Mastodon.social - so I assume they work elsewhere
Will have a think about editing.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login