feat: add blog_options and rss feed generation

This commit is contained in:
2026-03-15 15:07:34 +01:00
parent 419c8a579c
commit b44868361d
17 changed files with 367 additions and 14 deletions

13
app/server/rss/index.js Normal file
View File

@@ -0,0 +1,13 @@
import { RssGenerator } from "./rssGenerator.js";
let generator = null;
export default (() => {
if (!generator) {
generator = Object.freeze(new RssGenerator({
filePath: '/home/node/rss/rss.xml',
}));
}
return generator;
})();