Alex ddf62a3269 fix: wikipedia/current-events: content extraction and html output (#20338)
* Fix content extraction and html output

- Content extraction was breaking in case it included a templating
  instruction
- the html output was non-compliant html by having nested <ul>...</ul>
  not belonging to a <li>...</li> element.

* refactor processListsAndLines in smaller functions

* fix date consistency

- title was using a date reconstructed from UTC time which led to
discrepancy between the content date and the title
- pubDate was based off the gmt time at which the process was
run. Instead, if the last possible entry time (23.59.59 gmt-12) is
passed, we use that, if not we use current time. This should reflect
more or less a form of 'publish' date status from this portal.

* ensure empty-ish page doesn't lead to entry creation
2025-10-24 23:34:04 +08:00
2025-09-30 12:30:30 +08:00
2018-04-11 01:48:11 +08:00
2025-04-16 03:59:36 +08:00
2024-03-09 20:30:59 +08:00
2024-01-29 23:28:03 +08:00
2025-06-06 21:38:15 +08:00
2025-04-28 04:40:10 +08:00
2024-03-09 20:30:59 +08:00
2024-03-03 17:36:08 +08:00
2025-08-11 21:39:03 +08:00
2024-03-31 23:33:31 +08:00

RSSHub

RSSHub

🧡 Everything is RSSible

docker publish npm publish test Test coverage Visitors

Telegram group Telegram channel X (Twitter)

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)

  • 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

Logo designer sheldonrrr

              

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

S
Description
DIYgod mirror
Readme
161 MiB
Languages
TypeScript 92.4%
JavaScript 7.4%