Deskripzioa
Sartu fedibertsoan ActivityPub pluginarekin eta zabaldu zure bloga jende gehiagorengana! Erakarri jarraitzaileak, igorri albisteak eta jaso iruzkinak ActivityPub-ekin bateragarriak diren plataformetako askotariko erabiltzaileekin.
ActivityPub plugina instalatzen duzunean zure WordPress bloga profil federatu bat bihurtzen da eta egileek ere profil bana dute. Adibidez, zure webgunea adibidea.eus
bada, blog osoaren profil izena @adibidea.eus@adibidea.eus
izango da eta Nerea eta Aitor bezalako erabiltzaileena berriz @nerea@adibidea.eus
eta @aitor@adibidea.eus
izango da.
Adibide bat: Nire Mastodon profilaren izena ematen dizut: @pfefferle@mastodon.social
. Zuk bilatzen duzu, nire profila ikusten eta jarraitzeko sakatzen duzu. Orain, nik egiten ditudan bidalketa guztiak zure Etxea jarioan agertuko dira. Gauza bera ActivityPub pluginarekin, Nerea bilatu eta bere profila jarrai dezakezu: @nerea@adibidea.eus
.
Behin Nerearen @nerea@adibidea.eus
profila jarraitzen hasten zarenean, berak adibidea.eus
blogean bidalketa bat argitaratzen duen bakoitzean, zure Etxea jarioan agertuko da. Era bertsuan, blog osoaren @adibidea.eus@adibidea.eus
profila jarraitzen baduzu, egile guztiek argitaratutakoak jasoko dituzu.
Oharra: Inork ez badu zure egile edo blog profila jarraitzen, zure bidalketak ez dira ikusiko. Plugina ondo dabilela egiaztatzeko modu sinpleena zuk zure burua jarraitzea da. Mastodon profil bat baduzu, jarrai ezazu zure berri hau.
Plugina ondoko plataforma federatuetan probatu da, baina baliteke beste batzuetan ere ondo ibiltzea:
Kontuan izan beharreko gauza batzuk:
- Blog osoaren profila izan ahal izateko zure guneak berridatzi araua gaituta izan behar du. Zure guneak berridatzi araua gaituta ez badu ere, egileen profilak ibiliko dira.
- Egile bakarreko blog askok egile profilaren orrialdeak desgaitu edo birbidali egiten dituzte Yoast edo Rank Math bezala SEO pluginekin. Blogaren hasierako orrialdeak duen edukia ez bikoizteko egiten dute. Zure egile orrialdea honela desaktibatu baldin bada, ActivityPub egile profila ez da ibiliko. Horren ordez, zure egile profil orrialdeak aktibatu ditzakezu eta gero zure SEO pluginean egile orrialdea ez indizatzeko (noindex) aukera erabili. Era honetan, bilaketa motorrekin bikoiztutako edukiengatik izan zenitzakeen arazoak saihestu ditzakezu eta aldi berean ActivityPub egile profilak gaituta izan.
- Behin ActivityPub instalatutakoan une horretatik aurrera argitaratutako bidalketa berriak bakarrik egongo dira eskuragarri fedibertsoan. Era berean, ActivityPub erabiltzen denbora bat badaramazu ere, norbait zure gunea jarraitzen hasten bada, une horretatik aurrera argitaratzen diren bidalketak bakarrik ikusiko ditu. Inoiz ez dituzte lehenago argitaratutako bidalketa beraien Etxea jarioan ikusiko. Prozesu hau newsletter batera argitaratzearen antzekoa da. Newsletter batera harpidetzen bazara, hortik aurrerako emailak bakarrik jasoko dituzu, ez iragandako email zaharrak. ActivityPubekin, norbait zure gunea jarraitzen hasten bada, une horretatik aurrera argitaratzen dizun blog bidalketak bakarrik jasoko ditu.
Beraz, zeintzuk dira urratsak?
- Instalatu ActivityPub plugina.
- Zoaz zure pluginaren ezarpenen orrialdera eta moldatu itzazu ezarpenak zure gustura. Sakatu Gorde botoia prest dituzunean.
- Egile profilak erabiltzen ari bazara, ziurtatu zaitez blogaren egile profilen orrialdea gaituta dagoela.
- Zoaz Mastodonera edo beste edozein plataforma federatura, bilatu zure profila eta jarrai ezazu. Zure profila bi era hauetako batean egongo da:
@zure_izena@adibidea.eus
edo@adibidea.eus@adibidea.eus
. Beraz, hori da bilatu beharko duzuna. - Zure blogean argitaratu bidalketa berri bat.
- Mastodonetik, egiaztatu ezazu ea bidalketa berriak zure Etxea jarioan agertzen diren.
Oharra: Kontuan izan zure bidalketa berriek 15 minutu inguru behar dituztela federatutako jarioetan agertzeko. Hau, mezuak federatutako plataformetara programatutako lan batekin bidaltzen direlako gertatzen da. Honela, jarraitzaile asko izan ditzaketen erabiltzaileen kasua argitaratzen prozesua moztea saihesten da. Beraz, zerbait argitaratu eta jarraian beste aldean ikusten ez baduzu ez asumitu zerbait apurtuta dagoenik. Emaiozu denbora pixka bat. Kasu gehienetan, minutu batzuen buruan agertu egingo da eta dena behar bezala dabilela jakingo duzu.
Pantaila-argazkiak
Blokeak
Plugin honek 4 blokeak eskaintzen ditu.
- Fediverse Followers Display your followers from the Fediverse on your website.
- Federated Reply Respond to posts, notes, videos, and other content on the fediverse. Ensure the URL originates from a federated social network like Mastodon, as other URLs might not function as expected.
- Fediverse Reactions Display Fediverse likes and reposts
- Follow me on the Fediverse Display your Fediverse profile so that visitors can follow you.
Instalazioa
Follow the normal instructions for installing WordPress plugins.
Pluginaren instalazio automatikoa
To add a WordPress Plugin using the built-in plugin installer:
- Go to Plugins > Add New.
- Type “
activitypub
” into the Search Plugins box. - Find the WordPress Plugin you wish to install.
- Click Details for more information about the Plugin and instructions you may wish to print or save to help setup the Plugin.
- Click Install Now to install the WordPress Plugin.
- The resulting installation screen will list the installation as successful or note any problems during the install.
- If successful, click Activate Plugin to activate it, or Return to Plugin Installer for further actions.
Pluginaren eskuzko instalazioa
There are a few cases when manually installing a WordPress Plugin is appropriate.
- If you wish to control the placement and the process of installing a WordPress Plugin.
- If your server does not permit automatic installation of a WordPress Plugin.
- If you want to try the latest development version.
Installation of a WordPress Plugin manually requires FTP familiarity and the awareness that you may put your site at risk if you install a WordPress Plugin incompatible with the current version or from an unreliable source.
Egin zure gune osoaren babeskopia jarraitu aurretik.
WordPress plugina eskuz instalatzeko:
- Download your WordPress Plugin to your desktop.
- Download from the WordPress directory
- Download from GitHub
- If downloaded as a zip archive, extract the Plugin folder to your desktop.
- With your FTP program, upload the Plugin folder to the
wp-content/plugins
folder in your WordPress directory online. - Go to Plugins screen and find the newly uploaded Plugin in the list.
- Klikatu Aktibatu berau aktibatzeko.
MEG
-
Luzeegia; ez dut irakurri
-
Plugin honek zure WordPress bloga Mastodon bezalako plataforma ezagunetara konektatzen du, zure bidalketak jende gehiagorentzako eskuragarriak eginez. Behin instalatuta, plataforma horietako erabiltzaileek zure bloga jarraitu ahal izango dute, zure bidalketa berriak beraiek jarioetan agertuz.
-
Zer da “ActivityPub for WordPress”
-
ActivityPub for WordPress pluginak WordPressi fedibertsoko ezaugarri batzuk gehitzen dizkio, baina ez du Friendica edo Mastodon bezalako plataformekin lehiatzen. Sare sozial deszentralizatu bat nahi baduzu, erabil ezazu Mastodon, GNU social edo antzeko bat.
-
Eta bloga azpikarpeta batean badaukat zer?
-
Webfinger ibiltzeko, zure bloga dagoen URLari dagokion erroko karpetan mapeatuta egon behar da.
Apache
Gehitu ondokoa erroko karpetako .htaccess fitxategiari:
RedirectMatch "^\/\.well-known/(webfinger|nodeinfo)(.*)$" /blog/.well-known/$1$2
‘blog’ ordez jar ezazu zure bloga dagoen azpikarpeta.
Nginx
Gehitu ondokoa site.conf fitxategiko sites-available atalean:
location ~* /.well-known { allow all; try_files $uri $uri/ /blog/?$args; }
‘blog’ ordez jar ezazu zure bloga dagoen azpikarpeta.
If you are running your blog in a subdirectory, but have a different wp_siteurl, you don’t need the redirect, because the index.php will take care of that.
-
What if you are running your blog behind a reverse proxy with Apache?
-
If you are using a reverse proxy with Apache to run your host you may encounter that you are unable to have followers join the blog. This will occur because the proxy system rewrites the host headers to be the internal DNS name of your server, which the plugin then uses to attempt to sign the replies. The remote site attempting to follow your users is expecting the public DNS name on the replies. In these cases you will need to use the ‘ProxyPreserveHost On’ directive to ensure the external host name is passed to your internal host.
If you are using SSL between the proxy and internal host you may also need to
SSLProxyCheckPeerName off
if your internal host can not answer with the correct SSL name. This may present a security issue in some environments. -
Constants
-
The plugin uses PHP Constants to enable, disable or change its default behaviour. Please use them with caution and only if you know what you are doing.
ACTIVITYPUB_REST_NAMESPACE
– Change the default Namespace of the REST endpoint. Default:activitypub/1.0
.ACTIVITYPUB_EXCERPT_LENGTH
– Change the length of the Excerpt. Default:400
.ACTIVITYPUB_SHOW_PLUGIN_RECOMMENDATIONS
– show plugin recommendations in the ActivityPub settings. Default:true
.ACTIVITYPUB_MAX_IMAGE_ATTACHMENTS
– Change the number of attachments, that should be federated. Default:3
.ACTIVITYPUB_HASHTAGS_REGEXP
– Change the default regex to detect hashtext in a text. Default:(?:(?<=\s)|(?<=<p>)|(?<=<br>)|^)#([A-Za-z0-9_]+)(?:(?=\s|[[:punct:]]|$))
.ACTIVITYPUB_USERNAME_REGEXP
– Change the default regex to detect @-replies in a text. Default:(?:([A-Za-z0-9\._-]+)@((?:[A-Za-z0-9_-]+\.)+[A-Za-z]+))
.ACTIVITYPUB_URL_REGEXP
– Change the default regex to detect urls in a text. Default:(www.|http:|https:)+[^\s]+[\w\/]
.ACTIVITYPUB_CUSTOM_POST_CONTENT
– Change the default template for Activities. Default:<strong>[ap_title]</strong>\n\n[ap_content]\n\n[ap_hashtags]\n\n[ap_shortlink]
.ACTIVITYPUB_AUTHORIZED_FETCH
– Enable AUTHORIZED_FETCH.ACTIVITYPUB_DISABLE_REWRITES
– Disable auto generation ofmod_rewrite
rules. Default:false
.ACTIVITYPUB_DISABLE_INCOMING_INTERACTIONS
– Block incoming replies/comments/likes. Default:false
.ACTIVITYPUB_DISABLE_OUTGOING_INTERACTIONS
– Disable outgoing replies/comments/likes. Default:false
.ACTIVITYPUB_SHARED_INBOX_FEATURE
– Enable the shared inbox. Default:false
.ACTIVITYPUB_SEND_VARY_HEADER
– Enable to send theVary: Accept
header. Default:false
.
-
Where can you manage your followers?
-
If you have activated the blog user, you will find the list of his followers in the settings under
/wp-admin/options-general.php?page=activitypub&tab=followers
.The followers of a user can be found in the menu under “Users” -> “Followers” or under
wp-admin/users.php?page=activitypub-followers-list
.For reasons of data protection, it is not possible to see the followers of other users.
Berrikuspenak
Laguntzaileak eta Garatzaileak
“ActivityPub” software librea da. Ondoko pertsonek egin dizkiote ekarpenak plugin honi.
LaguntzaileakActivityPub 26 eskualde-ezarpenetara itzuli da. Eskerrik asko itzultzaileei beraien ekarpenengatik.
Itzul zaitez ActivityPub zure hizkuntzara.
Garapena interesatzen zaizu?
Araka kodea, begiratu SVN biltegia edo harpidetu garapen erregistrora RSS bidez.
Aldaketen loga
5.8.0 – 2025-04-24
Added
- An option to receive notification emails when an Actor was mentioned in the Fediverse.
- Enable direct linking to Help Tabs.
- Fallback embed support for Fediverse content that lacks native oEmbed responses.
- Support for all media types in the Mastodon Importer.
Changed
- Added WordPress disallowed list filtering to block unwanted ActivityPub interactions.
- Mastodon imports now support blocks, with automatic reply embedding for conversations.
- Tested and compatible with the latest version of WordPress.
- Updated design of new follower notification email and added meta information.
- Update DM email notification to include an embed display of the DM.
- Updated notification settings to be user-specific for more personalization.
Fixed
- Add support for Multisite Language Switcher
- Better check for an empty
headers
array key in the Signature class. - Include user context in Global-Inbox actions.
- No more PHP warning when Mastodon Apps run out of posts to process.
- Reply links and popup modals are now properly translated for logged-out visitors.
5.7.0 – 2025-04-11
Added
- Advanced Settings tab, with special settings for advanced users.
- Check if pretty permalinks are enabled and recommend to use threaded comments.
- Reply block: show embeds where available.
- Support same-server domain migrations.
- Upgrade routine that removes any erroneously created extra field entries.
Changed
- Add option to enable/disable the “shared inbox” to the “Advanced Settings”.
- Add option to enable/disable the
Vary
Header to the “Advanced Settings”. - Configure the “Follow Me” button to have a button-only mode.
- Importers are loaded on admin-specific hook.
- Improve the troubleshooting UI and show Site-Health stats in ActivityPub settings.
- Increased compatibility with Mobilizon and other platforms by improving signature verification for different key formats.
Fixed
- Ensure that an
Activity
has anActor
before adding it to the Outbox. - Fixed some bugs and added additional information on the Debug tab of the Site-Health page.
- Follow-up to the reply block changes that makes sure Mastodon embeds are displayed in the editor.
- Outbox endpoint bug where non-numeric usernames caused errors when querying Outbox data.
- Show Site Health error if site uses old “Almost Pretty Permalinks” structure.
- Sites with comments from the Fediverse no longer create uncached extra fields posts that flood the Outbox.
- Transformers allow settings values to false again, a regression from 5.5.0.
5.6.1 – 2025-04-02
Fixed
- “Post Interactions” settings will now be saved to the options table.
- So not show
movedTo
attribute instead of setting it tofalse
if empty. - Use specified date format for
updated
field in Outbox-Activites.
5.6.0 – 2025-04-01
Added
- Added a Mastodon importer to move your Mastodon posts to your WordPress site.
- A default Extra-Field to do a little advertising for WordPress.
- Move: Differentiate between
internal
and ‘external’ Move. - Redirect user to the welcome page after ActivityPub plugin is activated.
- The option to show/hide the “Welcome Page”.
- User setting to enable/disable Likes and Reblogs
Changed
- Logged-out remote reply button markup to look closer to logged-in version.
- No longer federates
Delete
activities for posts that were not federated. - OrderedCollection and OrderedCollectionPage behave closer to spec now.
- Outbox items now contain the full activity, not just activity objects.
- Standardized mentions to use usernames only in comments and posts.
Fixed
- Changelog entries: allow automating changelog entry generation from forks as well.
- Comments from Fediverse actors will now be purged as expected.
- Importing attachments no longer creates Outbox items for them.
- Improved readability in Mastodon Apps plugin string.
- No more PHP warnings when previewing posts without attachments.
- Outbox batch processing adheres to passed batch size.
- Permanently delete reactions that were
Undo
instead of trashing them. - PHP warnings when scheduling post activities for an invalid post.
- PHP Warning when there’s no actor information in comment activities.
- Prevent self-replies on local comments.
- Properly set
to
audience ofActivity
instead of changing theFollow
Object. - Run all Site-Health checks with the required headers and a valid signature.
- Set
updated
field for profile updates, otherwise theUpdate
–Activity
wouldn’t be handled by Mastodon. - Support multiple layers of nested Outbox activities when searching for the Object ID.
- The Custom-Avatar getter on WP.com.
- Use the $from account for the object in Move activity for external Moves
- Use the
$from
account for the object in Move activity for internal Moves - Use
add_to_outbox
instead of the changed scheduler hooks. - Use
JSON_UNESCAPED_SLASHES
because Mastodon seems to have problems with encoded URLs. Scheduler::schedule_announce_activity
to handle Activities instead of Activity-Objects.
5.5.0 – 2025-03-19
Added
- Added “Enable Mastodon Apps” and “Event Bridge for ActivityPub” to the recommended plugins section.
- Added Constants to the Site-Health debug informations.
- Development environment: add Changelogger tool to environment dependencies.
- Development environment: allow contributors to specify a changelog entry directly from their Pull Request description.
- Documentation for migrating from a Mastodon instance to WordPress.
- Support for sending Activities to ActivityPub Relays, to improve discoverability of public content.
Changed
- Documentation: expand Pull Request process docs, and mention the new changelog process as well as the updated release process.
- Don’t redirect @-name URLs to trailing slashed versions
- Improved and simplified Query code.
- Improved readability for actor mode setting.
- Improved title case for NodeInfo settings.
- Introduced utility function to determine actor type based on user ID.
- Outbox items only get sent to followers when there are any.
- Restricted modifications to settings if they are predefined as constants.
- The Welcome page now uses WordPress’s Settings API and the classic design of the WP Admin.
- Uses two-digit version numbers in Outbox and NodeInfo responses.
Removed
- Our version of
sanitize_url()
was unused—use Core’ssanitize_url()
instead.
Fixed
- Ensured that Query::get_object_id() returns an ID instead of an Object.
- Fix a fatal error in the Preview when a post contains no (hash)tags.
- Fixed an issue with the Content Carousel and Blog Posts block: https://github.com/Automattic/wp-calypso/issues/101220
- Fixed default value for
activitypub_authorized_fetch
option. - Follow-Me blocks now show the correct avatar on attachment pages.
- Images with the correct aspect ratio no longer get sent through the crop step again.
- No more PHP warnings when a header image gets cropped.
- PHP warnings when trying to process empty tags or image blocks without ID attributes.
- Properly re-added support for
Update
andDelete
Announce
ments. - Updates to certain user meta fields did not trigger an Update activity.
- When viewing Reply Contexts, we’ll now attribute the post to the blog user when the post author is disabled.
5.4.1 – 2025-03-04
Fixed
- Fixed transition handling of posts to ensure that
Create
andUpdate
activities are properly processed. - Show “full content” preview even if post is in still in draft mode.
5.4.0 – 2025-03-03
Added
- Upgrade script to fix Follower json representations with unescaped backslashes.
- Centralized place for sanitization functions.
Changed
- Bumped minimum required WordPress version to 6.4.
- Use a later hook for Posts to get published to the Outbox, to get sure all
post_meta
s andtaxonomy
s are set stored properly. - Use webfinger as author email for comments from the Fediverse.
- Remove the special handling of comments from Enable Mastodon Apps.
Fixed
- Do not redirect
/@username
URLs to the API any more, to improveAUTHORIZED_FETCH
handling.
5.3.2 – 2025-02-27
Fixed
- Remove
activitypub_reply_block
filter after Activity-JSON is rendered, to not affect the HTML representation. - Remove
render_block_core/embed
filter after Activity-JSON is rendered, to not affect the HTML representation.
5.3.1 – 2025-02-26
Fixed
- Blog profile settings can be saved again without errors.
- Followers with backslashes in their descriptions no longer break their actor representation.
5.3.0 – 2025-02-25
Added
- A fallback
Note
forArticle
objects to improve previews on services that don’t support Articles yet. - A reply
context
for Posts and Comments to allow relying parties to discover the whole conversation of a thread. - Setting to adjust the number of days Outbox items are kept before being purged.
- Failed Follower notifications for Outbox items now get retried for two more times.
- Undo API for Outbox items.
- Metadata to New Follower E-Mail.
- Allow Activities on URLs instead of requiring Activity-Objects. This is useful especially for sending Announces and Likes.
- Outbox Activity IDs can now be resolved when the ActivityPub `Accept header is used.
- Support for incoming
Move
activities and ensure that followed persons are updated accordingly. - Labels to add context to visibility settings in the block editor.
- WP CLI command to reschedule Outbox-Activities.
Changed
- Outbox now precesses the first batch of followers right away to avoid delays in processing new Activities.
- Post bulk edits no longer create Outbox items, unless author or post status change.
- Properly process
Update
activities on profiles and ensure all properties of a followed person are updated accordingly. - Outbox processing accounts for shared inboxes again.
- Improved check for
?activitypub
query-var. - Rewrite rules: be more specific in author rewrite rules to avoid conflicts on sites that use the “@author” pattern in their permalinks.
- Deprecate the
activitypub_post_locale
filter in favor of theactivitypub_locale
filter.
Fixed
- The Outbox purging routine no longer is limited to deleting 5 items at a time.
- Ellipses now display correctly in notification emails for Likes and Reposts.
- Send Update-Activity when “Actor-Mode” is changed.
- Added delay to
Announce
Activity from the Blog-Actor, to not have race conditions. Actor
validation in several REST API endpoints.- Bring back the
activitypub_post_locale
filter to allow overriding the post’s locale.
5.2.0 – 2025-02-13
Added
- Batch Outbox-Processing.
- Outbox processed events get logged in Stream and show any errors returned from inboxes.
- Outbox items older than 6 months will be purged to avoid performance issues.
- REST API endpoints for likes and shares.
Changed
- Increased probability of Outbox items being processed with the correct author.
- Enabled querying of Outbox posts through the REST API to improve troubleshooting and debugging.
- Updated terminology to be client-neutral in the Federated Reply block.
Fixed
- Fixed an issue where the outbox could not send object types other than
Base_Object
(introduced in 5.0.0). - Enforce 200 status header for valid ActivityPub requests.
object_id_to_comment
returns a commment now, even if there are more than one matching comment in the DB.- Integration of content-visibility setup in the block editor.
- Update CLI commands to the new scheduler refactorings.
- Do not add an audience to the Actor-Profiles.
Activity::set_object
falsely overwrites the Activity-ID with a default.
5.1.0 – 2025-02-06
Added
- Cleanup of option values when the plugin is uninstalled.
- Third-party plugins can filter settings tabs to add their own settings pages for ActivityPub.
- Show ActivityPub preview in row actions when Block Editor is enabled but not used for the post type.
Changed
- Manually granting
activitypub
cap no longer requires the receiving user to havepublish_post
. - Allow omitting replies in ActivityPub representations instead of setting them as empty.
- Allow Base Transformer to handle WP_Term objects for transformation.
- Improved Query extensibility for third party plugins.
Fixed
- Negotiation of ActivityPub requests for custom post types when queried by the ActivityPub ID.
- Avoid PHP warnings when using Debug mode and when the
actor
is not set. - No longer creates Outbox items when importing content/users.
- Fix NodeInfo 2.0 URL to be HTTP instead of HTTPS.
5.0.0 – 2025-02-03
Changed
- Improved content negotiation and AUTHORIZED_FETCH support for third-party plugins.
- Moved password check to
is_post_disabled
function.
Fixed
- Handle deletes from remote servers that leave behind an accessible Tombstone object.
- No longer parses tags for post types that don’t support Activitypub.
- rel attribute will now contain no more than one “me” value.
See full Changelog on GitHub.