Set up an actor for the Category or Tag you want to publish content to Mastodon.
Copy the “handle” of the Actor.
Look up the handle on Mastodon and follow it.
[note] markup
You can select part of your post to be published via ActivityPub by wrapping text in [note][/note]. This gives you more control over what appears on microblogging services like Mastodon. For example, if your post looks like this in the composer:
We have some exciting news to share: [note]Everything Pets is launching a magazine![/note]
For what is worth it, first I published the Discourse post with the notes. Then, during the 5 minutes before it is federated, I removed the note tags because they were ugly and I was confused. Then I thought maybe they “disappear” after the post is federated and I added them again.
After seeing that the full post had been federated, I removed the note syntax from the Discourse post.
Yes, sorry by “tags” I meant [note][/note]. I’m still a little unclear as to whether they were in the post at the time the post was federated. If you added them back in after federation they are not going to apply to content that is already federated.
Ok, yes, [note][/note] was in place when I posted the new topic on discourse and they were also in place after a few minutes when the topic was federated.
Maybe we can leave this here, and next time we federate a post I will be paying attention on every step, now that I know what tp expect and what might happen.
Ik heb actoren voor meerdere tags toegevoegd en vervolgens een bericht gemaakt met die tags. Ik verwachtte dat beide actoren naar activity pub zouden posten, maar slechts één deed dat.
Ik volg ze allebei op mijn hoofdaccount mastodon.social, maar ik zie maar één bericht in de logs. Is dit de bedoeling of wordt er maar één actor ondersteund?
Als je meerdere tags hebt die gekoppeld zijn aan een bericht, zal momenteel alleen de actor van de eerste vermelde tag het bericht publiceren. Ondersteuning toevoegen voor het publiceren van meerdere actoren van hetzelfde taxonomische type tegelijk is een goed Feature request (tag het activitypub).
Is er een manier om te bepalen welke categorieën of tags niet naar Mastodon worden gepubliceerd? Ik wil bepaalde interne discussieonderwerpen uitsluiten van plaatsing, maar aankondigingen en blogposts wel toestaan. Alvast bedankt!
Hoi @Kayaart, bedankt voor de vraag. Alleen de tags en categorieën die je expliciet hebt ingesteld als ActivityPub-actoren zullen inhoud publiceren naar de fediverse. Als je categorieën en tags hebt voor interne discussie, laat ze dan gewoon met rust (d.w.z. stel geen actor in).
Hartelijk dank voor de verduidelijking, dat is nu duidelijk!
Om het nog even te bevestigen: als ik bepaalde categorieën/tags zonder ActivityPub-actor laat staan, wordt er niets van hen naar Mastodon gepusht, toch?
Op het tabblad Federation van de gebruikersprofielpagina is er een configuratie om Gekoppelde Actoren toe te voegen met een optie voor het type Discourse of Mastodon. Er staat:
Posts geassocieerd met een gekoppelde actor zullen worden toegeschreven aan uw account.
Hoe werkt dit? Als ik hier een Mastodon-account toevoeg, zullen mijn Mastodon-posts dan op Discourse verschijnen of andersom? Als het eerste, hoe worden tags en categorieën geselecteerd? Als ik een Discourse-account hier toevoeg, worden posts van de externe server toegevoegd aan degene waarvoor dit is geconfigureerd? Nogmaals, wat als de categorieën en tags niet consistent zijn?
Ik host zowel Discourse als Mastodon, en ik heb ook een account op dit Discourse-exemplaar. Ik stel me voor dat de beste configuratie voor mij zou zijn om een post op beide Discourse-exemplaren te laten verschijnen en één keer op Mastodon te delen. Hoe dit geconfigureerd zou worden, hangt af van het antwoord op de vorige vraag.
Wat betreft het reageren op posts op ActivityPub? Kan ik Mastodon gebruiken om te reageren op een post van een gekoppelde actor voor categorieën, tags en gebruikers?
Neither! This feature allows you to associate posts with your account if those posts are federated via the normal process, e.g. via categories or tag actors. To give an example:
You have a category on your Discourse called “Announcements”, which you set up with full topic ActivityPub publishing.
You have a user account on your Discourse, eric_discourse.
You have a user account on your Mastodon, eric_mastodon.
You follow “Announcements” with eric_mastodon.
eric_discourse (i.e. you) creates a new topic in “Announcements”.
Announcements federates the topic.
You respond to that topic on Mastodon with eric_mastodon.
Your response is processed by your Discourse Announcements category, appearing as a reply (post) in the topic.
There is nothing to associate eric_mastodon with eric_discourse so the ActivityPub plugin creates a staged user for eric_mastodon’s reply post, eric_mastodon1 (the username is generated from the username of the Actor).
The topic now looks like this:
First post from eric_discourse.
Reply (second) post from eric_mastodon1.
The feature you’re referring to allows you to prove that you are eric_mastodon1, so that you don’t have multiple user accounts on your Discourse. Once you complete the authorization process in that tab:
eric_mastodon1’s posts will be eric_discourse’s posts.
eric_mastodon1 will no longer exist.
Future activity from eric_mastodon will be associated with eric_discourse on your Discourse instance.