Add ACX substack demo

This commit is contained in:
Greg Shuflin 2025-02-03 20:46:45 -08:00
parent 739406336b
commit e2b183ddc6

View File

@ -70,7 +70,15 @@ pub async fn setup_demo_data(pool: &sqlx::SqlitePool) {
);
isidore.categorization = vec!["Webcomic".to_string()];
let feeds = [bbc_news, xkcd, isidore];
let mut acx = Feed::new(
"Astral Codex Ten".to_string(),
"https://www.astralcodexten.com/feed".parse().unwrap(),
demo_id,
);
acx.categorization = vec!["Substack".to_string()];
let feeds = [bbc_news, xkcd, isidore, acx];
for feed in feeds {
// TODO: This insert logic is substantially the same as Feed::write_to_database.