You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-26Lines changed: 18 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,9 +12,15 @@ The ActivityPub protocol is a decentralized social networking protocol based upo
12
12
13
13
## Description ##
14
14
15
-
This is BETA software, see the FAQ to see the current feature set or rather what is still planned.
15
+
Enter the fediverse with **ActivityPub**, broadcasting your blog to a wider audience! Attract followers, deliver updates, and receive comments from a diverse user base of **ActivityPub**\-compliant platforms.
16
16
17
-
The plugin implements the ActivityPub protocol for your blog, which means that your readers will be able to follow your blog posts on Mastodon and other federated platforms that support ActivityPub. In addition, replies to your posts on Mastodon and related platforms will automatically become comments on your blog post.
17
+
With the ActivityPub plugin installed, your WordPress blog itself function as a federated profile, along with profiles for each author. For instance, if your website is `example.com``, then the blog-wide profile can be found at `@[email protected]`, and authors like Jane and Bob would have their individual profiles at `@[email protected]` and `@[email protected]`, respectively.
18
+
19
+
An example: I give you my Mastodon profile name: `@[email protected]`. You search, see my profile, and hit follow. Now, any post I make appears in your Home feed. Similarly, with the ActivityPub plugin, you can find and follow Jane's profile at `@[email protected]`.
20
+
21
+
Once you follow Jane's `@[email protected]` profile, any blog post she crafts on `example.com` will land in your Home feed. Simultaneously, by following the blog-wide profile `@[email protected]`, you'll receive updates from all authors.
22
+
23
+
**Note**: if no one follows your author or blog instance, your posts remain unseen. The simplest method to verify the plugin's operation is by following your profile. If you possess a Mastodon profile, initiate by following your new one.
18
24
19
25
The plugin works with the following tested federated platforms, but there may be more that it works with as well:
20
26
@@ -27,24 +33,18 @@ The plugin works with the following tested federated platforms, but there may be
27
33
*[Misskey](https://join.misskey.page/)
28
34
*[Calckey](https://calckey.org/)
29
35
30
-
Here’s what that means and what you can expect.
31
-
32
-
Once the ActivityPub plugin is installed, each author’s page on your WordPress blog will become its own federated instance. In other words, if you have two authors, Jane and Bob, on your website, `example.com`, then your authors would have their own author pages at `example.com/author/jane` and `example.com/author/bob`. Each of those author pages would now be available to Mastodon users (and all other federated platform users) as a profile that can be followed. Let’s break that down further. Let’s say you have a friend on Mastodon who tells you to follow them and they give you their profile name `@[email protected]`. You search for her name, see her profile, and click the follow button, right? From then on, everything Jane posts on her profile shows up in your Home feed. Okay, similarly, now that Jane has installed the ActivityPub plugin on her `example.com` site, her friends can also follow her on Mastodon by searching for `@[email protected]` and clicking the Follow button on that profile.
33
-
34
-
From now on, every blog post Jane publishes on example.com will show up on your Home feed because you follow her `@[email protected]` profile.
35
-
Of course, if no one follows your author instance, then no one will ever see the posts - including you! So the easiest way to even know if the plugin is working is to follow your new profile yourself. If you already have a Mastodon profile, just follow your new one from there.
36
-
37
36
Some things to note:
38
37
39
-
1. Many single-author blogs have chosen to turn off or redirect their author profile pages, usually via an SEO plugin like Yoast or Rank Math. This is usually done to avoid duplicate content with your blog’s home page. If your author page has been deactivated in this way, then ActivityPub won’t work for you. Instead, you can turn your author profile page back on, and then use the option in your SEO plugin to noindex the author page. This will enable the page to be live and ActivityPub will now work, but the live page won’t cause any duplicate content issues with search engines.
40
-
1. Once ActivityPub is installed, only new posts going forward will be available in the fediverse. Likewise, even if you’ve been using ActivityPub for a while, anyone who follows your site, will only see new posts you publish from that moment on. They will never see previously-published posts in their Home feed. This process is very similar to subscribing to a newsletter. If you subscribe to a newsletter, you will only receive future emails, but not the old archived ones. With ActivityPub, if someone follows your site, they will only receive new blog posts you publish from then on.
38
+
1. The blog-wide profile is only compatible with sites with rewrite rules enabled. If your site does not have rewrite rules enabled, the author-specific profiles may still work.
39
+
1. Many single-author blogs have chosen to turn off or redirect their author profile pages, usually via an SEO plugin like Yoast or Rank Math. This is usually done to avoid duplicate content with your blog’s home page. If your author page has been deactivated in this way, then ActivityPub author profiles won’t work for you. Instead, you can turn your author profile page back on, and then use the option in your SEO plugin to noindex the author page. This will duplicate content issues with search engines and will enable ActivityPub author profiles to work.
40
+
1. Once ActivityPub is installed, *only new posts going forward* will be available in the fediverse. Likewise, even if you’ve been using ActivityPub for a while, anyone who follows your site, will only see new posts you publish from that moment on. They will never see previously-published posts in their Home feed. This process is very similar to subscribing to a newsletter. If you subscribe to a newsletter, you will only receive future emails, but not the old archived ones. With ActivityPub, if someone follows your site, they will only receive new blog posts you publish from then on.
41
41
42
42
So what’s the process?
43
43
44
44
1. Install the ActivityPub plugin.
45
45
1. Go to the plugin’s settings page and adjust the settings to your liking. Click the Save button when ready.
46
-
1. Make sure your blog’s author profile page is active.
47
-
1. Go to Mastodon or any other federated platform, search for your author’s new federated profile, and follow it. Your new profile will be in the form of @yourauthorname@yourwebsite.com, so that is what you’ll search for.
46
+
1. Make sure your blog’s author profile page is active if you are using author profiles.
47
+
1. Go to Mastodon or any other federated platform, and search for your profile, and follow it. Your new profile will be in the form of either `@[email protected]` or `@example.com@example.com, so that is what you’ll search for.
48
48
1. On your blog, publish a new post.
49
49
1. From Mastodon, check to see if the new post appears in your Home feed.
50
50
@@ -54,22 +54,14 @@ Please note that it may take up to 15 minutes or so for the new post to show up
54
54
55
55
### tl;dr ###
56
56
57
-
This plugin connects your WordPress blog to popular social platforms like Mastodon, making your posts more accessible to a wider audience. Once installed, your blog's author pages can be followed by users on these platforms, allowing them to receive your new posts in their feeds.
58
-
59
-
Here's how it works:
60
-
61
-
1. Install the plugin and adjust settings as needed.
62
-
1. Ensure your blog's author profile page is active.
63
-
1. On Mastodon or other supported platforms, search for and follow your author's new profile (e.g., `@[email protected]`).
64
-
1. Publish a new post on your blog and check if it appears in your Mastodon feed.
65
-
66
-
Please note that it may take up to 15 minutes for a new post to appear in your feed, as messages are sent on a delay to avoid overwhelming your followers. Be patient and give it some time.
57
+
This plugin connects your WordPress blog to popular social platforms like Mastodon, making your posts more accessible to a wider audience. Once installed, your blog can be followed by users on these platforms, allowing them to receive your new posts in their feeds.
67
58
68
59
### What is the status of this plugin? ###
69
60
70
61
Implemented:
71
62
72
-
* profile pages (JSON representation)
63
+
* blog profile pages (JSON representation)
64
+
* author profile pages (JSON representation)
73
65
* custom links
74
66
* functional inbox/outbox
75
67
* follow (accept follows)
@@ -79,8 +71,8 @@ Implemented:
79
71
80
72
To implement:
81
73
82
-
* better configuration possibilities
83
74
* threaded comments support
75
+
* replace shortcodes with blocks for layout
84
76
85
77
### What is "ActivityPub for WordPress" ###
86
78
@@ -115,7 +107,7 @@ Project maintained on GitHub at [automattic/wordpress-activitypub](https://githu
115
107
116
108
### 1.0.0 ###
117
109
118
-
* Add: blog-wide Account (catchall, like `mydomain.com@mydomain.com`)
110
+
* Add: blog-wide Account (catchall, like `example.com@example.com`)
Copy file name to clipboardExpand all lines: readme.txt
+18-26Lines changed: 18 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -12,9 +12,15 @@ The ActivityPub protocol is a decentralized social networking protocol based upo
12
12
13
13
== Description ==
14
14
15
-
This is BETA software, see the FAQ to see the current feature set or rather what is still planned.
15
+
Enter the fediverse with **ActivityPub**, broadcasting your blog to a wider audience! Attract followers, deliver updates, and receive comments from a diverse user base of **ActivityPub**\-compliant platforms.
16
16
17
-
The plugin implements the ActivityPub protocol for your blog, which means that your readers will be able to follow your blog posts on Mastodon and other federated platforms that support ActivityPub. In addition, replies to your posts on Mastodon and related platforms will automatically become comments on your blog post.
17
+
With the ActivityPub plugin installed, your WordPress blog itself function as a federated profile, along with profiles for each author. For instance, if your website is `example.com``, then the blog-wide profile can be found at `@[email protected]`, and authors like Jane and Bob would have their individual profiles at `@[email protected]` and `@[email protected]`, respectively.
18
+
19
+
An example: I give you my Mastodon profile name: `@[email protected]`. You search, see my profile, and hit follow. Now, any post I make appears in your Home feed. Similarly, with the ActivityPub plugin, you can find and follow Jane's profile at `@[email protected]`.
20
+
21
+
Once you follow Jane's `@[email protected]` profile, any blog post she crafts on `example.com` will land in your Home feed. Simultaneously, by following the blog-wide profile `@[email protected]`, you'll receive updates from all authors.
22
+
23
+
**Note**: if no one follows your author or blog instance, your posts remain unseen. The simplest method to verify the plugin's operation is by following your profile. If you possess a Mastodon profile, initiate by following your new one.
18
24
19
25
The plugin works with the following tested federated platforms, but there may be more that it works with as well:
20
26
@@ -27,24 +33,18 @@ The plugin works with the following tested federated platforms, but there may be
27
33
* [Misskey](https://join.misskey.page/)
28
34
* [Calckey](https://calckey.org/)
29
35
30
-
Here’s what that means and what you can expect.
31
-
32
-
Once the ActivityPub plugin is installed, each author’s page on your WordPress blog will become its own federated instance. In other words, if you have two authors, Jane and Bob, on your website, `example.com`, then your authors would have their own author pages at `example.com/author/jane` and `example.com/author/bob`. Each of those author pages would now be available to Mastodon users (and all other federated platform users) as a profile that can be followed. Let’s break that down further. Let’s say you have a friend on Mastodon who tells you to follow them and they give you their profile name `@[email protected]`. You search for her name, see her profile, and click the follow button, right? From then on, everything Jane posts on her profile shows up in your Home feed. Okay, similarly, now that Jane has installed the ActivityPub plugin on her `example.com` site, her friends can also follow her on Mastodon by searching for `@[email protected]` and clicking the Follow button on that profile.
33
-
34
-
From now on, every blog post Jane publishes on example.com will show up on your Home feed because you follow her `@[email protected]` profile.
35
-
Of course, if no one follows your author instance, then no one will ever see the posts - including you! So the easiest way to even know if the plugin is working is to follow your new profile yourself. If you already have a Mastodon profile, just follow your new one from there.
36
-
37
36
Some things to note:
38
37
39
-
1. Many single-author blogs have chosen to turn off or redirect their author profile pages, usually via an SEO plugin like Yoast or Rank Math. This is usually done to avoid duplicate content with your blog’s home page. If your author page has been deactivated in this way, then ActivityPub won’t work for you. Instead, you can turn your author profile page back on, and then use the option in your SEO plugin to noindex the author page. This will enable the page to be live and ActivityPub will now work, but the live page won’t cause any duplicate content issues with search engines.
40
-
1. Once ActivityPub is installed, only new posts going forward will be available in the fediverse. Likewise, even if you’ve been using ActivityPub for a while, anyone who follows your site, will only see new posts you publish from that moment on. They will never see previously-published posts in their Home feed. This process is very similar to subscribing to a newsletter. If you subscribe to a newsletter, you will only receive future emails, but not the old archived ones. With ActivityPub, if someone follows your site, they will only receive new blog posts you publish from then on.
38
+
1. The blog-wide profile is only compatible with sites with rewrite rules enabled. If your site does not have rewrite rules enabled, the author-specific profiles may still work.
39
+
1. Many single-author blogs have chosen to turn off or redirect their author profile pages, usually via an SEO plugin like Yoast or Rank Math. This is usually done to avoid duplicate content with your blog’s home page. If your author page has been deactivated in this way, then ActivityPub author profiles won’t work for you. Instead, you can turn your author profile page back on, and then use the option in your SEO plugin to noindex the author page. This will duplicate content issues with search engines and will enable ActivityPub author profiles to work.
40
+
1. Once ActivityPub is installed, *only new posts going forward* will be available in the fediverse. Likewise, even if you’ve been using ActivityPub for a while, anyone who follows your site, will only see new posts you publish from that moment on. They will never see previously-published posts in their Home feed. This process is very similar to subscribing to a newsletter. If you subscribe to a newsletter, you will only receive future emails, but not the old archived ones. With ActivityPub, if someone follows your site, they will only receive new blog posts you publish from then on.
41
41
42
42
So what’s the process?
43
43
44
44
1. Install the ActivityPub plugin.
45
45
1. Go to the plugin’s settings page and adjust the settings to your liking. Click the Save button when ready.
46
-
1. Make sure your blog’s author profile page is active.
47
-
1. Go to Mastodon or any other federated platform, search for your author’s new federated profile, and follow it. Your new profile will be in the form of @yourauthorname@yourwebsite.com, so that is what you’ll search for.
46
+
1. Make sure your blog’s author profile page is active if you are using author profiles.
47
+
1. Go to Mastodon or any other federated platform, and search for your profile, and follow it. Your new profile will be in the form of either `@[email protected]` or `@example.com@example.com, so that is what you’ll search for.
48
48
1. On your blog, publish a new post.
49
49
1. From Mastodon, check to see if the new post appears in your Home feed.
50
50
@@ -54,22 +54,14 @@ Please note that it may take up to 15 minutes or so for the new post to show up
54
54
55
55
= tl;dr =
56
56
57
-
This plugin connects your WordPress blog to popular social platforms like Mastodon, making your posts more accessible to a wider audience. Once installed, your blog's author pages can be followed by users on these platforms, allowing them to receive your new posts in their feeds.
58
-
59
-
Here's how it works:
60
-
61
-
1. Install the plugin and adjust settings as needed.
62
-
1. Ensure your blog's author profile page is active.
63
-
1. On Mastodon or other supported platforms, search for and follow your author's new profile (e.g., `@[email protected]`).
64
-
1. Publish a new post on your blog and check if it appears in your Mastodon feed.
65
-
66
-
Please note that it may take up to 15 minutes for a new post to appear in your feed, as messages are sent on a delay to avoid overwhelming your followers. Be patient and give it some time.
57
+
This plugin connects your WordPress blog to popular social platforms like Mastodon, making your posts more accessible to a wider audience. Once installed, your blog can be followed by users on these platforms, allowing them to receive your new posts in their feeds.
67
58
68
59
= What is the status of this plugin? =
69
60
70
61
Implemented:
71
62
72
-
* profile pages (JSON representation)
63
+
* blog profile pages (JSON representation)
64
+
* author profile pages (JSON representation)
73
65
* custom links
74
66
* functional inbox/outbox
75
67
* follow (accept follows)
@@ -79,8 +71,8 @@ Implemented:
79
71
80
72
To implement:
81
73
82
-
* better configuration possibilities
83
74
* threaded comments support
75
+
* replace shortcodes with blocks for layout
84
76
85
77
= What is "ActivityPub for WordPress" =
86
78
@@ -115,7 +107,7 @@ Project maintained on GitHub at [automattic/wordpress-activitypub](https://githu
115
107
116
108
= 1.0.0 =
117
109
118
-
* Add: blog-wide Account (catchall, like `mydomain.com@mydomain.com`)
110
+
* Add: blog-wide Account (catchall, like `example.com@example.com`)
Copy file name to clipboardExpand all lines: templates/blog-user-followers-list.php
+5-7Lines changed: 5 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -8,15 +8,13 @@
8
8
'followers' => 'active',
9
9
)
10
10
);
11
+
$table = new \Activitypub\Table\Followers();
12
+
$follower_count = $table->get_user_count();
13
+
// translators: The follower count.
14
+
$followers_template = _n( 'Your blog profile currently has %s follower.', 'Your blog profile currently has %s followers.', $follower_count, 'activitypub' );
0 commit comments