ActivityPub Plugin

where i can create a username for testing it? I Saw it shows my domain name in the end of the line. So, i just need to put a username or i need to register it before on mastodon.social?

1 Like

Hey David, head on over to Admin > Plugins > ActivityPub and follow the prompts to create an Actor.

3 Likes

Loving it, thank you

2 Likes

My question is about the topic body when an user create a new post with image I receive just text its a limitation?

1 Like

i second that

1 Like

Hey guys, thanks for the reports.

Yes the plugin does not currently support images in the content it federates. As you might imagine, adding media (i.e. image) support for content federated to many different software platforms has some complexities, so weā€™ve intentionally excluded them for now. Support for federating media may be added in the medium term.

@Lhc_fl Just a note that I havenā€™t forgotten about your issue reports, and will be look at them closely this week.

3 Likes

Iā€™m unable to reproduce this issue both in a spec, or in my own tests, for example

Receiving category permissions

Post from remote actor in receiving category

Indeed, while they donā€™t have an email, staged ActivityPub users are like any other staged users, and will be given whatever trust level is set for the site setting default_trust_level.

Iā€™m currently considering this issue.

1 Like

Once this PR is merged youā€™ll be able to suspend the user of a remote Actor.

That will address the immediate issue. Medium term this plugin will also likely adopt the Block Activity

3 Likes

Hey, is there a way to avoid the duplicate content penality from search engines when 2 forums are federated? I Saw that there no change with the canonical.

The ā€œbestā€ way is to no index a whole category?

1 Like

Hey David, I would briefly observe that there isnā€™t really such a thing as a duplicate content penalty, see for example Googleā€™s long-time position on this question. Nevertheless, I appreciate this is often a concern for folks, and I take it seriously on that basis.

I wouldnā€™t recommend doing that.

I will consider the question of canonical links for ActivityPub topics and get back to you on that front.

1 Like

No, you are taking that out of context - that article is talking about a different issue - duplicate content on the same site

But most site owners whom I hear worrying about duplicate content arenā€™t talking about scraping or domain farms; theyā€™re talking about things like having multiple URLs on the same domain that point to the same content. Like www.example.com/skates.asp?color=black&brand=riedell and www.example.com/skates.asp?brand=riedell&color=black. Having this type of duplicate content on your site can potentially affect your siteā€™s performance, but it doesnā€™t cause penalties

And at the same time they address @David_Ghost their issue and say itā€™s real

There are some penalties that are related to the idea of having the same content as another siteā€”for example, if youā€™re scraping content from other sites and republishing it, or if you republish content without adding any additional value

1 Like

I disagree. But nevertheless, Iā€™m considering the canonical url question.

2 Likes

I agree that canonical URLs are worth considering. I agree with @angus here (if I understand correctly), grounded in this quote from the cited article:

Duplicate content on a site is not grounds for action on that site unless it appears that the intent of the duplicate content is to be deceptive and manipulate search engine results.

A mastodon server will have at least as much and likely more republishing than a federating Discourse, it does not include canonical URLs as far as I can tell, and they donā€™t seem to be penalized. Iā€™ve done plenty of google searches that have led to posts on mastodon. Google has sent me to the original site, not to a site that has federated them. Each of those mastodon servers is also federating lots of other posts, including but not limited to federated comments on the pages Google has sent me to.

Therefore, google does seem to do a reasonable job of finding the original source, and doesnā€™t seem to be penalizing mastodon for federating heavily. I canā€™t imagine any reason that a Discourse that is federating would be worse.

However, I do like the idea of a canonical URL, even if it doesnā€™t make a difference for search, to support humans finding where stuff came from.

4 Likes

Again, that is taken out of context. ā€œon a siteā€ means ā€œon a single siteā€ in this context.

Above the part you quoted it says (emphasis mine)

theyā€™re talking about things like having multiple URLs on the same domain that point to the same content

and immediately below the part you quoted it continues

having this type of duplicate content

where ā€œthis typeā€ refers to ā€œhaving multiple URLs on the same domainā€ and hence the part in between is also talking about that specific type of duplicate content, which is different from what weā€™re discussing here.

Wait until a very well known and estabilished site starts federating content from a lesser known, new, site and see what happens.

1 Like

That is very true. But I haven`t got ever any search hits by Google from any mastodon servers. And I know that isnā€™t proof of anything ā€” but I use Google a lot, using different tacticts. But I get Discourse-hits.

My very weak point is maybe Google treats mastodons different way than Discourse forums :thinking:

Sure, content is very different too.

1 Like

the problem I had in my first test was that:

I am the original poster, but my link was de indexed from Google, and the other forum is ranking for it.

2 Likes

If youā€™re interested in following along on my thinking on how to set the canonical url for ActivityPub topics, Iā€™ll be discussing it with some other ActivityPub folks over here

5 Likes

Is there any way to update the name after saving it? Or i need to rebuild?

The current status on changing the username of an ActivityPub actor is that I have:

  1. implemented it in a draft pull request (see here);
  2. advocated for it in the broader ActivityPub developer community (see here);
  3. made a pull request to Mastodon to make it feasible for Discourse to support the feature (see here).

3 is necessary due to the prevalence of Mastodon in the fediverse. If and when my pull request to Mastodon is merged Iā€™ll publish the draft pull request implementing it in the plugin for review. If itā€™s accepted and merged Iā€™ll let everyone here know they can update and change their actorā€™s usernames.

In the meantime you can currently change the display name of an Actor in Admin > Plugins > ActivityPub > ā€œEdit Actorā€.

1 Like

Hey angus, not thƩ username, but the name.

I have already edited the actor, but the name dont update at Mastodon.

I need to do a rebuild?