{"action":"created","issue":{"url":"https://api.github.com/repos/unfoldingWord/unfoldingWord.github.io/issues/129","repository_url":"https://api.github.com/repos/unfoldingWord/unfoldingWord.github.io","labels_url":"https://api.github.com/repos/unfoldingWord/unfoldingWord.github.io/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/unfoldingWord/unfoldingWord.github.io/issues/129/comments","events_url":"https://api.github.com/repos/unfoldingWord/unfoldingWord.github.io/issues/129/events","html_url":"https://github.com/unfoldingWord/unfoldingWord.github.io/issues/129","id":143101050,"number":129,"title":"Prevent Slideshows from building unless recently updated","user":{"login":"jag3773","id":107731,"avatar_url":"https://avatars.githubusercontent.com/u/107731?v=3","gravatar_id":"","url":"https://api.github.com/users/jag3773","html_url":"https://github.com/jag3773","followers_url":"https://api.github.com/users/jag3773/followers","following_url":"https://api.github.com/users/jag3773/following{/other_user}","gists_url":"https://api.github.com/users/jag3773/gists{/gist_id}","starred_url":"https://api.github.com/users/jag3773/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jag3773/subscriptions","organizations_url":"https://api.github.com/users/jag3773/orgs","repos_url":"https://api.github.com/users/jag3773/repos","events_url":"https://api.github.com/users/jag3773/events{/privacy}","received_events_url":"https://api.github.com/users/jag3773/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"codemis","id":540521,"avatar_url":"https://avatars.githubusercontent.com/u/540521?v=3","gravatar_id":"","url":"https://api.github.com/users/codemis","html_url":"https://github.com/codemis","followers_url":"https://api.github.com/users/codemis/followers","following_url":"https://api.github.com/users/codemis/following{/other_user}","gists_url":"https://api.github.com/users/codemis/gists{/gist_id}","starred_url":"https://api.github.com/users/codemis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codemis/subscriptions","organizations_url":"https://api.github.com/users/codemis/orgs","repos_url":"https://api.github.com/users/codemis/repos","events_url":"https://api.github.com/users/codemis/events{/privacy}","received_events_url":"https://api.github.com/users/codemis/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-03-23T22:57:18Z","updated_at":"2016-03-24T23:56:42Z","closed_at":null,"body":"Please update the slideshow build script to **only** generate slides for a language if:\r\n\r\n1. Output directory doesn't exist (hence it's never run) or\r\n2. Language was updated in the past week (to be safe)\r\n\r\nThis should cut down on the number of languages that are generated each time the site is built."},"comment":{"url":"https://api.github.com/repos/unfoldingWord/unfoldingWord.github.io/issues/comments/201077157","html_url":"https://github.com/unfoldingWord/unfoldingWord.github.io/issues/129#issuecomment-201077157","issue_url":"https://api.github.com/repos/unfoldingWord/unfoldingWord.github.io/issues/129","id":201077157,"user":{"login":"codemis","id":540521,"avatar_url":"https://avatars.githubusercontent.com/u/540521?v=3","gravatar_id":"","url":"https://api.github.com/users/codemis","html_url":"https://github.com/codemis","followers_url":"https://api.github.com/users/codemis/followers","following_url":"https://api.github.com/users/codemis/following{/other_user}","gists_url":"https://api.github.com/users/codemis/gists{/gist_id}","starred_url":"https://api.github.com/users/codemis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codemis/subscriptions","organizations_url":"https://api.github.com/users/codemis/orgs","repos_url":"https://api.github.com/users/codemis/repos","events_url":"https://api.github.com/users/codemis/events{/privacy}","received_events_url":"https://api.github.com/users/codemis/received_events","type":"User","site_admin":false},"created_at":"2016-03-24T23:56:42Z","updated_at":"2016-03-24T23:56:42Z","body":"In regards to number 2: *Language was updated in the past week (to be safe)*,  in order to get the last update, we need to pull the language data from the API.  Pulling this data is the main reason it takes so long to build the site.  Instead,  I wrote the code to generate the slides only if:\r\n\r\n1. The output directory does not exist.\r\n2. The output directory was created or modified more than a week ago.\r\n\r\nWill this solve the issue, or would you prefer to pull the language data from the API?  "}}