this post was submitted on 09 Jul 2024
6 points (100.0% liked)

Lemmy Support

4650 readers
1 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

Support set url from posts of other fediverse softwares (ej mastodon, mitra, akkoma...)

Hello!

In the last few days I have been testing to create news posts in Lemmy communities from Mastodon and Mitra.

I have seen that the posts are created correctly, setting the title with the first line of the post, but the url is not set correctly, it puts all the content in the body, but the attached url is not set. Would there be any way to extract the url from the body to be able to set it, as is done with the title?

I attach examples:

Post created from Lemmy with url in lemmy: https://scribe.disroot.org/api/v3/post?id=532812
Post created from Mastodon without url in lemmy: https://scribe.disroot.org/api/v3/post?id=532812

@lemmy_support @LemmyDev

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 3 months ago

You might want to have a look at this thread: https://lemmy.world/post/17376004