Building a feeds nav like the Google Reader sidebar

35 views
Skip to first unread message

Chocky

unread,
May 8, 2012, 12:20:42 PM5/8/12
to foug...@googlegroups.com
Hello, I'm a bit confused about how to build a feeds nav similar to the official Google Reader sidebar, which has the feeds by label/tag, unread count, and any untagged feed subscriptions at the bottom. From looking at the API, it looks like I would need to make multiple calls and combine this data myself:

- Get all feeds with api/0/subscription/list, iterate through and sort feeds into groups by tag
- If I want to order tag groups by user preference, get sortid of tags with api/0/tag/list
- Get all unread counts with api/0/unread-count, iterate through feeds and combine data

Is this how Google are doing it; making 3 calls to build the nav? Or am I missing something and there's a better approach? Seems a bit odd/unwieldy.

Many thanks
Reply all
Reply to author
Forward
0 new messages