@julian Consider adding .mention class to mentions in HTML content.
-
@julian Consider adding
.mention
class to mentions in HTML content. Some clients transform such links into internal links. -
@julian Consider adding
.mention
class to mentions in HTML content. Some clients transform such links into internal links.@silverpill@mitra.social ironically we do add that class in NodeBB, but we explicitly strip out all custom class names because there's no guarantee that recipients would know how to handle it.
Since a
.mention
has no standardized meaning, I opted to remove it for federated content.Also mentions can be detected in content as they're explicitly defined in the payload.
-
@julian Is Video support limited to just Peertube videos? Asking this because, a video post on threads renders properly on mastodon and kokonnect(misskey fork) but only the text is displayed and not the video on my nodeb instance running 4.1.0. The post is https://www.threads.net/@b4htech/post/DGmUEn7y76q?xmt=AQGz1bBLfaQf_DsxBxScCQa7LxwcwQD3CSh5bf7j8nU0fA
Below attached are the screenshots of the above post on-
1)mastodon
2)
kokonnect
3)
My nodebb instance https://ekk.app
-
@julian Is Video support limited to just Peertube videos? Asking this because, a video post on threads renders properly on mastodon and kokonnect(misskey fork) but only the text is displayed and not the video on my nodeb instance running 4.1.0. The post is https://www.threads.net/@b4htech/post/DGmUEn7y76q?xmt=AQGz1bBLfaQf_DsxBxScCQa7LxwcwQD3CSh5bf7j8nU0fA
Below attached are the screenshots of the above post on-
1)mastodon
2)
kokonnect
3)
My nodebb instance https://ekk.app
@bh4-tech might be a caching issue. Any chance you can restart your NodeBB and see if the link shows up?
Right now the video player won't embed, but the minimum should be a link.
-
Restart from admin panel or stop and start from cmd on server?
-
Restart from admin panel or stop and start from cmd on server?
@bh4-tech either
-
Same thing, no video on restart.
-
@julian Restarting also did not change anything.
Also, noticed that if a post on mastodon, lemmy or threads has an image, it is shown beside the topic headline as a thumbnail but is not rendered below the actual text as an image. I guess that once this problem is fixed, videos(or video links) will also get rendered. The same behavior is observed on both community.nodebb.org as well as my nodebb instance. Attaching screenshots of both-
1)community.nodebb.org with a lemmy post2)my nodebb instance with a mastodon post
-
@julian Consider adding
.mention
class to mentions in HTML content. Some clients transform such links into internal links. -
Well, depending on a class from a 3rd-party is not the best way to go about it. Anyway, the server should reconstruct the html and add the appropriate
.mention
class based on any existingMention
links from the ActivityPub object.@rikudou@lemmings.world that was my thinking as well.