fix(route): Add v2 router to subscribe reuters.com and remove deprecated routes (#9761)
* Add v2 router to subscribe Reuters.com * Fix Reuters document * Fix Reuters radar * Update docs/en/traditional-media.md Co-authored-by: Tony <TonyRL@users.noreply.github.com> * Update docs/traditional-media.md Co-authored-by: Tony <TonyRL@users.noreply.github.com> * Update docs/traditional-media.md Co-authored-by: Tony <TonyRL@users.noreply.github.com> * Update docs/en/traditional-media.md, Delete empty paramDesc Co-authored-by: Tony <TonyRL@users.noreply.github.com> * Update lib/v2/reuters/index.js default value setting Co-authored-by: Tony <TonyRL@users.noreply.github.com> * Update lib/v2/reuters/index.js don't select all the time Co-authored-by: Tony <TonyRL@users.noreply.github.com> * Update lib/v2/reuters/index.js test variable first Co-authored-by: Rongrong <i@rong.moe> * Update lib/v2/reuters/radar.js Co-authored-by: Tony <TonyRL@users.noreply.github.com> * Update lib/v2/reuters/index.js clean code Co-authored-by: Rongrong <i@rong.moe> * Update lib/v2/reuters/index.js test variable first Co-authored-by: Rongrong <i@rong.moe> * Update lib/v2/reuters/index.js Co-authored-by: Rongrong <i@rong.moe> * Update lib/v2/reuters/index.js Co-authored-by: Rongrong <i@rong.moe> * Update lib/v2/reuters/investigates.js Co-authored-by: Rongrong <i@rong.moe> * Update lib/v2/reuters/maintainer.js Co-authored-by: Rongrong <i@rong.moe> * Update docs/en/traditional-media.md Co-authored-by: Rongrong <i@rong.moe> * Update docs/traditional-media.md Co-authored-by: Rongrong <i@rong.moe> * Update lib/v2/reuters/investigates.js Co-authored-by: Rongrong <i@rong.moe> * Update lib/v2/reuters/investigates.js Co-authored-by: Rongrong <i@rong.moe> * Remove old routes of reuters.com * Update docs/traditional-media.md Co-authored-by: Rongrong <i@rong.moe> * Update lib/v2/reuters/maintainer.js Co-authored-by: Rongrong <i@rong.moe> * Update lib/v2/reuters/router.js deprecated promotes Co-authored-by: Rongrong <i@rong.moe> * Update docs/en/traditional-media.md deprecated warning Co-authored-by: Rongrong <i@rong.moe> * fix typo afica to africa * Add reuters migration notes * rename reuters routes navigation.js to common.js * rename navigation to common * Update docs/traditional-media.md Co-authored-by: Rongrong <i@rong.moe> * Update docs/traditional-media.md Co-authored-by: Rongrong <i@rong.moe> * Update docs/traditional-media.md Co-authored-by: Rongrong <i@rong.moe> * Update docs/traditional-media.md Co-authored-by: Rongrong <i@rong.moe> * Update docs/traditional-media.md Co-authored-by: Rongrong <i@rong.moe> * Update docs/traditional-media.md Co-authored-by: Rongrong <i@rong.moe> * Update docs/en/traditional-media.md Co-authored-by: Rongrong <i@rong.moe> * Update docs/traditional-media.md Co-authored-by: Rongrong <i@rong.moe> * Update docs/en/traditional-media.md Co-authored-by: Rongrong <i@rong.moe> * Update docs/en/traditional-media.md Co-authored-by: Rongrong <i@rong.moe> * Update docs/traditional-media.md Co-authored-by: Rongrong <i@rong.moe> * Update lib/v2/reuters/router.js Co-authored-by: Rongrong <i@rong.moe> * Update docs/en/traditional-media.md Co-authored-by: Rongrong <i@rong.moe> * Update docs/traditional-media.md Co-authored-by: Rongrong <i@rong.moe> * Update docs/en/traditional-media.md Co-authored-by: Rongrong <i@rong.moe> * Update docs/traditional-media.md Co-authored-by: Rongrong <i@rong.moe> * vscode auto format double qustion mark incorrect * dont know what to prompt * Update lib/v2/reuters/migration_prompt.js prompt deprecated routes Co-authored-by: Rongrong <i@rong.moe> * Update lib/v2/reuters/common.js Co-authored-by: Rongrong <i@rong.moe> * Update lib/v2/reuters/common.js Co-authored-by: Rongrong <i@rong.moe> * Update lib/v2/reuters/maintainer.js Co-authored-by: Rongrong <i@rong.moe> * Update docs/en/traditional-media.md Co-authored-by: Rongrong <i@rong.moe> * Update lib/v2/reuters/radar.js Co-authored-by: Rongrong <i@rong.moe> * Update docs/en/traditional-media.md Co-authored-by: Rongrong <i@rong.moe> * Update docs/en/traditional-media.md Co-authored-by: Rongrong <i@rong.moe> * Update docs/traditional-media.md Co-authored-by: Rongrong <i@rong.moe> * Update docs/traditional-media.md Co-authored-by: Rongrong <i@rong.moe> * Update lib/v2/reuters/common.js Co-authored-by: Rongrong <i@rong.moe> * style: lint Co-authored-by: Rongrong <i@rong.moe>
This commit is contained in:
@@ -259,27 +259,56 @@ Parameters can be obtained from the official website, for instance:
|
||||
|
||||
## Reuters
|
||||
|
||||
### Channel
|
||||
::: warning Migration notes
|
||||
|
||||
<RouteEn author="HenryQW proletarius101" example="/reuters/channel/uk/personalFinance" path="/reuters/channel/:site/:channel" :paramsDesc="['sub-site, see the supported list below','channel, please note it\'s case-sensitive']">
|
||||
1. Reuters Chinese site (`cn.reuters.com`) and British site (`uk.reuters.com`) have been terminated, redirecting to the main site (`www.reuters.com`)
|
||||
2. The old routes are deprecated. Please migrate to the new routes documented below
|
||||
|
||||
Supported sub-sites:
|
||||
:::
|
||||
|
||||
- 中国分站 `cn`:
|
||||
See [路透社中国分站](../traditional-media.html#lu-tou-she)
|
||||
### Category/Topic/Author
|
||||
|
||||
- US site `us`:
|
||||
| Business | Markets | World | Politics | Tech | Breakingviews | Wealth | Life |
|
||||
| -------- | ------- | ----- | -------- | ---------- | ------------- | ------ | --------- |
|
||||
| business | markets | world | politics | technology | breakingviews | wealth | lifestyle |
|
||||
<RouteEn author="HenryQW proletarius101 LyleLee" example="/reuters/world/us" path="/reuters/:category/:topic?" :paramsDesc="['find it in the URL, or tables below', 'find it in the URL, or tables below']">
|
||||
|
||||
- UK site `uk`:
|
||||
| Business | World | UK | Tech | Money | Breakingviews | Life |
|
||||
| -------- | ----- | --- | ---------- | --------------- | ------------- | --------- |
|
||||
| business | world | uk | technology | personalFinance | breakingviews | lifestyle |
|
||||
- `:category`:
|
||||
| World | Business | Legal | Markets | Breakingviews | Technology |
|
||||
| -------- | ------- | ----- | -------- | ------------- | ---------- |
|
||||
| world | business | legal | markets | breakingviews | technology |
|
||||
|
||||
|
||||
- `world/:topic`:
|
||||
|
||||
| All | Africa | Americas | Asia Pacific | China | Europe | India | Middle East | United Kingdom | United States | The Great Reboot | Reuters Next |
|
||||
| ---- | ------- | -------- | ------------ | ----- | ------ | ----- | ----------- | -------------- | ------------- | ---------------- | ------------ |
|
||||
| | africa | americas | asia-pacific | china | europe | india | middle-east | uk | us | the-great-reboot | reuters-next |
|
||||
|
||||
|
||||
- `business/:topic`:
|
||||
|
||||
| All | Aerospace & Defense | Autos & Transportation | Energy | Environment | Finance | Healthcare & Pharmaceuticals | Media & Telecom | Retail & Consumer | Sustainable Business | Charged | Future of Health | Future of Money | Take Five | Reuters Impact |
|
||||
| ---- | ------------------- | ---------------------- | ------ | ----------- | ------- | ---------------------------- | --------------- | ----------------- | -------------------- | ------- | ---------------- | --------------- | --------- | -------------- |
|
||||
| | aerospace-defense | autos-transportation | energy | environment | finance | healthcare-pharmaceuticals | media-telecom | retail-consumer | sustainable-business | charged | future-of-health | futrue-of-money | take-five | reuters-impact |
|
||||
|
||||
- `legal/:topic`:
|
||||
|
||||
| All | Goverment | Legal Industry | Litigation | Transaction |
|
||||
| --- | --------- | -------------- | ---------- | ----------- |
|
||||
| | goverment | legalindustry | litigation | transaction |
|
||||
|
||||
- `authors/:topic`:
|
||||
|
||||
| Default | Jonathan Landay | any other authors |
|
||||
| ------- | --------------- | ----------------- |
|
||||
| reuters | jonathan-landay | their name in URL |
|
||||
|
||||
More could be found in the URL of the category/topic page.
|
||||
|
||||
</RouteEn>
|
||||
|
||||
### Inverstigates
|
||||
|
||||
<RouteEn author="LyleLee" example="/reuters/inverstigates" path="/reuters/inverstigates" />
|
||||
|
||||
## RTHK
|
||||
|
||||
### News
|
||||
|
||||
+34
-28
@@ -1153,51 +1153,57 @@ category 对应的关键词有
|
||||
|
||||
## 路透社
|
||||
|
||||
### 实时资讯
|
||||
::: warning 迁移说明
|
||||
|
||||
<Route author="black-desk" example="/reuters/theWire" path="/reuters/theWire" />
|
||||
1. 路透社中文网站 (`cn.reuters.com`) 和英国网站 (`uk.reuters.com`) 已经关闭,并重定向至主站 (`www.reuters.com`)
|
||||
2. 旧路由已被废弃,请迁移至下面列出的新路由
|
||||
|
||||
### 频道
|
||||
:::
|
||||
|
||||
<Route author="HenryQW proletarius101" example="/reuters/channel/cn/analyses" path="/reuters/channel/:site/:channel" :paramsDesc="['语言,支持的分站列表如下','频道名,请注意大小写需与如下表格中一致。']">
|
||||
### 分类 / 话题 / 作者
|
||||
|
||||
支持语言列表
|
||||
<Route author="HenryQW proletarius101 LyleLee" example="/reuters/world/us" path="/reuters/:category/:topic?" :paramsDesc="['可在 URL 中找到,或参考下面的表格', '可在 URL 中找到,或参考下面的表格']">
|
||||
|
||||
- 中国分站 `cn`:
|
||||
- `:category`:
|
||||
| World | Business | Legal | Markets | Breakingviews | Technology |
|
||||
| -------- | ------- | ----- | -------- | ------------- | ---------- |
|
||||
| world | business | legal | markets | breakingviews | technology |
|
||||
|
||||
- 主频道:
|
||||
|
||||
| 深度分析 | 时事要闻 | 生活 | 投资 |
|
||||
| -------- | ----------- | ---- | --------- |
|
||||
| analyses | generalnews | life | investing |
|
||||
- `world/:topic`:
|
||||
|
||||
- 资讯子频道:
|
||||
| All | Africa | Americas | Asia Pacific | China | Europe | India | Middle East | United Kingdom | United States | The Great Reboot | Reuters Next |
|
||||
| ---- | ------- | -------- | ------------ | ----- | ------ | ----- | ----------- | -------------- | ------------- | ---------------- | ------------ |
|
||||
| | africa | americas | asia-pacific | china | europe | india | middle-east | uk | us | the-great-reboot | reuters-next |
|
||||
|
||||
| 中国财经 | 国际财经 | 新闻人物 | 财经视点 |
|
||||
| ----- | --------------------- | --------- | -------- |
|
||||
| china | internationalbusiness | newsmaker | opinions |
|
||||
|
||||
- 专栏子频道:
|
||||
- `business/:topic`:
|
||||
|
||||
| 中国财经专栏 | 国际财经专栏 | 大宗商品专栏 |
|
||||
| -------- | --------- | --------- |
|
||||
| CnColumn | IntColumn | ComColumn |
|
||||
| All | Aerospace & Defense | Autos & Transportation | Energy | Environment | Finance | Healthcare & Pharmaceuticals | Media & Telecom | Retail & Consumer | Sustainable Business | Charged | Future of Health | Future of Money | Take Five | Reuters Impact |
|
||||
| ---- | ------------------- | ---------------------- | ------ | ----------- | ------- | ---------------------------- | --------------- | ----------------- | -------------------- | ------- | ---------------- | --------------- | --------- | -------------- |
|
||||
| | aerospace-defense | autos-transportation | energy | environment | finance | healthcare-pharmaceuticals | media-telecom | retail-consumer | sustainable-business | charged | future-of-health | futrue-of-money | take-five | reuters-impact |
|
||||
|
||||
- 美国分站 `us`:
|
||||
- `legal/:topic`:
|
||||
|
||||
- 主频道:
|
||||
| All | Goverment | Legal Industry | Litigation | Transaction |
|
||||
| --- | --------- | -------------- | ---------- | ----------- |
|
||||
| | goverment | legalindustry | litigation | transaction |
|
||||
|
||||
| Business | Markets | World | Politics | Tech | Breakingviews | Wealth | Life |
|
||||
| -------- | ------- | ----- | -------- | ---------- | ------------- | ------ | --------- |
|
||||
| business | markets | world | politics | technology | breakingviews | wealth | lifestyle |
|
||||
|
||||
- 英国分站 `uk`:
|
||||
|
||||
- 主频道:
|
||||
- `authors/:topic`:
|
||||
|
||||
| Business | Markets | World | UK | Tech | Money | Breakingviews | Sport | Life |
|
||||
| -------- | ------- | ----- | -- | ---------- | --------------- | ------------- | ------ | --------- |
|
||||
| business | markets | world | uk | technology | personalFinance | breakingviews | sports | lifestyle |
|
||||
| 默认 | Jonathan Landay | 其他作者 |
|
||||
| ------- | --------------- | ----------------- |
|
||||
| reuters | jonathan-landay | 作者名,可在 URL 中找到 |
|
||||
|
||||
可在分类 / 话题页的 URL 中找到更多。
|
||||
|
||||
</Route>
|
||||
|
||||
### 深度调查栏目
|
||||
|
||||
<Route author="LyleLee" example="/reuters/inverstigates" path="/reuters/inverstigates" />
|
||||
|
||||
</Route>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user