* feat(route): add Wikipedia current events Add RSS feed for Wikipedia Portal:Current events providing the past 7 days of current events. Parses MediaWiki templates and converts wiki markup to HTML. - Hierarchical bullet point structures with nested <ul>/<li> tags - Proper paragraph breaks between sections - Correct nesting depth for multi-level lists - Clean separation of content sections 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * refactor(route/wikipedia): break down complex wikiToHtml function - Split 123-line wikiToHtml function into 6 smaller, focused methods - Each function now has a single responsibility (links, formatting, lists, etc.) - Improved code readability and maintainability - End-to-end tested: route produces identical RSS output with proper HTML formatting 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * fix(route/wikipedia): use config.trueUA instead of hardcoded User-Agent Replace hardcoded User-Agent string with config.trueUA to follow project conventions for HTTP requests. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * fix(route/wikipedia): use config.cache.contentExpire for cache duration Replace hardcoded 6-hour cache duration with configurable contentExpire setting to follow project caching conventions. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * feat(route/wikipedia): implement efficient current events RSS with single API request - Switch from web scraping to MediaWiki API for better reliability - Implement single batch API request with continuation support for multiple pages - Add current-day inclusion parameter with time-based logic (auto/always/never/hour) - Add proper error handling and ESLint compliance 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * refactor(route/wikipedia): consolidate list processing and add API documentation - Move wrapListItems and processNestedLists calls inside (renamed) processListsAndLines to eliminate non-obvious coupling - Remove newlines from processNestedLists output for more compact HTML - Add documentation about Wikipedia API endpoints and query options --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .devcontainer | ||
| .github | ||
| .husky | ||
| .idx | ||
| assets | ||
| lib | ||
| logs | ||
| patches | ||
| plugins | ||
| scripts | ||
| .codecov.yml | ||
| .dockerignore | ||
| .editorconfig | ||
| .gitignore | ||
| .gitpod.yml | ||
| .npmrc | ||
| .prettierignore | ||
| .prettierrc | ||
| .puppeteerrc.cjs | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| Dockerfile | ||
| LICENSE | ||
| README.md | ||
| SECURITY.md | ||
| app.json | ||
| babel.config.js | ||
| docker-compose.yml | ||
| eslint.config.mjs | ||
| fly.toml | ||
| package.json | ||
| pnpm-lock.yaml | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| tsdown-vercel.config.ts | ||
| tsdown.config.ts | ||
| vitest.config.ts | ||
README.md
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


