380874aca8abfff9b1aad2cb77b50ecccbc77be5
* fix: improve date parsing error handling in gdufs xwxy-news route - Add null check before calling parseDate to prevent errors when dateText is empty - Return undefined instead of calling toUTCString() on potentially invalid date * feat(gdufs/xwxy): add News Center feed with categories and Radar - Add route /gdufs/xwxy/:category? (news|notices|announcements|media) - Parse lists with fallbacks; absolute URLs for img/a; extract content across multiple templates; derive authors from meta; recover pubDate from meta if missing - Respect ?limit (default 10) before detail fetch; use cache.tryGet for item pages - Relax link filtering to include internal assets and resolved relative URLs; handle external links without fetching - Normalize route url to xwxy.gdufs.edu.cn; simplify Radar sources * fix: add data: and vbscript: protocol checks for security * refactor(gdufs/xwxy): simplify selector logic using precise li[id^='line_u14_'] a - Replace complex multi-level fallback selector logic (13 lines) with single precise selector - Remove unnecessary filtering logic for href validation and domain checking - Improve performance by eliminating multiple DOM queries - Maintain same functionality while reducing code from 35 lines to 1 line - Verified working on all category pages: news, notices, media focus * fix: use h5 instead of p for title extraction * refactor: remove excessive try-catch wrapper * fix: remove descriptive text for external links * refactor: simplify content selector to use .v_news_content only * fix: use comma separator for multiple authors * refactor(gdufs/xwxy): dedupe date regex into handler-scope constant; remove unnecessary escape
RSSHub
🧡 Everything is RSSible
Introduction
RSSHub is the world's largest RSS network, consisting of over 5,000 global instances.
RSSHub delivers millions of contents aggregated from all kinds of sources, our vibrant open source community is ensuring the deliver of RSSHub's new routes, new features and bug fixes.
Documentation | Telegram Group | Telegram Channel | X (Twitter)
Related Projects
- RSSHub Radar | A browser extension that can help you quickly discover and subscribe to the RSS and RSSHub of current websites.
- RSSBud | RSSHub Radar for iOS platform, designed specifically for mobile ecosystem optimization.
- RSSAid | RSSHub Radar for Android platform built with Flutter.
- DocSearch | Link RSSHub DocSearch into Raycast
Contribute
We welcome all pull requests. Suggestions and feedback are also welcomed here.
Refer to Quick Start
Deployment
Refer to Deployment
Special Thanks
Author
RSSHub © DIYgod, Released under the MIT License.
Authored and maintained by DIYgod with help from contributors (list).
Blog @DIYgod · GitHub @DIYgod · X (Twitter) @DIYgod · Telegram Channel @awesomeDIYgod
Languages
TypeScript
92.4%
JavaScript
7.4%



