RSSHub/lib/views
Yufan You fb07a7f2e5
fix: add summary field in JSON output format (#20778)
* fix: add summary field in JSON output format

This fixes that the summary/description was not included in the feed.

As a side-note, we cannot remove the content_html field even if only the
summary/description is present.

> content_html and content_text are each optional strings — but one or
> both must be present.

* test: add JSON view tests

---------
2025-12-30 21:57:51 +08:00
..
atom.tsx style: auto format 2025-11-27 02:55:46 +00:00
error.tsx docs: update license 2025-12-28 18:39:22 +08:00
index.tsx docs: update license 2025-12-28 18:39:22 +08:00
json.ts fix: add summary field in JSON output format (#20778) 2025-12-30 21:57:51 +08:00
layout.tsx
rss.tsx style: auto format 2025-11-27 02:55:46 +00:00
rss3.test.ts feat(tests): add comprehensive unit tests for various utility functions and views (#20779) 2025-12-29 17:34:48 +08:00
rss3.ts feat(api/rss3): change platform to RSSHub 2024-11-28 17:13:56 +08:00
views.test.tsx fix: add summary field in JSON output format (#20778) 2025-12-30 21:57:51 +08:00