Hi,

I’m using tt-RSS with the latest docker image version and unmodified.
I noticed a difference between XML & JSON output feed (public.php) format, which is the “source” tag.
XML version has a “source” tag that shows the source name and link, but it’s not provided in JSON format.

I tried to modify it in another image, but despite changing the source file, it didn’t work. So I think the best way is to fix it through the dev team.

Best

this should be easy to add. i’ll make a note to look at this when i have some time.

I appreciate your time, I think it just needs to add this line on class/handler/public.php Line 222:

$article['source']=[
'link'=>$line['site_url'] ? $line["site_url"] : Config::get_self_url(),
'title'=>$line['feed_title'] ?? $feed_title
];

thanks, this really helped!

https://dev.tt-rss.org/fox/tt-rss/commit/ec764f97e7e3e0fac20f93364c84dfa01651bf95