rss: put feed author in author field

This commit is contained in:
cel
2017-06-10 14:32:13 -10:00
parent b99fb41a81
commit 07ff4c602e
+2 -1
View File
@@ -362,7 +362,8 @@ function renderRss(opts, msg) {
return ( return (
'<item>' + '<item>' +
'<title>' + escape(msg.author.name + ' | ' + (c.type || 'private')) + '</title>' + '<title>' + escape(c.type || 'private') + '</title>' +
'<author>' + escape(msg.author.name) + '</author>' +
'<description><![CDATA[' + content + ']]></description>' + '<description><![CDATA[' + content + ']]></description>' +
'<link>' + opts.base + escape(name) + '</link>' + '<link>' + opts.base + escape(name) + '</link>' +
'<pubDate>' + new Date(msg.value.timestamp).toUTCString() + '</pubDate>' + '<pubDate>' + new Date(msg.value.timestamp).toUTCString() + '</pubDate>' +