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

Add the ability to sync only a particular folder. #4

Closed
travistabbal opened this issue Aug 13, 2013 · 3 comments
Closed

Add the ability to sync only a particular folder. #4

travistabbal opened this issue Aug 13, 2013 · 3 comments

Comments

@travistabbal
Copy link
Owner

No description provided.

@federvieh
Copy link

Since I really liked this feature in Newsrob I will try to figure out how to implement this in GrazeRSS, but has anyone started looking into this and maybe has a hint for me how to get started?

@travistabbal
Copy link
Owner Author

I've looked at it. I should get time to work on things soon, but if you
want to take a stab at this, it won't be too hard. Check out
app/src/com/grazerss/NewsBlurBackendProvider.java

This line gets the folder/feed mappings from NewsBlur:

FeedFolderResponse feedResponse = apiManager.getFolderFeedMapping(false);

Then in the fetchAndStoreArticles method, we make a call to get unread
hashes. The API supports sending a list of feeds to this call. I don't know
off hand if the Java code I have in there from them has it, but it's pretty
straightforward to add parameters to the calls. So you can use the
folder/feed map to get a list of the feeds in that folder, then pass the
list to the get unread hashes call to get stories for just those feeds. The
rest of the code should work fine as written. You would need to have an
if() block to decide to use that or not, and add the setting back in etc..
If you get it working without that, just let me know and I'll help
integrate it if you can't find all that. If you submit a pull request with
if(true) that would be fine.

Thanks for offering to look at it. If you decide not to do it, let me know
so I can put it on my list to do. :)

On Sat, Aug 24, 2013 at 8:41 AM, federvieh notifications@github.com wrote:

Since I really liked this feature in Newsrob I will try to figure out how
to implement this in GrazeRSS, but has anyone started looking into this and
maybe has a hint for me how to get started?


Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-23209832
.

@federvieh
Copy link

Should be fixed now (see above pull request). Thanks for your support.

travistabbal added a commit that referenced this issue Sep 2, 2013
Add the ability to sync only a particular folder. Fixes issue #4.
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

2 participants