diff --git a/build/maintainers.json b/build/maintainers.json index 336ef1a90d..87f545ed7d 100644 --- a/build/maintainers.json +++ b/build/maintainers.json @@ -2601,6 +2601,12 @@ "/canada.ca/news/:lang/:department?": [ "elibroftw" ], + "/capitalmuseum/exhibition/:type?": [ + "magazian" + ], + "/capitalmuseum/news/:type?": [ + "magazian" + ], "/cartoonmad/comic/:id": [ "KellyHwong" ], diff --git a/build/radar-rules.js b/build/radar-rules.js index f6133147de..be4e6c722f 100644 --- a/build/radar-rules.js +++ b/build/radar-rules.js @@ -6381,6 +6381,15 @@ source:[ "/site/ised/:lang", "/site/isde/:lang" ], target:"/canada.ca/news/:lang/departmentofindustry" } ] }, + "capitalmuseum.org.cn":{ _name:"Capital Museum", + www:[ { title:"Exhibitions", + docs:"https://docs.rsshub.app/routes/travel", + source:[ "/exhibition" ], + target:"/capitalmuseum/exhibition" }, + { title:"News", + docs:"https://docs.rsshub.app/routes/travel", + source:[ "/news" ], + target:"/capitalmuseum/news" } ] }, "cartoonmad.com":{ _name:"動漫狂", ".":[ { title:"漫画更新", docs:"https://docs.rsshub.app/routes/anime", diff --git a/build/radar-rules.json b/build/radar-rules.json index edbbfb18cd..f0233d0f01 100644 --- a/build/radar-rules.json +++ b/build/radar-rules.json @@ -13868,6 +13868,27 @@ } ] }, + "capitalmuseum.org.cn": { + "_name": "Capital Museum", + "www": [ + { + "title": "Exhibitions", + "docs": "https://docs.rsshub.app/routes/travel", + "source": [ + "/exhibition" + ], + "target": "/capitalmuseum/exhibition" + }, + { + "title": "News", + "docs": "https://docs.rsshub.app/routes/travel", + "source": [ + "/news" + ], + "target": "/capitalmuseum/news" + } + ] + }, "cartoonmad.com": { "_name": "動漫狂", ".": [ diff --git a/build/route-paths.ts b/build/route-paths.ts index cb2c351f32..e0a6327334 100644 --- a/build/route-paths.ts +++ b/build/route-paths.ts @@ -456,6 +456,8 @@ export type RoutePath = | `/cankaoxiaoxi/column/:id?` | `/capitalmind/insights` | `/capitalmind/podcasts` + | `/capitalmuseum/exhibition/:type?` + | `/capitalmuseum/news/:type?` | `/cara/likes/:user` | `/cara/portfolio/:user` | `/cara/timeline/:user` diff --git a/build/routes.js b/build/routes.js index f4a9d833f9..de03d5d8ab 100644 --- a/build/routes.js +++ b/build/routes.js @@ -38663,6 +38663,64 @@ export default { "description": "Government of Canada news by department", "lang": "en" }, + "capitalmuseum": { + "routes": { + "/exhibition/:type?": { + "path": "/exhibition/:type?", + "categories": [ + "travel" + ], + "example": "/capitalmuseum/exhibition", + "parameters": { + "type": "Exhibition type, supported values: new(最新展览), review(展览回顾), default: All exhibitions." + }, + "name": "Exhibitions", + "maintainers": [ + "magazian" + ], + "radar": [ + { + "source": [ + "www.capitalmuseum.org.cn/exhibition" + ], + "target": "/exhibition" + } + ], + "location": "exhibition.tsx", + "module": () => import('@/routes/capitalmuseum/exhibition.tsx') + }, + "/news/:type?": { + "path": "/news/:type?", + "categories": [ + "travel" + ], + "example": "/capitalmuseum/news/notice", + "parameters": { + "type": "News type, supported values: news(新闻资讯), notice(通知公告). Default: All news." + }, + "name": "News", + "maintainers": [ + "magazian" + ], + "radar": [ + { + "source": [ + "www.capitalmuseum.org.cn/news" + ], + "target": "/news" + } + ], + "location": "news.ts", + "module": () => import('@/routes/capitalmuseum/news.ts') + } + }, + "apiRoutes": {}, + "name": "Capital Museum", + "url": "www.capitalmuseum.org.cn/", + "zh": { + "name": "首都博物馆" + } + }, "cartoonmad": { "routes": { "/comic/:id": { diff --git a/build/routes.json b/build/routes.json index 9125497415..11a91b11ad 100644 --- a/build/routes.json +++ b/build/routes.json @@ -38663,6 +38663,64 @@ "description": "Government of Canada news by department", "lang": "en" }, + "capitalmuseum": { + "routes": { + "/exhibition/:type?": { + "path": "/exhibition/:type?", + "categories": [ + "travel" + ], + "example": "/capitalmuseum/exhibition", + "parameters": { + "type": "Exhibition type, supported values: new(最新展览), review(展览回顾), default: All exhibitions." + }, + "name": "Exhibitions", + "maintainers": [ + "magazian" + ], + "radar": [ + { + "source": [ + "www.capitalmuseum.org.cn/exhibition" + ], + "target": "/exhibition" + } + ], + "location": "exhibition.tsx", + "module": "() => import('@/routes/capitalmuseum/exhibition.tsx')" + }, + "/news/:type?": { + "path": "/news/:type?", + "categories": [ + "travel" + ], + "example": "/capitalmuseum/news/notice", + "parameters": { + "type": "News type, supported values: news(新闻资讯), notice(通知公告). Default: All news." + }, + "name": "News", + "maintainers": [ + "magazian" + ], + "radar": [ + { + "source": [ + "www.capitalmuseum.org.cn/news" + ], + "target": "/news" + } + ], + "location": "news.ts", + "module": "() => import('@/routes/capitalmuseum/news.ts')" + } + }, + "apiRoutes": {}, + "name": "Capital Museum", + "url": "www.capitalmuseum.org.cn/", + "zh": { + "name": "首都博物馆" + } + }, "cartoonmad": { "routes": { "/comic/:id": {