RSSHub/lib
Luke D Williams 482ad1cb80
feat(route/locals): add content feed (#21542)
* feat(route/locals): add authenticated feed route

Add a Locals route with auth_token-based feed fetching, classic-to-beta URL fallback, and support for community, home, content, and content_plus feed views. Parse feed pages into RSS items using shared post selectors while surfacing clear errors when access is unavailable.

* feat(route/locals): add content feed

Add a Locals content route that uses the authenticated session-backed server functions instead of brittle page scraping. Support tier filters and media-type filters so paid and content-library posts can be subscribed to reliably.

* fix(route/locals): include content thumbnails

Use Locals preview and audio image fields so content and podcast entries expose thumbnails consistently. Render the image into item descriptions and standard image fields for better feed reader compatibility.

* fix(route/locals): include regular content posts

Keep Locals content feeds from dropping regular text and photo posts that arrive as no_content entries with real body content. Preserve image handling while leaving plus feeds unchanged when the source only returns five content-plus items.

* fix(route/locals): prefer content poster images

Prefer Locals poster-style preview images over raw first-frame captures when both are available. Keep the raw frame fallback for posts where the API does not expose a styled poster image.

* fix(route/locals): resolve runtime action ids

Derive the Locals feed action id from the current runtime assets instead of hardcoding build-specific server function ids. Tighten option validation with own-key checks and align the radar source with supported matching rules.

* fix(config): sort locals session settings

Move the Locals session env key and config blocks into alphabetical order so the route-specific configuration matches the repository's config layout rules.

* fix(config): reorder locals session settings

* fix(route/locals): simplify route and request handling

* fix(config): restore locals config ordering

* fix(config): sort security key entry

* fix(route/locals): adjust message clarity of path parameter necessity
2026-03-30 05:44:45 +08:00
..
api feat(api): add cache probing (#21300) 2026-03-05 02:36:53 +08:00
assets
errors chore(deps-dev): bump msw from 2.4.3 to 2.12.14 (#21483) 2026-03-25 02:31:42 +08:00
middleware style: update oxlint to use simple-import-sort 2026-03-04 03:13:57 +08:00
routes feat(route/locals): add content feed (#21542) 2026-03-30 05:44:45 +08:00
routes-deprecated
shims style: migrate eslint to oxlint (#21224) 2026-02-28 21:23:11 +08:00
utils fix(ua): ensure header-generator and custom ua are effective with each other (#21546) 2026-03-29 22:47:56 +08:00
views feat: add promotion 2026-03-17 15:59:10 +08:00
app-bootstrap.test.tsx
app-bootstrap.tsx
app.test.ts fix(ua): ensure header-generator and custom ua are effective with each other (#21546) 2026-03-29 22:47:56 +08:00
app.ts chore: unpin jsdom (#21505) 2026-03-25 23:16:40 +08:00
app.worker.tsx chore: replace postlight/parser with jocmp/mercury-parser (#21152) 2026-02-15 01:27:25 +08:00
config.remote-error.test.ts
config.test.ts fix(ua): ensure header-generator and custom ua are effective with each other (#21546) 2026-03-29 22:47:56 +08:00
config.ts feat(route/locals): add content feed (#21542) 2026-03-30 05:44:45 +08:00
container.ts
entrypoints.test.ts
index.test.ts
index.ts
pkg.test.ts
pkg.ts
registry.dynamic.test.ts feat: esm directory import (#21428) 2026-03-18 15:15:28 +08:00
registry.test.ts
registry.ts feat: esm directory import (#21428) 2026-03-18 15:15:28 +08:00
route-paths.d.ts
router.js
routes.test.ts
server.ts
setup.test.ts chore(deps-dev): bump msw from 2.4.3 to 2.12.14 (#21483) 2026-03-25 02:31:42 +08:00
types.ts
worker.ts
worker.worker.test.ts