-
Notifications
You must be signed in to change notification settings - Fork 142
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 #828
Comments
@xc2 has implemented an RSS plugin for the Rspack website (https://github.com/web-infra-dev/rspack-website/issues/543), maybe we can make it as an official Rspress plugin and integrate it into the Rsbuild / Rspress websites. @xc2 Can you help with this? ❤️ |
@chenjiahan assign to me pls. let me check the latest rspress api |
i’m occupied by office tasks recently, so i’ll begin the work this weekend. |
Thanks Rspack already had a feed afaik. Rsbuild now has one, but it is still not discoverable because the meta tag is not added: <link data-rh="true" rel="alternate" type="application/rss+xml" href="/rss/blog-en.rss" hrefLang="en"/> Also I think the feed should rather be sorted in the opposite order (newest first) |
Thanks for the feedback, it seems like a bug of |
Should add frontmatter https://rspress.dev/plugin/official-plugins/rss.html#linking-rss-to-document-pages Eg ---
link-rss: release
--- ---
link-rss:
- release
- blog
--- |
I'm using both inoreader and thunderbird, and both of them sort articles based on the pubDate by default when i'm adding a subscription. anyway I'll create a pr to add the sorting feature as i'm not sure if most of the rss readers will sort items well. |
Yes most will sort themselves, but some will not. Also sooner or later you'll have users with large user bases and hundreds of blog posts and feeds of many megabytes and you'll need to add a truncate feed feature otherwise feed readers won't download a 100mb feed 😄 |
thank you for your helpful advise. with this plugin, there's way to truncate content atm: https://rspress.dev/plugin/official-plugins/rss.html#item though it is not applied by default as i didn't find a cheap and good enough strategy that can be applied as default solution. |
After fixing some bugs, rsbuild.dev can now be correctly recognized by ioreader. Thanks for all the suggestions ❤️ |
What problem does this feature solve?
We should be able to follow project release blog posts thanks to a RSS feed.
For example, I'd like to be notified whenever there is a new release here:
https://rsbuild.dev/community/releases/
Docusaurus blogs have this out of the box: https://docusaurus.io/blog/rss.xml
What does the proposed API look like?
No idea what the API should look like sorry 😅 Maybe it's not even a goal of this project, or maybe it should be part of the "blog theme" that is in the roadmap? (#133)
Tasks
The text was updated successfully, but these errors were encountered: