|
|
|
Forum Member
Group: Forum Members
Last Login: 2/4/2008 8:46:29 AM
Posts: 22,
Visits: 862
|
|
| Hello. It seems that WS/SOAP /GetSubscriptionCounts returns only those feeds that have unread posts greater than cero. Is that by design? Thanks
|
|
|
|
|
NewsGator
Group: Administrators
Last Login: 2 days ago @ 10:00:29 AM
Posts: 2,936,
Visits: 53,931
|
|
I've confirmed this is by design, I'm not precisely sure of the reasoning behind it, but I could try to find out if that is important to you.
Jonathon McDougall
NewsGator Support
|
|
|
|
|
Forum Deity
Group: Moderators
Last Login: Today @ 9:12:25 AM
Posts: 1,156,
Visits: 3,336
|
|
| I'm not professional programmer - just enough to be dangerous, but... It seems quite logical to handle it that way, as what is the point in sending the data FeedX unread count=0, FeedY unread count=0, etc when the developer can code on the client end that if the feed is omitted from the unread counts, then the unread count for that feed must be 0. This would greatly reduce the amount of data being sent, especially if there are thousands of feeds, but only has a few that have updated since last poll.
critter42
-----------------------------
Note: I am not employed by NewsGator Technologies in any capacity
|
|
|
|
|
Forum Member
Group: Forum Members
Last Login: 2/4/2008 8:46:29 AM
Posts: 22,
Visits: 862
|
|
Hello. The problem is that you first need to call /GetSubscriptionList to get all folders and all feeds, including more information about each feed, but without the unreadcount value.
Then to show the unread counts values, you need to call /GetSubscriptionCounts that returns “all folders” and only the feeds that has unread posts. Doing this you are retrieving “again” all the data of each folder and all data of each feed that has unread posts. 
It will be a lot faster if /GetSubscriptionList returns each unreadcount value, or if /GetSubscriptionCounts returns only each ng:id and unreadcount for each feed that has unread posts. This is the way that Google Reader API and Newsgator www.NG.com (not services.NG.com) API works. Thanks
|
|
|
|
|
NewsGator
Group: NewsGator Staff
Last Login: 11/5/2007 3:20:31 PM
Posts: 6,
Visits: 16
|
|
Hello, we are looking into what it will take to support this. It is taxing to add unreadcount currently but I am still researching how to achieve this. I'll add more detail after this research is done, however, we wanted you to know that we are researching this. Thanks, Chris
|
|
|
|
|
|
Forum Member
Group: Forum Members
Last Login: 2/4/2008 8:46:29 AM
Posts: 22,
Visits: 862
|
|
| Ok, thanks. I think that the best way is to add a new method that returns only a list of [ "ng:id", "unreadcount" ] and using GZIP, that will be very fast (same CPU than /SubscriptionCounts and low bandwidth). Thanks, Ariel
|
|
|
|