webmasterish / vuepress-plugin-feed

RSS, Atom, and JSON feeds generator plugin for VuePress 1.x
MIT License
48 stars 13 forks source link

Generate multiple feeds? #14

Open yattoz opened 3 years ago

yattoz commented 3 years ago

Feature request

Hello, I would find it interesting if this plugin could generate multiple feeds and if we could decide which page could go in which feed.

Is your feature request related to a problem? Please describe.

I don't think it's related to a problem, unless the problem is "I can't generate different feeds for different pages"...

Describe the solution you'd like

An example of solution would be to parse the frontmatter on each article to detect on which feed the page should be added. Even adding a single field like feed_name: my_feed_1 would be enough. We could add a list of feed names in the config.js feed_options. Then it would generate files like my_feed_1.rss that includes all pages using that feed_name, and so on for other feed names.

Describe alternatives you've considered

As this is static generation for vuepress, I consider using another feed generator, maybe something outside of NodeJS (could be some python script or whatnot). The goal is just to write some kind of text file using variables found on other text files, so any scripting language could probably do the trick.

Are you willing to work on this yourself?

I am sorry but I am very far from being knoweldgeable enough in NodeJS/Vue Plugins to be able to help with this. For my needs, I will most probably rely on another scripting language (Python/Ruby/Whatnot) to build the RSS feeds I need for the moment.

Additional context

No additionnal content.

Thank you very much!

webmasterish commented 3 years ago

Hello @yattoz

Unfortunately I don't have any free time at the moment to work on something like this, however, I'll keep this open in case someone else would be interested.