Multiple authors not treated properly

Open
#3,898 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
65/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
php
Domain
backend

Research direction

Start by tracing how the Nextcloud News app parses Atom entry authors and how the selected author is passed to the reader display. Reproduce the issue with an entry containing multiple author blocks, then add coverage for the intended author behavior and verify that the reader no longer shows only the last author.

Written by the indexing model from the issue text.

Description

enhancement help wanted

Explain the Problem

Atom 1.0 allows entries to have multiple authors by providing multiple <author></author> blocks. However, when there are multiple authors, the Nextcloud News app only shows the LAST author. The News app should either list all authors, or as a worst case scenario, only provide the FIRST author.

Steps to Reproduce

Create an RSS entry with multiple Authors. Open the post in the Nextcloud News reader and you will see that it says "by Last Author Name".

System Information

  • News app version: 28.6.0
  • Nextcloud version: 34.0.1
  • Cron type: (system cron/python updater/...)
  • PHP version:
  • Database and version:
  • Browser and version:
  • OS and version:
Dominant language
PHP
Stars
1k
Forks
200
Avg merge
20h 28m
Merged PRs (30d)
32

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nextcloud/news

All issues in nextcloud/news

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.