snarfed / bridgy-fed

🌉 A bridge between decentralized social network protocols
https://fed.brid.gy
Creative Commons Zero v1.0 Universal
768 stars 39 forks source link

Article link should be original URL (not bridgy-fed redirect) #391

Closed aciccarello closed 1 year ago

aciccarello commented 1 year ago

Articles are shared as a title and a URL. Currently the URL is a fed.brid.gy redirect URL like https://fed.brid.gy/r/https://www.ciccarello.me/blog/2023/01/21/birding-in-2021/ (post link for logged in users. I understand these are needed to have the same origin when sending posts via AP, but I imagine they aren't needed in the post content.

mastodon web client screenshot showing post with blog title and fed.brid.gy link

Could Article posts use the original URL?

snarfed commented 1 year ago

Surprisingly, that whole rendering for articles is Mastodon's doing, not ours: https://fed.brid.gy/docs#which-parts

aciccarello commented 1 year ago

Bah, Mastodon is strange. Sorry for blaming bridgy.