feat: add title param to render_feed, use dynamic title in RSS adapter

This commit is contained in:
2026-05-04 20:52:07 +02:00
parent 49b79799c1
commit b5a8ea2395
4 changed files with 29 additions and 10 deletions

View File

@@ -67,5 +67,5 @@ pub trait HtmlRenderer: Send + Sync {
}
pub trait RssFeedRenderer: Send + Sync {
fn render_feed(&self, entries: &[DiaryEntry]) -> Result<String, String>;
fn render_feed(&self, entries: &[DiaryEntry], title: &str) -> Result<String, String>;
}