From 5621f1eaf015665672069ca5cfb4509fecb5c703 Mon Sep 17 00:00:00 2001 From: binarization Date: Fri, 21 Sep 2018 23:18:28 +0800 Subject: [PATCH] enhancement: douban group --- routes/douban/group.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/routes/douban/group.js b/routes/douban/group.js index 91d5932f4c..5eb062986d 100644 --- a/routes/douban/group.js +++ b/routes/douban/group.js @@ -37,12 +37,10 @@ module.exports = async (ctx) => { title: `豆瓣小组-${groupid}`, link: `https://www.douban.com/group/${groupid}/`, item: topics.map((topic) => ({ - title: `${topic.title} from ${topic.author.name}`, - description: `
- 作者:${topic.author.name}
- 发表时间: ${topic.created}
- 最后更新: ${topic.updated}

- ${topic.content}`, + title: `${topic.title} [来自: ${topic.author.name}]`, + author: topic.author.name, + pubDate: new Date(topic.updated).toUTCString(), + description: topic.content, link: topic.share_url, })), };