app: use JSON Feed as json format (#179)

This commit is contained in:
Liu
2018-05-22 23:18:35 +08:00
committed by DIYgod
parent 88b58a0b80
commit 0e258bf14d
3 changed files with 34 additions and 7 deletions
+2 -2
View File
@@ -31,14 +31,14 @@ RSSHub 是一个轻量、易于扩展的 RSS 生成器,可以给任何奇奇
### 输出格式
RSSHub 同时支持 RSS 2.0、Atom 和 json 输出格式,在路由末尾添加 `.rss` `.atom` 或 `.json` 即可请求对应输出格式,缺省为 RSS 2.0
RSSHub 同时支持 RSS 2.0、Atom 和 [JSON Feed](https://jsonfeed.org/) 输出格式,在路由末尾添加 `.rss` `.atom` 或 `.json` 即可请求对应输出格式,缺省为 RSS 2.0
举例:
* 缺省 RSS 2.0 - [https://rsshub.app/jianshu/home](https://rsshub.app/jianshu/home)
* RSS 2.0 - [https://rsshub.app/jianshu/home.rss](https://rsshub.app/jianshu/home.rss)
* Atom - [https://rsshub.app/jianshu/home.atom](https://rsshub.app/jianshu/home.atom)
* json - [https://rsshub.app/jianshu/home.json](https://rsshub.app/jianshu/home.json)
* JSON Feed - [https://rsshub.app/jianshu/home.json](https://rsshub.app/jianshu/home.json)
* 和 filter 或其他 URL query 一起使用 [https://rsshub.app/bilibili/user/coin/2267573.atom?filter=微小微|赤九玖|暴走大事件](https://rsshub.app/bilibili/user/coin/2267573.atom?filter=微小微|赤九玖|暴走大事件)
## RSSHub