• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

cmho/wp-to-activitypub: convert your wordpress into activitypub actors that peop ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

cmho/wp-to-activitypub

开源软件地址(OpenSource Url):

https://github.com/cmho/wp-to-activitypub

开源编程语言(OpenSource Language):

PHP 100.0%

开源软件介绍(OpenSource Introduction):

WP to Activitypub

  1. Why might I want this?
  2. Installation
  3. Usage Notes

Why might I want this?

  1. You want to be able to post blog-sized content, but have people be able to follow you on ActivityPub clients like Mastodon.
  2. Potential to reach a wider audience without having to buy in to a particular social media network.
  3. Increase interest and investment in federated networks.
  4. Increase options for engagement with your work (content is likable and shareable!)
  5. Doesn't require any special server setup because it just runs within Wordpress.

Why might I not want this?

If you want to run an open-registration instance, this is probably not for you; while you can have as many users with distinct AP actors as you want, it's not really advisable. If you really want to do that, maybe actually use Mastodon.

Installation

  1. Download the plugin as a zip file
  2. Unzip the file
  3. Upload the resulting folder to your wp-content/plugins folder on the server
  4. Activate the plugin from your plugins list
  5. Done!

You may want to edit the plugin settings at Settings > WP to Activitypub; this page will allow you to enable and configure the global user, tag users, and category users, which create Announce activities for all posts in their purview.

Usage Notes

There's a few quirks to posting due to the fact that I shoved this functionality into Wordpress, which is not really a thing it's actually intended to do.

Adding Image Attachments

To add image attachments, use the "Media Library" button the post page to upload images as attachments, and then uncheck all the checkboxes on the items you just uploaded. The images don't need to be inserted into the post to carry over. If you want to remove an image, you'll need to delete it from the library.

Previously-posted messages not displaying from Mastodon

Mastodon doesn't import your entire outbox; instances just pick up messages that have been sent to its inbox. As a result, when you first look up a remote account such as one generated by this plugin, the feed will look empty despite potentially displaying a large number of posts.

I'm currently working on adding a feature that'll send the entire contents of the outbox to mastodon's inbox on the first follow of an account, but that's sort of a work in progress.

Posts take kind of a long time to save

It's because we're sending about a zillion CURL requests in the background.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap