feat: implement trending podcasts page and RSS parsing service for feed data extraction

This commit is contained in:
Michael committed 2026-04-16 13:44:05 +02:00
1 parent 2fbbf70ee0
commit aaf7b82985
4 files changed
+121 -6

No files matched your search

+3
View File
@@ -284,8 +284,11 @@ export const rssParserService = {
podcast.lastFetched = new Date();
if (episodes.length > 0) {
console.log(`[RSS Parser] Setting last episode for ${podcast.title}: ${episodes[0].title} (${episodes[0].pubDate})`);
podcast.lastEpisodeTitle = episodes[0].title;
podcast.lastEpisodeDate = episodes[0].pubDate;
} else {
console.warn(`[RSS Parser] No episodes found for ${podcast.title} during creation.`);
}
await podcast.save();