rss: put feed author in author field
This commit is contained in:
@@ -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>' +
|
||||||
|
|||||||
Reference in New Issue
Block a user