diff --git a/build/maintainers.json b/build/maintainers.json index 40acbe6db7..fec1168d75 100644 --- a/build/maintainers.json +++ b/build/maintainers.json @@ -8429,6 +8429,12 @@ "/swpu/scs/:code": [ "CYTMWIA" ], + "/sxhm/announcement": [ + "magazian" + ], + "/sxhm/temporary": [ + "magazian" + ], "/sycl/:feed?": [ "mocusez" ], diff --git a/build/radar-rules.js b/build/radar-rules.js index 9401fa8d1f..15550d7b6c 100644 --- a/build/radar-rules.js +++ b/build/radar-rules.js @@ -20819,6 +20819,15 @@ docs:"https://docs.rsshub.app/routes/university", source:[ "/" ], target:"/swpu/scs/:code" } ] }, + "sxhm.com":{ _name:"Shaanxi History Museum", + www:[ { title:"Announcements", + docs:"https://docs.rsshub.app/routes/travel", + source:[ "/info/announcement.html" ], + target:"/sxhm/announcement" }, + { title:"Special Exhibition", + docs:"https://docs.rsshub.app/routes/travel", + source:[ "/Temporary.html" ], + target:"/sxhm/temporary" } ] }, "syosetu.com":{ _name:"Syosetu", noc:[ { title:"R18 Rankings", docs:"https://docs.rsshub.app/routes/reading", diff --git a/build/radar-rules.json b/build/radar-rules.json index 52ff0a0a88..d350534a73 100644 --- a/build/radar-rules.json +++ b/build/radar-rules.json @@ -45026,6 +45026,27 @@ } ] }, + "sxhm.com": { + "_name": "Shaanxi History Museum", + "www": [ + { + "title": "Announcements", + "docs": "https://docs.rsshub.app/routes/travel", + "source": [ + "/info/announcement.html" + ], + "target": "/sxhm/announcement" + }, + { + "title": "Special Exhibition", + "docs": "https://docs.rsshub.app/routes/travel", + "source": [ + "/Temporary.html" + ], + "target": "/sxhm/temporary" + } + ] + }, "syosetu.com": { "_name": "Syosetu", "noc": [ diff --git a/build/route-paths.ts b/build/route-paths.ts index b03e11d966..13ab61c923 100644 --- a/build/route-paths.ts +++ b/build/route-paths.ts @@ -2724,6 +2724,8 @@ export type RoutePath = | `/swpu/dxy/:code` | `/swpu/is/:code` | `/swpu/scs/:code` + | `/sxhm/announcement` + | `/sxhm/temporary` | `/sycl/:feed?` | `/syosetu/:ncode` | `/syosetu/dev` diff --git a/build/routes.js b/build/routes.js index f545071cad..5edfaf4ab3 100644 --- a/build/routes.js +++ b/build/routes.js @@ -118513,6 +118513,60 @@ export default { "url": "swpu.edu.cn", "lang": "zh-CN" }, + "sxhm": { + "routes": { + "/announcement": { + "path": "/announcement", + "categories": [ + "travel" + ], + "example": "/sxhm/announcement", + "parameters": {}, + "name": "Announcements", + "maintainers": [ + "magazian" + ], + "radar": [ + { + "source": [ + "www.sxhm.com/info/announcement.html" + ], + "target": "/announcement" + } + ], + "location": "announcement.ts", + "module": () => import('@/routes/sxhm/announcement.ts') + }, + "/temporary": { + "path": "/temporary", + "categories": [ + "travel" + ], + "example": "/sxhm/temporary", + "parameters": {}, + "name": "Special Exhibition", + "maintainers": [ + "magazian" + ], + "radar": [ + { + "source": [ + "www.sxhm.com/Temporary.html" + ], + "target": "/temporary" + } + ], + "location": "temporary.tsx", + "module": () => import('@/routes/sxhm/temporary.tsx') + } + }, + "apiRoutes": {}, + "name": "Shaanxi History Museum", + "url": "www.sxhm.com/", + "zh": { + "name": "陕西历史博物馆" + } + }, "sycl": { "routes": { "/:feed?": { diff --git a/build/routes.json b/build/routes.json index caa93e4ae5..8fedacaa26 100644 --- a/build/routes.json +++ b/build/routes.json @@ -118513,6 +118513,60 @@ "url": "swpu.edu.cn", "lang": "zh-CN" }, + "sxhm": { + "routes": { + "/announcement": { + "path": "/announcement", + "categories": [ + "travel" + ], + "example": "/sxhm/announcement", + "parameters": {}, + "name": "Announcements", + "maintainers": [ + "magazian" + ], + "radar": [ + { + "source": [ + "www.sxhm.com/info/announcement.html" + ], + "target": "/announcement" + } + ], + "location": "announcement.ts", + "module": "() => import('@/routes/sxhm/announcement.ts')" + }, + "/temporary": { + "path": "/temporary", + "categories": [ + "travel" + ], + "example": "/sxhm/temporary", + "parameters": {}, + "name": "Special Exhibition", + "maintainers": [ + "magazian" + ], + "radar": [ + { + "source": [ + "www.sxhm.com/Temporary.html" + ], + "target": "/temporary" + } + ], + "location": "temporary.tsx", + "module": "() => import('@/routes/sxhm/temporary.tsx')" + } + }, + "apiRoutes": {}, + "name": "Shaanxi History Museum", + "url": "www.sxhm.com/", + "zh": { + "name": "陕西历史博物馆" + } + }, "sycl": { "routes": { "/:feed?": {