v2 icon indicating copy to clipboard operation
v2 copied to clipboard

Newsboat missing features

Open timsofteng opened this issue 1 year ago • 5 comments

Hello. I want to switch to miniflux but I've seen some limitations using it with newsboat like starring and so on.

https://newsboat.org/releases/2.28/docs/newsboat.html#_miniflux

Is it miniflux's api newsboat's limitation?

timsofteng avatar Aug 19 '22 23:08 timsofteng

It seems to be a miniflux API limitation. This should be available in the API, I will submit a PR to support starring. For the enclosures things, enclosures are supported in Miniflux and exposed via the API but only when you fetch the single entry.

rdelaage avatar Aug 21 '22 06:08 rdelaage

In fact, this is already possible with this endpoint https://miniflux.app/docs/api.html#endpoint-toggle-bookmark

rdelaage avatar Aug 21 '22 06:08 rdelaage

@minoru May you please take a look at this?

timsofteng avatar Aug 21 '22 09:08 timsofteng

Starring hasn't been implemented in Newsboat, but PRs are welcome. Just edit this method; see other *api.cpp files for inspiration. This docker-compose file may help with testing.

@rdelaage May I ask why enclosures are only listed when fetching a single entry? It creates the N+1 query problem for Newsboat, because it fetches the feed and would then have to fetch all of its entries to check if they have enclosures.

Minoru avatar Aug 24 '22 16:08 Minoru

For the enclosure thing, this is related to #1059

rdelaage avatar Aug 25 '22 03:08 rdelaage