Ranchero-Software / NetNewsWire

RSS reader for macOS and iOS.
https://netnewswire.com/
MIT License
8.29k stars 526 forks source link

Atom author at root not supported? #2797

Open fvsch opened 3 years ago

fvsch commented 3 years ago

With NetNewsWire 6.0a2 on macOS (similar on 6.0d5).

I have a JSON feed and an Atom feed for a single-author blog. Both have an “author” node at the root of the feed, and NNW displays the author for each item of the JSON feed, but not for the Atom feed:

Screenshot of JSON feed in NNW Screenshot of Atom feed in NNW

JSON feed has:

{
  "author": {
    "name": "Florens Verschelde",
    "avatar": "…"
  }
}

Atom feed has:

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <author>
    <name>Florens Verschelde</name>
  </author>
</feed>

It seems having an author in each entry (instead of at the root) might work. But it would be great to have parity here (outside of the author avatar, which is a JSON Feed feature).

Some feed examples:

Semi-related issue? #2758 jsonfeed 1.1 "authors" not supported?

fvsch commented 3 years ago

Can confirm that author in each entry works.

I’ll probably add that to each entry of https://fvsch.com/feed.json so, to keep an example around, here is a copy of that feed without the change: https://gist.github.com/fvsch/cfa4455cb6d9f70c3acafeae2c8bf948 (truncated to 2 entries).