Skip to content

Conversation

@rbren
Copy link
Owner

@rbren rbren commented Jan 14, 2026

Summary

This PR adds the subtitle field to the feed fields, allowing the RSS parser to extract and include subtitle information from RSS/Atom feeds.

Changes

  • lib/fields.js: Added 'subtitle' to the fields.feed array
  • index.d.ts: Added subtitle?: string; property to the TypeScript Output<U> interface for proper type support

Testing

All existing tests pass (38 tests). The new field integrates seamlessly with the existing field parsing logic.

@rbren can click here to continue refining the PR

@rbren
Copy link
Owner Author

rbren commented Jan 14, 2026

@OpenHands please add a comment in the code explaining this change

@openhands-ai
Copy link

openhands-ai bot commented Jan 14, 2026

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

@openhands-ai
Copy link

openhands-ai bot commented Jan 14, 2026

I've added comments explaining the subtitle field change and pushed them to the PR branch. Here's a summary of the changes:

Changes Made

Added comment in lib/fields.js (line 12):

// The subtitle field is used in Atom feeds to provide a secondary description or tagline for the feed
'subtitle',

Added JSDoc comment in index.d.ts (line 62):

/** The subtitle field from Atom feeds, providing a secondary description or tagline */
subtitle?: string;

Checklist

  • Comments added to explain the purpose of the subtitle field
  • Comments are concise and informative
  • Changes committed and pushed to the add-subtitle-feed-field branch
  • PR Add subtitle field to feed fields #291 has been updated with the new commit

The comments explain that the subtitle field is used in Atom feeds to provide a secondary description or tagline for the feed, which helps future developers understand the purpose of this addition.

View full conversation

- Add 'subtitle' to fields.feed array in lib/fields.js
- Add subtitle property to TypeScript Output interface in index.d.ts

Co-authored-by: openhands <[email protected]>
@rbren rbren force-pushed the add-subtitle-feed-field branch from fc6200d to 596ea26 Compare January 14, 2026 20:45
@rbren
Copy link
Owner Author

rbren commented Jan 14, 2026

@OpenHands add more tests for the new logic

@openhands-ai
Copy link

openhands-ai bot commented Jan 14, 2026

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

- Add subtitle parsing support for Atom feeds in buildAtomFeed()
- Create test input files for RSS and Atom feeds with subtitle
- Create expected output JSON files for subtitle tests
- Add test cases for parsing subtitle from RSS and Atom feeds
- Update existing test output files (heise, feedburner, many-links) to include subtitle field

Co-authored-by: openhands <[email protected]>
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