At the moment, all the articles (whether they're text to speech articles or things downloaded with yt-dlp) go into a single feed which is served from /rss.xml. We can change this so that we can have multiple feeds.
What we would need to do:
create a new database table called 'feeds'. Columns should include title, slug. When initialising the database, if there are no feeds, create a default one.
Maybe there's an option to set a feed as your 'default' feed?
Change src/pages/rss.xml.js into src/pages/feeds/[slug].xml.js
When adding a new article, you would have an option of choosing which feed you want to add it to. If you don't choose, it goes into your 'default' feed?
Maybe certain domains can go into certain feeds automatically
At the moment, all the articles (whether they're text to speech articles or things downloaded with yt-dlp) go into a single feed which is served from /rss.xml. We can change this so that we can have multiple feeds.
What we would need to do: