noinnion / newsplus

News+ is a simple, fast and intuitive feed/rss reader for Android, featuring beautiful themes, podcast support and full offline support.
http://noinnion.com/newsplus
358 stars 77 forks source link

Cache articles when wifi becomes available #72

Open jochenberger opened 10 years ago

jochenberger commented 10 years ago

I have downloading of cached articles enabled depending on whether wifi is available. When it is not, only article summaries are downloaded. If wifi becomes available again and articles are synchronized, the new items are cached again. I think that when wifi becomes available after articles have been downloaded over a mobile connection and caching is enabled, those should be cached too. Workaround: If I open a folder that contains subscriptions and hit the refresh button, cached versions are downloaded also for items that are already there.

noinnion commented 10 years ago

Do you mean offline download stops when mobile data change to wifi? On Jun 23, 2014 7:00 PM, "jochenberger" notifications@github.com wrote:

I have downloading of cached articles enabled depending on whether wifi is available. When it is not, only article summaries are downloaded. If wifi becomes available again and articles are synchronized, the new items are cached again. I think that when wifi becomes available after articles have been downloaded over a mobile connection and caching is enabled, those should be cached too. Workaround: If I open a folder that contains subscriptions and hit the refresh button, cached versions are downloaded also for items that are already there.

— Reply to this email directly or view it on GitHub https://github.com/noinnion/newsplus/issues/72.

jochenberger commented 10 years ago

No, I mean that old articles should be downloaded when wifi becomes available.

noinnion commented 10 years ago

Ok I got what you mean. It downloads the articles in the folders but not if you hit the general refresh button? Am 25.06.2014 10:20 schrieb "jochenberger" notifications@github.com:

No, I mean that old articles should be downloaded when wifi becomes available.

— Reply to this email directly or view it on GitHub https://github.com/noinnion/newsplus/issues/72#issuecomment-47073134.

jochenberger commented 10 years ago

If I hit refresh from within a folder, it downloads the old and new articles in that folder. But when I hit refresh from the "main screen", it doesn't download any old items, just the new ones.

noinnion commented 10 years ago

could you pls try the latest beta https://github.com/noinnion/newsplus/tree/master/beta

On Sat, Jun 28, 2014 at 1:09 PM, jochenberger notifications@github.com wrote:

If I hit refresh from within a folder, it downloads the old and new articles in that folder. But when I hit refresh from the "main screen", it doesn't download any old items, just the new ones.

— Reply to this email directly or view it on GitHub https://github.com/noinnion/newsplus/issues/72#issuecomment-47424678.

jochenberger commented 10 years ago

Sorry, I don't install packages from untrusted sources. But, as I assume that you implemented this, thanks!

jochenberger commented 10 years ago

The behavior is the same with 1.1.4. Only New articles are downloaded for offline reading, the ones that are already present are not.

noinnion commented 10 years ago

Long press on sync button and select Sync all unread items

Could you try the latest beta v1.1.5? http://noinnion.com/newsplus/updates

On Sat, Aug 9, 2014 at 3:34 PM, jochenberger notifications@github.com wrote:

The behavior is the same with 1.1.4. Only New articles are downloaded for offline reading, the ones that are already present are not.

— Reply to this email directly or view it on GitHub https://github.com/noinnion/newsplus/issues/72#issuecomment-51686746.

jochenberger commented 10 years ago

Long press on sync button and select Sync all unread items

Thanks, I'll try that when the problem arises again.

Could you try the latest beta v1.1.5?

No, I install from the play store only.

jochenberger commented 10 years ago

Yes, that does the trick. IMHO, it should do that by default if downloading offline content is enabled and there are items for which offline content is not available (and - if News+ is configured to download offline content over wi-fi only - if wi-fi is enabled).