Files
RSSHub/lib/routes/zzu/namespace.ts
T
后稷 417b943241 feat(route): add ZZU (Zhengzhou University) routes (#20941)
* feat(route): add ZZU (Zhengzhou University) routes

Add routes for Zhengzhou University departments:
- news: 新闻网 (要闻速递、教学科研、基层动态、媒体郑大)
- tzhb: 党委统战部 (工作动态、通知公告)
- dzb: 党政办 (新闻资讯、通知公告)
- dwzzb: 党委组织部 (党建工作、干部工作、人才工作、乡村振兴工作)
- xuan: 党委宣传部 (工作动态、通知公告)
- rsc: 人事部 (人事要闻、通知公告、招聘公告)
- jwc: 教务部 (新闻快递、通知公告)
- student: 学生处 (新闻资讯、通知公告)
- kjc: 科研院 (新闻资讯、通知公告)
- ss: 社科院 (新闻资讯、通知公告)
- zcycwb: 资产与财务部 (新闻资讯、通知公告)
- gs: 研究生院 (新闻资讯、通知公告)
- xbx: 校长办 (新闻资讯、通知公告)

* refactor(routes): replace puppeteer with API in dwzzb and fix code style issues

- refactor(dwzzb): use /mp/portal/article/list API endpoint instead of puppeteer
- refactor(all zzu routes): rename type_dict to typeDict (camelCase)
- refactor(dzb, tzhb): remove useless mapping operations
- fix: update maintainers from 'misty' to 'amandus1990'

* refactor(routes/zzu): optimize code style and fix date format

- refactor(student): convert date format from 'yyyy年mm月dd日' to RFC 2822
- fix(tzhb): correct radar URL (hhttps -> https)
- refactor: simplify typeDict formatting across all routes
- refactor: adjust slice limits for better pagination (20 -> 10/15)
- refactor(gs, jwc): simplify title extraction and date cleaning

* fix(routes/zzu): fix date parsing and radar source URLs

- fix(ss): handle different date formats for xwzx (MM-DD) and tzgg (yyyy-mm-dd)
- fix(student): parse Chinese date format (yyyy年mm月dd日) using regex instead of Date constructor
- refactor(all zzu routes): remove protocol from radar[].source URLs
- radar rules can only match URL pathname, not protocol or query strings
2026-01-24 07:53:17 +08:00

8 lines
156 B
TypeScript

import type { Namespace } from '@/types';
export const namespace: Namespace = {
name: '郑州大学',
url: 'www.zzu.edu.cn',
lang: 'zh-CN',
};