-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hashtags with extended alphabet characters aren't recognized as hashtags, AP=>Bluesky #1131
Comments
Huh, this turned out to be more interesting than I though. Mastodon's AS2 JSON for this post removes the umlauts from those characters in the ![]() ...but the AS2 Interestingly, if you click on the #Äänestäminen hashtag chip in the UI, it goes to the hashtag page, https://mementomori.social/tags/%C3%84%C3%A4nest%C3%A4minen , which has the umlauts, but they're only for show, evidently they're not in the underlying hashtag index. If you remove them from that URL to get https://mementomori.social/tags/Aanestaminen , it renders the hashtag without them but shows the same results. {
"type" : "Note",
"id" : "https://mementomori.social/users/rolle/statuses/112586679114646311",
"url" : "https://mementomori.social/@rolle/112586679114646311",
"attributedTo" : "https://mementomori.social/users/rolle",
"content" : "<p>Muista käydä äänestämässä! Klo 20 asti aikaa. On tyhmää olla vaikuttamatta, kun siihen demokratiassa on mahdollisuus. Kaikille maailmassa ei tällaista suoda.</p><p><a href=\"https://mementomori.social/tags/Eurovaalit2024\" class=\"mention hashtag\" rel=\"tag\">#<span>Eurovaalit2024</span></a> <a href=\"https://mementomori.social/tags/Eurovaalit\" class=\"mention hashtag\" rel=\"tag\">#<span>Eurovaalit</span></a> <a href=\"https://mementomori.social/tags/%C3%84%C3%A4nest%C3%A4minen\" class=\"mention hashtag\" rel=\"tag\">#<span>Äänestäminen</span></a> <a href=\"https://mementomori.social/tags/Politiikka\" class=\"mention hashtag\" rel=\"tag\">#<span>Politiikka</span></a></p>",
"tag" : [
{
"href" : "https://mementomori.social/tags/eurovaalit2024",
"name" : "#eurovaalit2024",
"type" : "Hashtag"
},
{
"href" : "https://mementomori.social/tags/eurovaalit",
"name" : "#eurovaalit",
"type" : "Hashtag"
},
{
"href" : "https://mementomori.social/tags/aanestaminen",
"name" : "#aanestaminen",
"type" : "Hashtag"
},
{
"href" : "https://mementomori.social/tags/politiikka",
"name" : "#politiikka",
"type" : "Hashtag"
}
]
} |
I actually like this, it seems clever and a good UX idea, but it's definitely more difficult to translate. Bluesky uses index-based facets for hashtags and other rich text, but Mastodon's AS2 I could do something Mastodon-specific and parse |
AP Hashtags containing extended alphabet characters, like ä (a with dots) and ö (o with dots), aren't recognized as hashtags. They show as text in Bluesky.
Example:
https://mementomori.social/@rolle/112586679114646311
https://bsky.app/profile/rolle.mementomori.social.ap.brid.gy/post/3kuikyelvzdc2
Here #Äänestäminen was not recognized as hashtag,
The text was updated successfully, but these errors were encountered: