Automattic / wordpress-activitypub

ActivityPub for WordPress
https://wordpress.org/plugins/activitypub/
MIT License
470 stars 70 forks source link

Wordpress tags are not displayed in Mastodon as hashtags when using WordPress Post-Format #776

Open barning opened 1 month ago

barning commented 1 month ago

Quick summary

When using in Activity-Object-Type the option WordPress Post-Format, the tags are not displayed as hashtags at least in Mastodon.

Steps to reproduce

What you expected to happen

Tags should be displayed as hashtags

What actually happened

Impact

All

Available workarounds?

No but the platform is still usable

Logs or notes

No response

nickbohle commented 1 month ago

Hi,

In the settings, WordPress Post-Format is activated. And I've also noticed some inconsistencies in how my posts are displayed on the Mastodon web app. Specifically, when looking at my last three posts, which each have different post formats, I've observed the following:

Additionally, it appears that the text associated with the image post is also stripped out. This leads me to wonder if the object type "image" even supports texts and hashtags on Mastodon / the Fediverse.

With the update 2.4.0, I just changed the setting of Activity-Object-Type to: Note (default)

Done this, I updated the image post by adding two more hashtags.

As a result, the hashtags are now also displayed on Mastodon. And he toot also includes the title and a link to the post now. The text is still stripped out.

barning commented 1 month ago

Update: It appears that the hashtags attach successfully, and the posts display in the hashtag search results. However, the hashtags are not visible on the individual posts themselves.

pfefferle commented 1 month ago

yes, it seems that it only shows the hashtags if there is text in the content. Maybe we have to add the hashtags as content if the text is empty.