Files
RSSHub/lib/v2/mrdx/router.js
T
Dustin Jiang a69dfacf2d feat(route): add xinhua-daily-telegraph (#11487)
* feat(route): add xinhua-daily-telegraph

Add xinhua-daily telegraph route and doc mentioned in issue #11390.

* feat(route): add radar for xinhua-daily-telegraph

Add required radar config file.

* feat(router): change router name and cache method

Change router name from `xinhua-daily-telegraph` to `mrdx`.
Fix cache method to avoid processing at each request.

* feat(route): fix wrong date and improper cache method

Fix wrong `pubDate` by using `parseDate` in `utils/parse-date`.
Fix improper cache method. Now it caches proceeded RSS results.

* feat(radar): update source wildcard in lib/v2/mrdx/radar.js

* fix(router): use unique article link as guid

Use specific article link as guid.
Use specific article link for every article instead of the homepage.
2022-12-25 21:50:07 +08:00

4 lines
80 B
JavaScript

module.exports = (router) => {
router.get('/today', require('./daily'));
};