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\"?>
|
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
|
||||||
<rss version=\"2.0\" xmlns:content=\"http://purl.org/rss/1.0/modules/content/\">
|
<rss version=\"2.0\" xmlns:content=\"http://purl.org/rss/1.0/modules/content/\">
|
||||||
<channel>
|
<channel>
|
||||||
<title>$uploader</title>
|
<title><![CDATA[ $uploader ]]></title>
|
||||||
<link>$playlistURL</link>
|
<link><![CDATA[ $playlistURL ]]></link>
|
||||||
<description>$uploader</description>
|
<description><![CDATA[ $uploader ]]></description>
|
||||||
"
|
"
|
||||||
|
|
||||||
entries=`echo "$playlistJSON" | jq -r '.entries[] | .url + " " + .title'`
|
entries=`echo "$playlistJSON" | jq -r '.entries[] | .url + " " + .title'`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user