Replies: 1 comment
|
This sounds useful. From an API client’s perspective, exposing a feed’s publishing frequency would be enough to identify low-volume feeds. For a combined, paginated article view, though, an optional filter on Get Entries would be preferable. Otherwise, the client would need to fetch and merge entries from multiple feeds, or filter global results locally, which complicates pagination and total counts. A configurable frequency threshold seems like a reasonable API addition; alternatively, a generic multi-feed filter could work. One caveat is that the existing In short, feed-level metadata would be a good starting point, while server-side filtering would make this much easier to implement cleanly on the client side. |
Uh oh!
There was an error while loading. Please reload this page.
I started by looking at how newsblur does the "show stories from infrequently updated feeds" feature, since I would like something like that. Yes, I found that there have been multiple discussions about this, but please bear with me.
Internally, newsblur keeps (and somehow updates) one of parameters it keeps about a feed, in their case
average_updates_per_month.Looking around, in miniflux the
POLLING_SCHEDULERsetting already does internal calculations forentry_frequency- though currently it only ends up as a "when next to update this feed" timestamp (and is based on updates during last week, not month).But, if that was displayed in the information about feed received via API, just that would allow to select such feeds, and then get entries from them. And, yes, displaying this information may require storing it, therefore a schema change.
And here I would like to involve in the conversation @NekoAria who's working on https://github.com/electh/ReactFlux since that's the first client using API that comes to mind - would just that information about "how often a feed updates" be sufficient to expose entries from such feeds in a client? Or would it require additional filtering parameter in Get Entries API endpoint, and would adding such parameter be acceptable?
All reactions