Commit 07ff4c602e229a458d6210ac0c19dc2b699b740f
rss: put feed author in author field
cel committed on 6/11/2017, 12:32:13 AMParent: b99fb41a81ed0e6a2d0e1f32c5fae9ce6cf5d9de
Files changed
render.js | changed |
render.js | |||
---|---|---|---|
@@ -361,9 +361,10 @@ | |||
361 | 361 … | } | |
362 | 362 … | ||
363 | 363 … | return ( | |
364 | 364 … | '<item>' + | |
365 | - '<title>' + escape(msg.author.name + ' | ' + (c.type || 'private')) + '</title>' + | ||
365 … | + '<title>' + escape(c.type || 'private') + '</title>' + | ||
366 … | + '<author>' + escape(msg.author.name) + '</author>' + | ||
366 | 367 … | '<description><![CDATA[' + content + ']]></description>' + | |
367 | 368 … | '<link>' + opts.base + escape(name) + '</link>' + | |
368 | 369 … | '<pubDate>' + new Date(msg.value.timestamp).toUTCString() + '</pubDate>' + | |
369 | 370 … | '<guid>' + msg.key + '</guid>' + |
Built with git-ssb-web