Skip to content

JSON feed images not shown #4581

@vwkd

Description

@vwkd

Description

NetNewsWire doesn't show a JSON feed item's image in the image or banner_image property.

They are shown in other feed readers like Reeder.

Steps To Reproduce

  1. Open Deno's REPL
deno repl -N
  1. Paste in this script to create and serve the example JSON feed.
Details
import { Hono } from "jsr:@hono/hono";
import { Feed } from "jsr:@vwkd/feed";

const feed = new Feed({
  title: "My Example Feed",
  home_page_url: "https://example.org",
  feed_url: "https://example.org/feed.json",
});

feed.add({
  id: "1",
  content_html: "<p>Hello, world!</p>",
  url: "https://example.org/initial-post",
  image: "https://placecats.com/neo/300/200",
});

feed.add({
  id: "2",
  content_text: "This is a second item.",
  url: "https://example.org/second-item",
  banner_image: "https://placecats.com/neo/300/200",
});

const app = new Hono();

app.get("/", () => {
  return new Response(feed.toJSON(), {
    headers: {
      "Content-Type": "application/feed+json; charset=utf-8",
    },
  });
});

Deno.serve(app.fetch);
  1. Subscribe to http://your-machine-ip:8000/ in the feed reader.

Actual result

On NetNewsWire 6.1.8 (Build 6146) on iOS 18.3.2.

Expected result

On Reeder 2025.4.1 on iOS 18.3.2.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions