Astro Info
Astro v4.0.8
Node v20.10.0
System Windows (x64)
Package Manager pnpm
Output static
Adapter none
Integrations @astrojs/sitemap
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
The RSS specification calls out that the item title is optional if the item description is present:
All elements of an item are optional, however at least one of title or description must be present.
-- https://cyber.harvard.edu/rss/rss.html#hrelementsOfLtitemgt
However the rss() in astro requires an title:
08:49:48 λ src/pages/blog/rss.xml.js
08:49:48 └─ /blog/rss.xml[RSS] Invalid or missing options:
Invalid input (items)
The `items` property requires properly typed `title`, `pubDate`, and `link` keys.
Check your collection's schema, and visit https://docs.astro.build/en/guides/rss/#generating-items for more info.
What's the expected result?
Do not require a title element for RSS items if a description element is present.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-aoal5a?file=src%2Fcontent%2Fblog%2Fpost-only-desc.md
Participation
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
The RSS specification calls out that the item title is optional if the item description is present:
However the
rss()in astro requires an title:What's the expected result?
Do not require a
titleelement for RSS items if adescriptionelement is present.Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-aoal5a?file=src%2Fcontent%2Fblog%2Fpost-only-desc.md
Participation