Skip to content

Commit

Permalink
Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
LoydOsborne committed Dec 4, 2024
1 parent 7902c43 commit c974232
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 59 deletions.
26 changes: 0 additions & 26 deletions rss/second-date-update/audio/feed.xml

This file was deleted.

47 changes: 47 additions & 0 deletions rss/second-date-update/feed1.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
<channel>
<title><![CDATA[Personal Listen]]></title>
<description><![CDATA[A personal podcast feed for Second Date Update episodes.]]></description>
<link>https://www.youtube.com/playlist?list=PLKMH9IkVljS73TegxFya_cM4xmjlLOls2</link>
<image>
<url>https://cdn.scyted.tv/assets/scytedtv/logos/scytedtv.jpg</url>
<title>Personal Listen</title>
<link>https://www.youtube.com/playlist?list=PLKMH9IkVljS73TegxFya_cM4xmjlLOls2</link>
</image>
<generator>RSS for Node</generator>
<lastBuildDate>Wed, 04 Dec 2024 05:48:11 GMT</lastBuildDate>
<atom:link href="https://api.scyted.tv/rss/second-date-update/audio/feed.xml" rel="self" type="application/rss+xml"/>
<author><![CDATA[Personal Listen]]></author>
<pubDate>Wed, 04 Dec 2024 05:48:11 GMT</pubDate>
<language><![CDATA[en]]></language>
<managingEditor><![CDATA[[email protected] (Personal Listen)]]></managingEditor>
<webMaster><![CDATA[[email protected] (Personal Listen)]]></webMaster>
<item>
<title><![CDATA[Eating Sticks | Week 01 (Screener)]]></title>
<description><![CDATA[Eating Sticks | Week 01 (Screener)]]></description>
<link>https://api.scyted.tv/rss/second-date-update/audio/Eating%20Sticks%20%EF%BD%9C%20Week%2001%20(Screener).mp3</link>
<guid isPermaLink="true">https://api.scyted.tv/rss/second-date-update/audio/Eating%20Sticks%20%EF%BD%9C%20Week%2001%20(Screener).mp3</guid>
<dc:creator><![CDATA[Personal Listen]]></dc:creator>
<pubDate>Wed, 04 Dec 2024 05:48:11 GMT</pubDate>
<enclosure url="https://api.scyted.tv/rss/second-date-update/audio/Eating%20Sticks%20%EF%BD%9C%20Week%2001%20(Screener).mp3" length="0" type="audio/mpeg"/>
</item>
<item>
<title><![CDATA[feed]]></title>
<description><![CDATA[feed]]></description>
<link>https://api.scyted.tv/rss/second-date-update/audio/feed.xml</link>
<guid isPermaLink="true">https://api.scyted.tv/rss/second-date-update/audio/feed.xml</guid>
<dc:creator><![CDATA[Personal Listen]]></dc:creator>
<pubDate>Wed, 04 Dec 2024 05:48:11 GMT</pubDate>
<enclosure url="https://api.scyted.tv/rss/second-date-update/audio/feed.xml" length="0" type="audio/mpeg"/>
</item>
<item>
<title><![CDATA[One Braincell Left | Week 02 (Screener)]]></title>
<description><![CDATA[One Braincell Left | Week 02 (Screener)]]></description>
<link>https://api.scyted.tv/rss/second-date-update/audio/One%20Braincell%20Left%20%EF%BD%9C%20Week%2002%20(Screener).mp3</link>
<guid isPermaLink="true">https://api.scyted.tv/rss/second-date-update/audio/One%20Braincell%20Left%20%EF%BD%9C%20Week%2002%20(Screener).mp3</guid>
<dc:creator><![CDATA[Personal Listen]]></dc:creator>
<pubDate>Wed, 04 Dec 2024 05:48:11 GMT</pubDate>
<enclosure url="https://api.scyted.tv/rss/second-date-update/audio/One%20Braincell%20Left%20%EF%BD%9C%20Week%2002%20(Screener).mp3" length="0" type="audio/mpeg"/>
</item>
</channel>
</rss>
10 changes: 8 additions & 2 deletions rss/second-date-update/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,16 @@ try {
// Generate the RSS feed
console.log("Generating RSS feed...");
const feed = new RSS({
title: "Second Date Update Podcast",
description: "Audio from the Second Date Update podcast on YouTube.",
title: "Personal Listen",
description: "A personal podcast feed for Second Date Update episodes.",
feed_url: `${baseUrl}/feed.xml`,
site_url: playlistUrl,
language: "en",
pubDate: new Date(),
image_url: "https://cdn.scyted.tv/assets/scytedtv/logos/scytedtv.jpg",
author: "Personal Listen",
managingEditor: "[email protected] (Personal Listen)",
webMaster: "[email protected] (Personal Listen)",
});

const files = fs.readdirSync(audioDir);
Expand All @@ -44,6 +48,8 @@ files.forEach((file) => {
title: cleanedTitle,
description: cleanedTitle,
url: fileUrl,
enclosure: { url: fileUrl, type: "audio/mpeg" },
author: "Personal Listen",
date: new Date(), // Replace with video publish date if available
});
});
Expand Down
30 changes: 0 additions & 30 deletions rss/second-date-update/rss-generator.js

This file was deleted.

1 change: 0 additions & 1 deletion rss/second-date-update/tracking.json

This file was deleted.

0 comments on commit c974232

Please sign in to comment.