akrennmair / newsbeuter

Newsbeuter is an open-source RSS/Atom feed reader for text terminals.
http://www.newsbeuter.org/
MIT License
780 stars 97 forks source link

A way to merge cachefiles #373

Open klartext opened 8 years ago

klartext commented 8 years ago

If I have more than one newsbeuter accessing feeds, and I want to merge the databases, an option to help with that would be very helpful.

Minoru commented 8 years ago

Is your use-case the same as in #175?

klartext commented 8 years ago

No. I mean merge two cache-files into a cache-file that has all entries of the merged databeses now in one file. Export and import can't be used as a way to merge databases, export only prints the Feeds without items...

Minoru commented 8 years ago

Yeah, I got what you want to achieve; I wonder why you need such a feature.

klartext commented 8 years ago

One newsbeuter at home, another one somewhere on a server, to fetch permanently some feeds that change to often for my personal intervals (and when my computer is not running). Then from time to time importing the data from the newsbeuter on the server.

Minoru commented 8 years ago

The main problem I see with this is the fact that cache.db go hand in hand with urls file. In fact, Newsbeuter only displays feeds that are listed in urls. So after importing the feeds from the server, you'll have to add them to urls file to see them in Newsbeuter. That is both unwieldy and totally against your initial goal of separating your feeds into "private" and "server" sets.