How Should Custom Emoji Be Handled in WordPress ActivityPub? #1744
Unanswered
Jiwoon-Kim
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
📌 Issue Title:
Discussion: How Should Custom Emoji Be Handled in WordPress ActivityPub?
https://developer.wordpress.org/reference/functions/_wp_emoji_list/
📄 Issue Body:
I’d like to open a discussion about how the WordPress ActivityPub plugin should handle custom emoji.
Currently:
.orgside..cominfrastructure.If we plan to support custom emoji (like those on Mastodon or Misskey), this separation could lead to inconsistencies in rendering across platforms.
So I did a simple investigation on how other federated platforms handle this:
Example: My Misskey Profile
:misskey:custom emojiProfile: Misskey Profile
Emoji asset:
https://files.mastodon.social/cache/custom_emojis/images/000/273/113/original/b29393e466430baf.pngAlso accessible via proxy:
https://hoto.moe/proxy/image.webp?url=https%3A%2F%2Fmedia.misskeyusercontent.com%2Femoji%2Fmisskey.png&emoji=1Example: WordPress Profiles on Mastodon / Misskey / Hoto
[@[email protected]](https://mastodon.social/@[email protected])
:wordpress:emoji on Mastodon:https://files.mastodon.social/cache/custom_emojis/images/000/465/125/original/3b01c56fdd6c225c.pngOn Misskey:
https://proxy.misskeyusercontent.jp/image/files.wptoots.social%2Fcustom_emojis%2Fimages%2F000%2F000%2F007%2Foriginal%2Ff227660a4022c9cc.png?emoji=1On Hoto.moe:
https://hoto.moe/emoji/[email protected]https://hoto.moe/proxy/image.webp?url=https%3A%2F%2Ffiles.wptoots.social%2Fcustom_emojis%2Fimages%2F000%2F000%2F007%2Foriginal%2Ff227660a4022c9cc.png&emoji=1
Thoughts & Questions:
Would love to hear everyone’s thoughts and ideas on this!
📌 Current State of Custom Emoji Handling in the Fediverse
1️⃣ Mastodon
custom_emojilist, embedded in the actor’s JSON profile or note (activity).files.mastodon.social/...).2️⃣ Misskey
:emoji_name:syntax with optional media proxy.3️⃣ Slack / Discord / GitHub
emoji: { name: "🔥", url: "https://..." })📌 How It Works in WordPress ActivityPub (Currently)
customEmojilist in ActivityPub JSON.📌 Possible Future Approaches
✅ Option A: Extend ActivityPub Object Schema
customEmojiproperty to ActivityPub JSON objects.✅ Option B: Centralized Proxy Server
https://wp-fediverse-emoji-proxy.net/custom_emoji/{emoji_name}.webp✅ Option C: OpenGraph / HTML Meta Emoji Declaration
<meta name="fediverse:emoji-misskey" content="https://..." />📌 What About Emoji Reactions?
Reactionobjects:{ "type": "Reaction", "actor": "...", "object": "...", "content": ":misskey:" }📌 Conclusion
Should WordPress/Automattic distribute official custom emoji? → Possible.
Should we adopt Misskey’s non-standard system?
→ Honestly, ActivityPub is a loose protocol and community extensions are common.
(See IndieWeb, ForgeFed, etc.)
🔥 Recommended Next Step
customEmojiproperty to ActivityPub JSON.Beta Was this translation helpful? Give feedback.
All reactions