Skip to content

Commit

Permalink
feat: add radar rules for AP News (DIYgod#4160)
Browse files Browse the repository at this point in the history
  • Loading branch information
zoenglinghou authored Mar 7, 2020
1 parent d548fae commit 36b8405
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions assets/radar-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -1459,6 +1459,17 @@
},
],
},
'apnews.com': {
_name: 'AP News',
'.': [
{
title: '话题',
docs: 'https://docs.rsshub.app/traditional-media.html#ap-news',
source: '/:topic',
target: '/apnews/topics/:topic',
},
],
},
'csc.edu.cn': {
_name: '国家留学网',
www: [
Expand Down
2 changes: 1 addition & 1 deletion docs/en/traditional-media.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pageClass: routes

### Topics

<Route author="zoenglinghou" example="/apnews/topics/apf-topnews" path="/apnews/topics/:topic" :paramsDesc="['Topic name,can be found in URL. For example: the topic name of AP Top News [https://apnews.com/apf-topnews](https://apnews.com/apf-topnews) is `apf-topnews`']"/>
<Route author="zoenglinghou" example="/apnews/topics/apf-topnews" path="/apnews/topics/:topic" :paramsDesc="['Topic name,can be found in URL. For example: the topic name of AP Top News [https://apnews.com/apf-topnews](https://apnews.com/apf-topnews) is `apf-topnews`']" radar="1"/>

## BBC

Expand Down
2 changes: 1 addition & 1 deletion docs/traditional-media.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pageClass: routes

### 话题

<Route author="zoenglinghou" example="/apnews/topics/apf-topnews" path="/apnews/topics/:topic" :paramsDesc="['话题名称,可在 URL 中找到,例如 AP Top News [https://apnews.com/apf-topnews](https://apnews.com/apf-topnews) 的话题为 `apf-topnews`']"/>
<Route author="zoenglinghou" example="/apnews/topics/apf-topnews" path="/apnews/topics/:topic" :paramsDesc="['话题名称,可在 URL 中找到,例如 AP Top News [https://apnews.com/apf-topnews](https://apnews.com/apf-topnews) 的话题为 `apf-topnews`']" radar="1"/>

## BBC

Expand Down

0 comments on commit 36b8405

Please sign in to comment.