docs: add radar description

This commit is contained in:
DIYgod 2023-12-02 03:04:09 +08:00
parent a975237f76
commit b4f91e285c
No known key found for this signature in database
3 changed files with 38 additions and 1 deletions

View File

@ -73,3 +73,23 @@ A short example for disabling caching can be written as:
CACHE_TYPE: null,
}
```
## Radar
In addition to the two functions of generating RSS and obtaining data, RSSHub also provides a Radar function, which is used to map website addresses to RSSHub addresses.
### Configuration file
Radar has two types of configuration files, one is a full-featured [js file](https://github.com/DIYgod/RSSHub/blob/gh-pages/build/radar-rules.js), and the other is a simplified [json file]((https://github.com/DIYgod/RSSHub/blob/gh-pages/build/radar-rules.json)).
### Usage
You need to use supported browser extensions, mobile apps, RSS readers, or other tools to use the Radar feature. Please refer to the documentation of the corresponding tool for specific usage instructions.
- Browser extension: [RSSHub Radar](https://github.com/DIYgod/RSSHub-Radar)
- iOS app: [RSSBud](https://github.com/Cay-Zhang/RSSBud)
- Android app: [RSSAid](https://github.com/LeetaoGoooo/RSSAid)
- RSS Reader: Coming soon

View File

@ -71,3 +71,20 @@ RSSHub.request('/bilibili/bangumi/media/9192')
CACHE_TYPE: null,
}
```
## Radar
除了生成 RSS 和获取数据两个功能之外RSSHub 还提供了一个 Radar 功能,用于将网站地址映射到 RSSHub 地址
### 配置文件
Radar 有两种配置文件,一种是全功能的 [js 文件](https://github.com/DIYgod/RSSHub/blob/gh-pages/build/radar-rules.js),一种是简化的 [json 文件](https://github.com/DIYgod/RSSHub/blob/gh-pages/build/radar-rules.json)
### 使用
你需要借助支持此功能的浏览器插件、手机应用、RSS 阅读器等工具来使用 Radar 功能,具体使用方法请参考对应工具的文档
- 浏览器插件: [RSSHub Radar](https://github.com/DIYgod/RSSHub-Radar)
- iOS 应用: [RSSBud](https://github.com/Cay-Zhang/RSSBud)
- Android 应用: [RSSAid](https://github.com/LeetaoGoooo/RSSAid)
- RSS 阅读器: Coming soon

View File

@ -58,7 +58,7 @@ export default function Route({
</Link>
)}
{radar && (
<Link to="https://github.com/DIYgod/RSSHub-Radar">
<Link to="/usage#radar">
<Badge type="tip"><Translate id="badge.radar" /></Badge>
</Link>
)}