samuelclay / NewsBlur

NewsBlur is a personal news reader that brings people together to talk about the world. A new sound of an old instrument.
http://www.newsblur.com
MIT License
6.91k stars 1k forks source link

iOS: Discover sites #1900

Open samuelclay opened 1 month ago

samuelclay commented 1 month ago

I’ve got a sizable NB feature coming down the pipeline soon. Take a look at https://staging.newsblur.com/. It’s a “Discover Sites” feature and it’s at the top of the title bar and shows you related sites.

It's not quite ready for prime time but be thinking about how to integrate it into iOS. Notice that it's infinite scroll (up to 10 pages, each of 5 sites). It works on folders and sites.

Screenshot 2024-10-16 at 10 24 42 AM
Dejal commented 1 month ago

A great idea! When trying it, I quickly saw several feeds I'd be interested in.

I think the iPad and Mac apps could have much the same UI as the web, with a navigation bar button that shows a popover with the discover list, with the stories grouped by headers with the Try/Add buttons etc. When a story is tapped, it'd show that feed in much the same way as the web, with a temporary item in the feeds list, and a normal feed detail and story detail.

On iPhone, we could have a command in the feed detail settings menu, and push to the discover list, or show it modally. When a story is chosen or Try is tapped, it can push to that feed detail; probably no need to pop back to the root level or add it to the feeds list.

I assume there will be an endpoint to provide the data, similar to when loading the feeds. The more similar the feed data is, the easier it'll be to implement. To make showing the feed detail easier, I'd add the feed and stories to the usual data structures, with a flag to indicate they're temporary (or perhaps note the feed ID to remove it when dismissed). Shouldn't be too difficult.