Skip to content
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

[feature] Replace RSS 'enclosure' with 'media' #3540

Open
skpy opened this issue Nov 13, 2024 · 2 comments
Open

[feature] Replace RSS 'enclosure' with 'media' #3540

skpy opened this issue Nov 13, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@skpy
Copy link

skpy commented Nov 13, 2024

Is your feature request related to a problem ?

My GtS RSS feed does not show any of my uploaded images in my feed readers of choice (Feedbin.com and NetNewsWire). It seems that Mastodon uses media elements in RSS feeds, whereas GtS is using enclosure elements.

Describe the solution you'd like.

I'd like the images I include in my toots to be visible in my RSS feed.

Describe alternatives you've considered.

I asked Feedbin to look into this for me. Their response was:

I'll look into it. Feedbin supports images in tags for Mastodon feeds, but it looks like these feeds are different from Mastodon, so Feedbin doesn't know what to do with it.

In general <enclosure type="image/*" …> is not so popular, because it should just be included (and is often duplicated) in the <content>.

In the short term, if GoToSocial can produce a feed that looks like Mastodon, then Feedbin will treat it as a short post, with proper formatting.

Additional context.

The media context as used by Mastodon is described here: https://www.rssboard.org/media-rss.

@skpy skpy added the enhancement New feature or request label Nov 13, 2024
@tsmethurst
Copy link
Contributor

Thanks! We can certainly take a look at this, we'll have to check what our RSS library affords.

Related: #2282

@JLO64
Copy link

JLO64 commented Jan 14, 2025

I'd also like to note that the RSS feeds generated by GoToSocial only provide a maximum of one image URL per post while Mastodon RSS feeds provide URLs for multiple images per post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants