{"action":"opened","issue":{"url":"https://api.github.com/repos/WGBH/AAPB2/issues/670","labels_url":"https://api.github.com/repos/WGBH/AAPB2/issues/670/labels{/name}","comments_url":"https://api.github.com/repos/WGBH/AAPB2/issues/670/comments","events_url":"https://api.github.com/repos/WGBH/AAPB2/issues/670/events","html_url":"https://github.com/WGBH/AAPB2/issues/670","id":104082521,"number":670,"title":"live sitemap generation?","user":{"login":"mccalluc","id":730388,"avatar_url":"https://avatars.githubusercontent.com/u/730388?v=3","gravatar_id":"","url":"https://api.github.com/users/mccalluc","html_url":"https://github.com/mccalluc","followers_url":"https://api.github.com/users/mccalluc/followers","following_url":"https://api.github.com/users/mccalluc/following{/other_user}","gists_url":"https://api.github.com/users/mccalluc/gists{/gist_id}","starred_url":"https://api.github.com/users/mccalluc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mccalluc/subscriptions","organizations_url":"https://api.github.com/users/mccalluc/orgs","repos_url":"https://api.github.com/users/mccalluc/repos","events_url":"https://api.github.com/users/mccalluc/events{/privacy}","received_events_url":"https://api.github.com/users/mccalluc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-31T16:08:12Z","updated_at":"2015-08-31T16:08:12Z","closed_at":null,"body":"I had been hoping to use blacklight-sitemap gem, but I'm just not sure that it's what we need: It works by querying solr once, producing a number of xml files, and placing them under public. The down sides are:\r\n- It takes hours to run.\r\n- It can't be done incrementally, or done to reflect only the most recent changes.\r\n- Currently, it's being called with backticks, and there seems to be a runtime dependency on rspec.\r\n\r\nAlternative: \r\n- Make it a normal rails thing, which queries solr, bumping the window up to 100 or 1000.\r\n- Use rails caching so this isn't done more than once a day or something like that.\r\n- This could also be gemified."}}