Add support for Itunes
This commit is contained in:
parent
8f7690d8f4
commit
f73a36c1c8
15 changed files with 883 additions and 51 deletions
|
|
@ -32,6 +32,12 @@ func addItemToDB(item *gofeed.Item, ctx context.Context, newFeed db.Feed) {
|
|||
// Add Dublin Core to the database
|
||||
createItemDublinCore(ctx, item, newItem)
|
||||
|
||||
// Add iTunes extensions to the database
|
||||
_, err = createItemItunes(ctx, item, newItem)
|
||||
if err != nil {
|
||||
log.Printf("Error adding iTunes extensions to database: %s", err)
|
||||
}
|
||||
|
||||
log.Printf("Item added to database")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue