this post was submitted on 31 Jul 2023
71 points (100.0% liked)

Fediverse

28388 readers
712 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 1 year ago
MODERATORS
 

I've updated the bot and added the possibility of translating hardcoded links (like this one: https://lemmy.world/post/2355178 or this one: https://lemmy.world/comment/1863672) to posts/comments with links from your instance when you mention him. I'll show an example in comments.

you are viewing a single comment's thread
view the rest of the comments
[–] rikudou@lemmings.world 4 points 1 year ago (1 children)

Well, I agree! Until it's there, you can do one of these: a) ignore the bot, b) block the bot, c) block all bots, d) contribute to Lemmy UI. Even though it may sound trivial to you, it really isn't, due to the federated nature of Lemmy. The IDs are specific to each instance, it's not a simple string replacement.

[–] wpuckering@lm.williampuckering.com 1 points 1 year ago* (last edited 1 year ago) (1 children)

It is actually trivial. Here's a walkthrough with one solution for how to do it: https://lm.williampuckering.com/comment/723311

[–] rikudou@lemmings.world 2 points 1 year ago (1 children)

Yeah, that link requires authentication. Anyway, I've just implemented it in the bot, I know how hard it is.

Ah sorry, just remembered I put my entire instance behind authentication except for the API endpoints required for federation. The comment I was linking to is in this thread. Just describes how all the info you need to properly transform the links is right there in the database records of the entities you want to transform, so this functionality can easily be added without much work.