Juanro 🇬🇦 on Nostr: Support set url from posts of other fediverse softwares (ej mastodon, mitra, ...
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@lemmy.ml
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@lemmy.ml