I am in the process of migrating a Pelican site to Zola. By convention, the main RSS feed generated by Pelican has the URL example.com/feeds/all.atom.xml. With my Zola configuration, the feed lives at example.com/feed.xml instead:
generate_feeds = true
feed_filenames = ["atom.xml"]
Is it possible to configure my site build so that the contents of /atom.xml will be copied directly to /feeds/all.atom.xml so that readers don’t have to reconfigure their RSS readers?
I updated the <link rel="alternate" ... /> element in <head>, but I noticed that at least one RSS reader (FreshRSS) stores the feed URL as a separate database entry, suggesting that it won’t actually recheck this and will keep trying to pull from the original URL.
I tried putting an HTML redirect as a static page /feeds/all.atom.xml but browsers won’t follow the redirect/parse it as HTML.