mkiol / kaktus

Mobile feed reader for Netvibes, Tiny Tiny RSS and Old Reader
Mozilla Public License 2.0
19 stars 11 forks source link

Feature request: Miniflux support #30

Open Arteneko opened 5 years ago

Arteneko commented 5 years ago

Miniflux is a simple flux reader, that also exposes a REST API (here's the API doc).

It'd be nice to have the basic features of reading and marking as read integrated into Kaktus.

I may be able to take a look and try to prototype to integrate a Miniflux connector on the app.

mkiol commented 5 years ago

I love the idea if you are willing to implement it!

Very briefly, to provide new aggregator you have to sub-class Fetcher and do some minor UI changes. Something very similar to what was done in 5fdd9270e116bb52be5b4794948e91fa47bbc957 (TT RSS implementation). I will help of course.

Arteneko commented 5 years ago

Thanks for the "quickstart" guide, I'll schedule that

Arteneko commented 5 years ago

Started digging into the code, is there already a class that'd work with RSS2/Atom feeds?

Looking at it, it looks like every currently existing source is only based on JSON

mkiol commented 5 years ago

Kaktus works with aggregation services like OldReader, Netvibes or Tiny Tiny RSS, so it doesn't handle RSS/Atom feeds directly. Yes it is JSON-based only (at least so far) but it should not be a problem because it appears that Miniflux provides JSON API as well. Am I right?

Look at the ttrssfetcher.cpp. It makes various HTTP JSON API calls to fetch feeds & entries and to store them in the db. Db provides an abstraction because all aggr services (OldReader, NV, TT-RSS) are using the same structure.

If you want to try I recommend you to just copy TTRssFetcher class, rename it and change it to be compatible with Miniflux API. IMHO this is the easiest way.

playforvoices1 commented 2 years ago

I would also like the idea of Miniflux support. Is there any progress in this direction?