feed-module
feed-module copied to clipboard
Nuxt 3 Support
There is a nice initiative from @maciejpedzich already: https://github.com/maciejpedzich/nuxt-feed-module/
The upstream issue to consider merging: https://github.com/maciejpedzich/nuxt-feed-module/issues/1
/cc @manniL
Looks like I opened a PR over a month ago... the code is pretty much the same compared to my nuxt-feed-module, just the README.md containing respective module names.
Thanks. I've made a review to your current PR.
Hi @pi0, sorry for not getting back to you earlier! I'd seen the review, but got distracted and... here I am. I'll see when I'll be able to apply the changes. Once that's done, I'll let you know in this issue. Cheers!
Added my 2 cents too βΊοΈ
Hey y'all, Is anyone actively working on this?
Hey y'all, Is anyone actively working on this?
Haven't had time to continue based on #103 - so feel free to stab on this @fimion π
@manniL @fimion
I'm interested in contribution to make this module support Nuxt 3 (and Bridge if possible). If no one is currently working on it, may I create a draft PR and work on it?
I have not started work on it and i know @maciejpedzich has recently created an interesting solution for this:
https://journal.maciejpedzi.ch/generating-rss-feeds-for-a-nuxt-content-site
Oh, it looks interesting! Thank you for sharing!
Actually, I know there are some people asking for this kind of solution in https://github.com/nuxt/content. I will share the article with them as a reference (of course with your and his name). πββοΈ
By the way, it would be cumbersome for every developer to write Nuxt Server routes to handle RSS generation, especially in more simple use cases. So, I still believe upgrading Nuxt Feed module will beneficial for the community.
Ah, I've found you, @fimion, asked the question in Nuxt Content repository. π
It seems the author is so busy or enjoying vacation.
FYR, I started developing Nuxt 3 support in a branch of my folked repository (at the very moment, for future personal use).
I will open a (draft) PR once I got an approval from authors.
I have not started work on it and i know @maciejpedzich has recently created an interesting solution for this:
https://journal.maciejpedzi.ch/generating-rss-feeds-for-a-nuxt-content-site
First of all, big up for the shoutout, @fimion! As for you, @NozomuIkuta, feel free to use my approach for your feed module, if that helps! Even though that code was written with Nuxt Content in mind, it should be relatively easy to adopt for a wider range of use-cases.
@NozomuIkuta Sure, feel free to send in a draft PR! ππ»
For those who are interested in adding an rss / atom feed to their website via nuxt/content without the need for a module, I just did it with my personal website, and it's pretty straightforward. You can find a blog post outlining the process here:
https://cmpadden.github.io/articles/nuxt-content-rss-feed
Alternatively, you can reference the code in the pull-request here: https://github.com/cmpadden/cmpadden.github.io/pull/35/files
The trick to getting it to work for statically generated websites using nuxt generate is to add a nitro pre-render route in your nuxt.config.ts.
nitro: {
prerender: {
routes: ['/sitemap.xml', '/atom']
}
}
The atom feed is accessible at: https://cmpadden.github.io/atom
And you can see how it loads with Feedly in this screenshot:
Hope this helps!