Updated test_parse_episode and TheBreakthrough xml feed file.

This commit is contained in:
Jordan Petridis
2017-09-21 07:31:29 +03:00
parent 64ed1790ce
commit 870e37e5b1
4 changed files with 586 additions and 643 deletions
+1
View File
@@ -51,6 +51,7 @@ pub fn index_loop(db: SqliteConnection) -> Result<()> {
let chan = feed.get_podcast_chan(&db)?;
let pd = parse_feeds::parse_podcast(&chan, feed.id())?;
// TODO: Separate the insert/update logic
diesel::insert_or_replace(&pd)
.into(schema::podcast::table)
.execute(&db)?;
+52 -4
View File
File diff suppressed because one or more lines are too long