docs: opencc

This commit is contained in:
DIYgod 2020-09-25 01:37:06 +08:00
parent 752ee212a9
commit 52398423e9
No known key found for this signature in database
GPG Key ID: D159328F47A80DCA
2 changed files with 13 additions and 1 deletions

View File

@ -74,7 +74,13 @@ Output Sci-hub link in scientific journal routes, this supports major journals o
- scihub: set to any value
举例: <https://rsshub.app/pnas/latest?scihub=1>
Eg: <https://rsshub.app/pnas/latest?scihub=1>
## Conversion between Traditional and Simplified Chinese
- opencc: s2t (Simplified Chinese to Traditional Chinese)、t2s (Traditional Chinese to Simplified Chinese), other optional values refer to [OpenCC - Configurations](https://github.com/BYVoid/OpenCC#configurations-%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6)
Eg: <https://rsshub.app/dcard/posts/popular?opencc=t2s>
## Output Formats

View File

@ -77,6 +77,12 @@ Telegram 即时预览模式需要在官网制作页面处理模板,请前往[
举例: <https://rsshub.app/pnas/latest?scihub=1>
## 中文简繁体转换
- opencc: s2t 简体转繁体、t2s 繁体转简体,其它可选值见 [OpenCC - Configurations](https://github.com/BYVoid/OpenCC#configurations-%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6)
举例: <https://rsshub.app/dcard/posts/popular?opencc=t2s>
## 输出格式
RSSHub 同时支持 RSS 2.0 和 Atom 输出格式,在路由末尾添加 `.rss``.atom` 即可请求对应输出格式,缺省为 RSS 2.0