feat(rss): implement RSS feed adapter and integrate with application state

This commit is contained in:
2026-05-04 12:03:17 +02:00
parent edcf3c1170
commit f790fa2a0f
12 changed files with 234 additions and 11 deletions

View File

@@ -3,3 +3,7 @@ use domain::models::{DiaryEntry, collections::Paginated};
pub trait HtmlRenderer: Send + Sync {
fn render_diary_page(&self, data: &Paginated<DiaryEntry>) -> Result<String, String>;
}
pub trait RssFeedRenderer: Send + Sync {
fn render_feed(&self, entries: &[DiaryEntry]) -> Result<String, String>;
}