RSSHub/lib/views
Yufan You 12a75059dd
fix(core): make the atom format spec-compliant (#20723)
* fix: remove the src attribute of atom:content

The src attribute is to replace the inner content, not to mark its source.

RFC4287:

> 4.1.3.2.  The "src" Attribute
>
>  atom:content MAY have a "src" attribute, whose value MUST be an IRI
>  reference [RFC3987].  If the "src" attribute is present, atom:content
>  MUST be empty.  Atom Processors MAY use the IRI to retrieve the
>  content and MAY choose to ignore remote content or to present it in a
>  different manner than local content.
>
>  If the "src" attribute is present, the "type" attribute SHOULD be
>  provided and MUST be a MIME media type [MIMEREG], rather than "text",
>  "html", or "xhtml".  The value is advisory; that is to say, when the
>  corresponding URI (mapped from an IRI, if necessary) is dereferenced,
>  if the server providing that content also provides a media type, the
>  server-provided media type is authoritative.

* fix: move <language> to xml:lang

* fix: remove <webMaster> in atom

* fix: use ISO format to display date in atom & always have <updated>

* fix: use ISO date for feed <updated> in atom

* fix: add <link rel=self> for atom
2026-07-08 21:37:45 +08:00
..
atom.tsx fix(core): make the atom format spec-compliant (#20723) 2026-07-08 21:37:45 +08:00
error.tsx docs: update license 2025-12-28 18:39:22 +08:00
index.tsx feat: add promotion 2026-03-17 15:59:10 +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
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
views.test.tsx fix: add summary field in JSON output format (#20778) 2025-12-30 21:57:51 +08:00