feat: migrate to bun runtime and update dependencies
This commit is contained in:
@ -7,13 +7,14 @@ export async function updatePodcastRSS() {
|
||||
|
||||
const channelTitle = "自動生成ポッドキャスト";
|
||||
const channelLink = "https://your-domain.com/podcast";
|
||||
const channelDescription = "RSSフィードから自動生成されたポッドキャストです。";
|
||||
const channelDescription =
|
||||
"RSSフィードから自動生成されたポッドキャストです。";
|
||||
const lastBuildDate = new Date().toUTCString();
|
||||
|
||||
let itemsXml = "";
|
||||
for (const ep of episodes) {
|
||||
const fileUrl = `https://your-domain.com/podcast_audio/${path.basename(
|
||||
ep.audioPath
|
||||
ep.audioPath,
|
||||
)}`;
|
||||
const pubDate = new Date(ep.pubDate).toUTCString();
|
||||
itemsXml += `
|
||||
|
Reference in New Issue
Block a user