mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-01 14:57:14 +08:00
docs: fix ftchinese
This commit is contained in:
@@ -4,7 +4,7 @@ import utils from './utils';
|
||||
export const route: Route = {
|
||||
path: '/:language/:channel?',
|
||||
categories: ['traditional-media'],
|
||||
example: '/ft/simplified/hotstoryby7day',
|
||||
example: '/ftchinese/simplified/hotstoryby7day',
|
||||
parameters: { language: '语言,简体 `simplified`,繁体 `traditional`', channel: '频道,缺省为每日更新' },
|
||||
features: {
|
||||
requireConfig: false,
|
||||
@@ -25,8 +25,8 @@ export const route: Route = {
|
||||
|
||||
支持所有频道,频道名称见 [官方频道 RSS](http://www.ftchinese.com/channel/rss.html).
|
||||
|
||||
- 频道为单一路径,如 \`http://www.ftchinese.com/rss/news\` 则为 \`/ft/simplified/news\`.
|
||||
- 频道包含多重路径,如 \`http://www.ftchinese.com/rss/column/007000002\` 则替换 \`/\` 为 \`-\` \`/ft/simplified/column-007000002\`.`,
|
||||
- 频道为单一路径,如 \`http://www.ftchinese.com/rss/news\` 则为 \`/ftchinese/simplified/news\`.
|
||||
- 频道包含多重路径,如 \`http://www.ftchinese.com/rss/column/007000002\` 则替换 \`/\` 为 \`-\` \`/ftchinese/simplified/column-007000002\`.`,
|
||||
};
|
||||
|
||||
async function handler(ctx) {
|
||||
|
||||
Reference in New Issue
Block a user