From 7f12c6e4dce3d692adfbc0d5a72bc3add803cbb2 Mon Sep 17 00:00:00 2001 From: Gary Williams Date: Wed, 12 Sep 2018 18:06:15 +0800 Subject: [PATCH] firefox improve (#683) * firefox add pubdate and guid * Update README.md * Update README.md --- docs/README.md | 6 +++--- docs/en/README.md | 6 +++--- routes/firefox/release.js | 2 ++ 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/README.md b/docs/README.md index 7099a8d0d..99db83d34 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1723,9 +1723,9 @@ GitHub 官方也提供了一些 RSS: - platform -| 桌面 | Android | Beta | Nightly | Android Beta | -| ------- | ------- | ---- | ------- | ------------ | -| desktop | android | beta | nightly | android-beta | +| 桌面 | Android | Beta | Nightly | Android Beta | ESR | +| ------- | ------- | ---- | ------- | ------------ | ------------- | +| desktop | android | beta | nightly | android-beta | organizations | ### 腾讯云移动直播 SDK diff --git a/docs/en/README.md b/docs/en/README.md index 8e1db2afe..5465d45ce 100644 --- a/docs/en/README.md +++ b/docs/en/README.md @@ -168,9 +168,9 @@ Parameters: - platform -| Desktop | Android | Beta | Nightly | Android Beta | -| ------- | ------- | ---- | ------- | ------------ | -| desktop | android | beta | nightly | android-beta | +| Desktop | Android | Beta | Nightly | Android Beta | ESR | +| ------- | ------- | ---- | ------- | ------------ | ------------- | +| desktop | android | beta | nightly | android-beta | organizations | ### App Store/Mac App Store Updates diff --git a/routes/firefox/release.js b/routes/firefox/release.js index 9846f58c4..0ec893a5a 100644 --- a/routes/firefox/release.js +++ b/routes/firefox/release.js @@ -22,6 +22,8 @@ module.exports = async (ctx) => { .text()} release note`, link: `https://www.mozilla.org/en-US/firefox/${ctx.params.platform}/notes/`, description: $('.notes-section').html(), + guid: $('.version').find('h2').text(), + pubDate: new Date($('.version').find('p').text()).toUTCString(), }, ], description: $('.description').text(),