Constant RSS_POST_CONFIGS
Source pub const RSS_POST_CONFIGS: &[RssPostConfig];
Expand description
全部岗位 RSS 输出配置
包含翻译、校对、嵌字、审稿、时轴五个岗位的 RSS 文件配置。
用于 RssService 中批量生成各岗位的工作提醒 RSS XML。
§使用方式
ⓘfor config in RSS_POST_CONFIGS {
let rows = repo.get_work_reminder_rss(config.post_name).await?;
write_rss_file(config.file_name, rows).await?;
}