{"action":"opened","issue":{"url":"https://api.github.com/repos/danielqiu/feed/issues/2","labels_url":"https://api.github.com/repos/danielqiu/feed/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/danielqiu/feed/issues/2/comments","events_url":"https://api.github.com/repos/danielqiu/feed/issues/2/events","html_url":"https://github.com/danielqiu/feed/issues/2","id":59596695,"number":2,"title":"recommended way to call feedReader() for reactivity","user":{"login":"zaklampert","id":7213046,"avatar_url":"https://avatars.githubusercontent.com/u/7213046?v=3","gravatar_id":"","url":"https://api.github.com/users/zaklampert","html_url":"https://github.com/zaklampert","followers_url":"https://api.github.com/users/zaklampert/followers","following_url":"https://api.github.com/users/zaklampert/following{/other_user}","gists_url":"https://api.github.com/users/zaklampert/gists{/gist_id}","starred_url":"https://api.github.com/users/zaklampert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaklampert/subscriptions","organizations_url":"https://api.github.com/users/zaklampert/orgs","repos_url":"https://api.github.com/users/zaklampert/repos","events_url":"https://api.github.com/users/zaklampert/events{/privacy}","received_events_url":"https://api.github.com/users/zaklampert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-03T05:22:55Z","updated_at":"2015-03-03T05:22:55Z","closed_at":null,"body":"Is the best way to invoke the Feed.read() function from your example going to be in Meteor.startup()?\r\n\r\nI'm doing it this way and things aren't updating reactively. I'm also (strangely) not getting all of my Atom entries, though that could be an unrelated issue. \r\n\r\n```javascript\r\nif (Meteor.isServer) {\r\n  Meteor.startup(function () {\r\n    function feedReader() {\r\n      // pass the created collections to Feed.collections()\r\n      var collections = {\r\n          feeds: Feeds,\r\n          feed_entries: FeedEntries\r\n      }\r\n\r\n      Feed.collections(collections);\r\n\r\n      var the_feed = {\r\n          link: \"link/to/feed\"\r\n      };\r\n\r\n      Feed.createAtomFeed(the_feed);\r\n\r\n\r\n      // invoke Feed.read() to get real-time reactive social stream\r\n      Feed.read();\r\n    }\r\n\r\n   feedReader();\r\n\r\n  });\r\n}\r\n```\r\n"}}