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: RSS Feed #50

Open
ADKaster opened this issue Jul 15, 2024 · 5 comments · May be fixed by #72
Open

Feature: RSS Feed #50

ADKaster opened this issue Jul 15, 2024 · 5 comments · May be fixed by #72
Labels
enhancement New feature or request

Comments

@ADKaster
Copy link
Member

Several people have reached out asking if we could create an RSS feed for posts and newsletters.

@ADKaster ADKaster added the enhancement New feature or request label Jul 15, 2024
@ADKaster
Copy link
Member Author

#56 adds a posts.xml generated from post contents.

However, it's served as application/xml instead of application/rss+xml, so the astro files probably need an update to serve it with the proper type.

@simonkrauter
Copy link

simonkrauter commented Jul 24, 2024

For me the web feed works! (I use FreshRSS.)
Screenshot_2024-07-24_13-58-11

Just the entry "Thank you for supporting Ladybird!" I would not expect here.

@samfry13
Copy link
Contributor

@ADKaster I'm not sure we can get the RSS Feed to be application/rss+xml. After some experimentation, it looks like if we are doing a static build generation, Astro always exports a normal .xml file. Which is fine, but the issue is there's no way to specify the MIME type when serving static files, at least from what I can find on GH Pages [1].

@Kingproone
Copy link
Contributor

Kingproone commented Jul 28, 2024

Can there be an rss button added to the buttons at the bottom of the page pointing to https://ladybird.org/posts.xml?
(bad mockup, ordering is up to debate)
Screenshot_20240728_180516

@bbb651
Copy link

bbb651 commented Aug 1, 2024

@ADKaster I'm not sure we can get the RSS Feed to be application/rss+xml. After some experimentation, it looks like if we are doing a static build generation, Astro always exports a normal .xml file. Which is fine, but the issue is there's no way to specify the MIME type when serving static files, at least from what I can find on GH Pages [1].

The link was really helpful! Turns out it is supported, we just have to name the file with a .rss extension.

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

Successfully merging a pull request may close this issue.

5 participants