*/
public Subscriptions getSubscriptions(String userId) throws Exception {
List<String> feedUrls = store.getSubscribedUrls(userId);
List<RSS> feeds = new ArrayList<RSS>(feedUrls.size());
for (String feedUrl: feedUrls) {
RSS rss = RSSManager.getInstance().fetchRSSFeed(feedUrl);
if (rss.getItems() != null && !rss.getItems().isEmpty()) {
feeds.add(rss);
}
}
return new SubscriptionsImpl(userId, feeds);