bookwyrm icon indicating copy to clipboard operation
bookwyrm copied to clipboard

Hashtag behaviour not compatible with Mastodon

Open arjanboltjes opened this issue 1 year ago • 3 comments

I noticed two things:

  1. Hashtags in Bookwyrm are not formatted the same as in Mastodon.
  2. When clicking the hashtag in Mastodon, my Bookwyrm comment does not show up.

Ad 1. I added #cycling-related to my comment. In Mastodon, the hashtag would then be #cycling, the hashtag being terminated at the dash. Bookwyrm does not do this. In Mastodon, you now see the complete hashtag, but it doesn't work: it yields a "The page you are looking for isn't there". On Bookwyrm, the #cycling-related hashtag is created, and actually works. I had expected it to be #cycling.

Ad 2. I added other hashtags that were the same between Mastodon and Bookwyrm, e.g. #roadbike, but when clicking this hashtag on Mastodon does not find my Bookwyrm comment, despite the comment finding its way to Mastodon - I follow my Bookrastinating account. A Mastodon comment to the Bookwyrm comment carrying the same hashtag is found. This suggests to me incomplete federation of Bookwyrm content into Mastodon. Is this expected behaviour?

The other way around I do see behaviour that I had expected: when clicking the hashtag in Bookwyrm, I do not expect Mastodon posts to pop up since Mastodon content is not generally visible in Bookwyrm, and this is indeed the case. I only found my own comment and the Mastodon comment to this comment. Apparently, no one else on Bookrastinating has used this hashtag.


Desktop: - OS: Linux - Kubuntu - Browser: Firefox - Version: 114.0.1 (64-bit)

arjanboltjes avatar Jul 14 '23 01:07 arjanboltjes

For point 2: My guess is that something is not going quite right with the serialisation for the hashtags (or at least not the same as with Mastodon). In the ActivityPub message I see the following for tags:

'tag': [{'type': 'Hashtag', 'href': 'https://your.domain.here/hashtag/1', 'name': '@#content'}]

It looks like there is a superfluous @ in the name, which I expect would explain why Mastodon does not pick up the tag.

jderuiter avatar Jul 28 '23 07:07 jderuiter

Recently I posted on Mastodon concerning hashtag behaviour that very much seems to resemble the point 2 of my original post above.

Since I did not receive any reaction from bookwyrm or bookrastinating Mastodon accounts, I'll post it here, too:

Is it a feature or a bug that a comment on a #bookwyrm instance - in this case #bookrastinating - including hashtags does not show up when I click one of those hashtags on mastodon? For instance, while using this mastodon account, and while following my bookrastinating account, checking out #GraphicNovel does not find my comments although i recently used that hashtag, the comments are in my time line when I specifically scroll back, and the hashtag is there.

Please find the complete convo here: https://mastodon.social/@tinyspheresof/111558461410612715

Based on @jderuiter above I was under the impression that the described behaviour was not intended. Has anything changed recently?

arjanboltjes avatar Jan 02 '24 23:01 arjanboltjes

Now with 0.7.x out and implemented on .social nothing has changed, sadly :(

On Bookwyrm i can find my mastodon posts: https://bookwyrm.social/hashtag/189143/s/josiedertigerunddiefische On Mastodon i can't find my bookwyrm posts: https://mstdn.social/tags/JosieDerTigerUndDieFische

Yes, I have just recreated both comments, I set the hashtags in title as well as body part. Still nothing.

fabiscafe avatar Jan 07 '24 16:01 fabiscafe