{"action":"created","issue":{"url":"https://api.github.com/repos/btcsumo/btcsumo/issues/34","labels_url":"https://api.github.com/repos/btcsumo/btcsumo/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/btcsumo/btcsumo/issues/34/comments","events_url":"https://api.github.com/repos/btcsumo/btcsumo/issues/34/events","html_url":"https://github.com/btcsumo/btcsumo/issues/34","id":98634470,"number":34,"title":"Error in feed updater","user":{"login":"noplanman","id":9423417,"avatar_url":"https://avatars.githubusercontent.com/u/9423417?v=3","gravatar_id":"","url":"https://api.github.com/users/noplanman","html_url":"https://github.com/noplanman","followers_url":"https://api.github.com/users/noplanman/followers","following_url":"https://api.github.com/users/noplanman/following{/other_user}","gists_url":"https://api.github.com/users/noplanman/gists{/gist_id}","starred_url":"https://api.github.com/users/noplanman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noplanman/subscriptions","organizations_url":"https://api.github.com/users/noplanman/orgs","repos_url":"https://api.github.com/users/noplanman/repos","events_url":"https://api.github.com/users/noplanman/events{/privacy}","received_events_url":"https://api.github.com/users/noplanman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"noplanman","id":9423417,"avatar_url":"https://avatars.githubusercontent.com/u/9423417?v=3","gravatar_id":"","url":"https://api.github.com/users/noplanman","html_url":"https://github.com/noplanman","followers_url":"https://api.github.com/users/noplanman/followers","following_url":"https://api.github.com/users/noplanman/following{/other_user}","gists_url":"https://api.github.com/users/noplanman/gists{/gist_id}","starred_url":"https://api.github.com/users/noplanman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noplanman/subscriptions","organizations_url":"https://api.github.com/users/noplanman/orgs","repos_url":"https://api.github.com/users/noplanman/repos","events_url":"https://api.github.com/users/noplanman/events{/privacy}","received_events_url":"https://api.github.com/users/noplanman/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-08-02T20:27:16Z","updated_at":"2015-08-02T23:41:35Z","closed_at":null,"body":"There seems to be an issue when updating the feeds, that some feed have a huge number of duplicate entries."},"comment":{"url":"https://api.github.com/repos/btcsumo/btcsumo/issues/comments/127084237","html_url":"https://github.com/btcsumo/btcsumo/issues/34#issuecomment-127084237","issue_url":"https://api.github.com/repos/btcsumo/btcsumo/issues/34","id":127084237,"user":{"login":"noplanman","id":9423417,"avatar_url":"https://avatars.githubusercontent.com/u/9423417?v=3","gravatar_id":"","url":"https://api.github.com/users/noplanman","html_url":"https://github.com/noplanman","followers_url":"https://api.github.com/users/noplanman/followers","following_url":"https://api.github.com/users/noplanman/following{/other_user}","gists_url":"https://api.github.com/users/noplanman/gists{/gist_id}","starred_url":"https://api.github.com/users/noplanman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noplanman/subscriptions","organizations_url":"https://api.github.com/users/noplanman/orgs","repos_url":"https://api.github.com/users/noplanman/repos","events_url":"https://api.github.com/users/noplanman/events{/privacy}","received_events_url":"https://api.github.com/users/noplanman/received_events","type":"User","site_admin":false},"created_at":"2015-08-02T23:41:35Z","updated_at":"2015-08-02T23:41:35Z","body":"The problem is that when a post gets deleted from the remote feed, the first entry of the cache isn't correct, so all the feed items get loaded again, hence duplicating them all.\r\nA fix could be to use the permalink as the key value in the feed items array when loading them.\r\nAlso need to find a solution to cached feed items that have been deleted, as not to keep dead links."}}