feat: add podcast item details to RSS feed
This commit is contained in:
@ -22,7 +22,11 @@ export async function updatePodcastRSS() {
|
|||||||
itemsXml += `
|
itemsXml += `
|
||||||
<item>
|
<item>
|
||||||
<title><![CDATA[${ep.title}]]></title>
|
<title><![CDATA[${ep.title}]]></title>
|
||||||
<description><![CDATA[この記事を元に自動生成したポッドキャストです]]></description>
|
<description><![CDATA[${ep.title}]]></description>
|
||||||
|
<author>${channelAuthor}</author>
|
||||||
|
<category>${channelCategories}</category>
|
||||||
|
<language>${channelLanguage}</language>
|
||||||
|
<ttl>${channelTTL}</ttl>
|
||||||
<enclosure url="${fileUrl}" length="${fs.statSync(ep.audioPath).size}" type="audio/mpeg" />
|
<enclosure url="${fileUrl}" length="${fs.statSync(ep.audioPath).size}" type="audio/mpeg" />
|
||||||
<guid>${fileUrl}</guid>
|
<guid>${fileUrl}</guid>
|
||||||
<pubDate>${pubDate}</pubDate>
|
<pubDate>${pubDate}</pubDate>
|
||||||
|
Reference in New Issue
Block a user