Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] enable auto sync configuration #198

Closed
areteichi opened this issue Jan 4, 2014 · 3 comments
Closed

[Feature Request] enable auto sync configuration #198

areteichi opened this issue Jan 4, 2014 · 3 comments

Comments

@areteichi
Copy link

It seems like the News Android app only fetches RSS feeds that have been retrieved by ownCloud on the server side, aside from the daily sync done by Android every 24 hours (as indicated in the following thread):
https://groups.google.com/forum/#!topic/owncloud-news-android-app/sa3rtWoYRJ0

It would be nice if the Android app would be capable of updating the feeds according to a specified time interval (at least more frequent than the 24-hour interval), as suggested by the OP of the thread. As someone who is using ownCloud on a shared hosting, I am unable to automatically update my RSS feeds on the server side using cronjobs (at least to my knowledge). In other words, unless I visit my ownCloud page and fetch new feeds manually, I will only receive new feeds in the Android app once a day. If it would be possible to trigger an update on a regular basis through the Android app, I think it would alleviate much of the problem (however personal this problem may sound).

Is this something that can be implemented?

@David-Development
Copy link
Member

Implemented in 0.5.7

@roteiro
Copy link

roteiro commented Aug 23, 2014

Doesn't work as expected.
Setup:
Owncloud: ownCloud 7.0.1 (stable) with Ajax Cron
News 2.002
Owncloud News app 0.7.1 apk

Syncing (either auto or manual) with the owncloud instance (on my shared hosting server) only fetches RSS entries which are already on the server, but doesn't trigger a check of the RSS feeds for new articles which are not on the owncloud instance yet. Only exception to this behaviour is when I add a new feed through the app, then the articles of the new feed (which obviously weren't on the the server before) are collected.

If I force a update on the server by calling http://mydomain.com/owncloud/cron.php through the webbrowser on my mobile new articles are shown in the app. In my opinion the app should make a call to the cron.php at the beginning of the sync process to ensure all new articles are collected even if the owncloud instance is configured with the Ajax Cron only.

@David-Development
Copy link
Member

This is not possible. Sorry.

As you can see in the api specs an manual update requires and admin user account.
https://github.com/owncloud/news/wiki/Cron-1.2#trigger-a-feed-update

So it's impossible to implement such a feature in the news app. Furthermore the update runs async so you'll have to sync multiple times in order to receive new feeds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants