Skip to content

Conversation

@rbren
Copy link
Owner

@rbren rbren commented Jan 21, 2026

Summary

This PR adds the subtitle field to both fields.feed and fields.item arrays in lib/fields.js.

Changes

  • Added 'subtitle' to fields.feed (after 'title')
  • Added 'subtitle' to fields.item (after 'title')

Motivation

The subtitle field is a common RSS element that was missing from the standard field lists. Note that podcast-specific fields (podcastFeed and podcastItem) already had subtitle support via the iTunes namespace (itunes:subtitle), but standard RSS feeds also support subtitle elements.

@rbren can click here to continue refining the PR

Co-authored-by: openhands <openhands@all-hands.dev>
@rbren
Copy link
Owner Author

rbren commented Jan 21, 2026

@OpenHands please add an inline comment describing your changes here

@openhands-ai
Copy link

openhands-ai bot commented Jan 21, 2026

I'm on it! rbren can track my progress at all-hands.dev

Added comments to clarify that the subtitle fields in fields.feed and
fields.item support standard RSS/Atom subtitle elements, which are
distinct from the itunes:subtitle fields in podcastFeed and podcastItem.
@openhands-ai
Copy link

openhands-ai bot commented Jan 21, 2026

Summary

I've added inline comments to the lib/fields.js file as requested by @rbren on PR #297.

Changes Made

  • Added an inline comment to the subtitle field in fields.feed:
    'subtitle', // Added to support standard RSS/Atom subtitle elements (distinct from itunes:subtitle in podcastFeed)
  • Added an inline comment to the subtitle field in fields.item:
    'subtitle', // Added to support standard RSS/Atom subtitle elements (distinct from itunes:subtitle in podcastItem)

Checklist

  • ✅ Request addressed: Added inline comments describing the changes
  • ✅ Comments explain the purpose of the subtitle additions
  • ✅ Comments clarify the distinction from the existing itunes:subtitle fields in podcastFeed and podcastItem
  • ✅ Changes are concise (only added comments, no extraneous modifications)
  • ✅ Changes pushed to the add-subtitle-field branch

The PR has been updated with the new commit.

View full conversation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants