youtube-rss: wrap rest in CDATA
This commit is contained in:
parent
07d6c05fd6
commit
04b2a2716e
|
@ -8,9 +8,9 @@ uploader=`echo "$playlistJSON" | jq -r '.uploader'`
|
|||
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
|
||||
<rss version=\"2.0\" xmlns:content=\"http://purl.org/rss/1.0/modules/content/\">
|
||||
<channel>
|
||||
<title>$uploader</title>
|
||||
<link>$playlistURL</link>
|
||||
<description>$uploader</description>
|
||||
<title><![CDATA[ $uploader ]]></title>
|
||||
<link><![CDATA[ $playlistURL ]]></link>
|
||||
<description><![CDATA[ $uploader ]]></description>
|
||||
"
|
||||
|
||||
entries=`echo "$playlistJSON" | jq -r '.entries[] | .url + " " + .title'`
|
||||
|
|
Loading…
Reference in New Issue
Block a user