From 4d3144cd27b1887912adefece3dbddd09c436f57 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Wed, 6 May 2015 02:32:58 +0000 Subject: [PATCH] Set isPermalink="false" for the guid property since it's not a URL. --- exec/podcast.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec/podcast.js b/exec/podcast.js index 159d2dbe7e..f7350081ee 100644 --- a/exec/podcast.js +++ b/exec/podcast.js @@ -175,7 +175,7 @@ for (i=hdrs.length - 1; i >= 0; i--) { // TODO: category? // TODO: HTML integration required here for <comments> tag. item += '\t\t\t<enclosure url="'+encode_xml(m[2])+'" length="'+item_length+'" type="'+item_type+'" />\n'; - item += '\t\t\t<guid>'+encode_xml(hdrs[i].id)+'</guid>\n'; + item += '\t\t\t<guid isPermalink="false">'+encode_xml(hdrs[i].id)+'</guid>\n'; item += '\t\t\t<pubDate>'+encode_xml((new Date(hdrs[i].when_written_time * 1000)).toUTCString())+'</pubDate>\n'; // TODO: source? item += '\t\t</item>\n'; -- GitLab