Skip to content

Comments

Handle multiple dc:creator elements in feed entries (#3476)#3517

Merged
zorkian merged 1 commit intodreamwidth:mainfrom
zorkian:fix/3476-feed-multiple-authors
Feb 14, 2026
Merged

Handle multiple dc:creator elements in feed entries (#3476)#3517
zorkian merged 1 commit intodreamwidth:mainfrom
zorkian:fix/3476-feed-multiple-authors

Conversation

@zorkian
Copy link
Member

@zorkian zorkian commented Feb 14, 2026

When an RSS feed item has multiple <dc:creator> elements, the XML parser returns an array ref instead of a string. LJ::ParseFeed passed this through as-is, which resulted in LJ::SynSuck stringifying it as ARRAY(0x...) in the "Posted by" line. Fixed by joining multiple creators with commas in the RSS parsing path. Added a test case for this scenario.

CODE TOUR: Feed entries with multiple authors (which is allowed by the RSS spec) used to display "Posted by ARRAY(0x...)" instead of the actual author names. Now they correctly show something like "Posted by First Author, Second Author".

Fixes #3476

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@zorkian zorkian merged commit 3659442 into dreamwidth:main Feb 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Feed entries show multiple authors as ARRAY(...)

1 participant