{"action":"closed","issue":{"url":"https://api.github.com/repos/slidewinder/slidewinder/issues/11","labels_url":"https://api.github.com/repos/slidewinder/slidewinder/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/slidewinder/slidewinder/issues/11/comments","events_url":"https://api.github.com/repos/slidewinder/slidewinder/issues/11/events","html_url":"https://github.com/slidewinder/slidewinder/issues/11","id":126039406,"number":11,"title":"Support for multiple named collections","user":{"login":"Blahah","id":836040,"avatar_url":"https://avatars.githubusercontent.com/u/836040?v=3","gravatar_id":"","url":"https://api.github.com/users/Blahah","html_url":"https://github.com/Blahah","followers_url":"https://api.github.com/users/Blahah/followers","following_url":"https://api.github.com/users/Blahah/following{/other_user}","gists_url":"https://api.github.com/users/Blahah/gists{/gist_id}","starred_url":"https://api.github.com/users/Blahah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blahah/subscriptions","organizations_url":"https://api.github.com/users/Blahah/orgs","repos_url":"https://api.github.com/users/Blahah/repos","events_url":"https://api.github.com/users/Blahah/events{/privacy}","received_events_url":"https://api.github.com/users/Blahah/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/slidewinder/slidewinder/labels/api","name":"api","color":"fbca04"},{"url":"https://api.github.com/repos/slidewinder/slidewinder/labels/lib","name":"lib","color":"5319e7"},{"url":"https://api.github.com/repos/slidewinder/slidewinder/labels/priority:%20urgent","name":"priority: urgent","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/slidewinder/slidewinder/milestones/1","html_url":"https://github.com/slidewinder/slidewinder/milestones/Mozilla%20Science%20Lab%20sprint%20%231","labels_url":"https://api.github.com/repos/slidewinder/slidewinder/milestones/1/labels","id":1498295,"number":1,"title":"Mozilla Science Lab sprint #1","description":"The first Mozilla Science fellowship sprint on this project.","creator":{"login":"Blahah","id":836040,"avatar_url":"https://avatars.githubusercontent.com/u/836040?v=3","gravatar_id":"","url":"https://api.github.com/users/Blahah","html_url":"https://github.com/Blahah","followers_url":"https://api.github.com/users/Blahah/followers","following_url":"https://api.github.com/users/Blahah/following{/other_user}","gists_url":"https://api.github.com/users/Blahah/gists{/gist_id}","starred_url":"https://api.github.com/users/Blahah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blahah/subscriptions","organizations_url":"https://api.github.com/users/Blahah/orgs","repos_url":"https://api.github.com/users/Blahah/repos","events_url":"https://api.github.com/users/Blahah/events{/privacy}","received_events_url":"https://api.github.com/users/Blahah/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":2,"state":"open","created_at":"2016-01-11T21:26:40Z","updated_at":"2016-01-14T11:12:47Z","due_on":"2016-01-24T00:00:00Z","closed_at":null},"comments":2,"created_at":"2016-01-11T21:22:48Z","updated_at":"2016-01-14T11:12:47Z","closed_at":"2016-01-14T11:12:47Z","body":"_From @Ward9250 on November 29, 2015 1:3_\n\nMaking the preentation for cambs it became clear support for using multiple collections was required.... so I did it.\r\n\r\nNow you can do the following:\r\n```\r\nnode bin/cmdline.js \\\r\n    -c a:~/Desktop/examples,b:~/Desktop/collection2 \\\r\n    -s a\\(code,data,list\\),b\\(features\\),a\\(code_highlighted\\) \\\r\n    -o ~/Desktop/mytestpres\r\n    -a meeeeee\r\n    -t multicollections\r\n```\r\nNotice the arguments passed to the -c and -s flag are changed.\r\n\r\nFor the -c flag, you give a name for the collection along with the path, so for the collection in directory `~/Desktop/examples`, the name `a` is provided. These names are totally transient, they don't get saved in slides or collection directories or anything like that. Then in the -s flag, you specify the slides you want from the collections in order. The syntax reads left to right, and dictates the flow of the presentation: the first slide will be `code` from collection `a`, followed by `data` and then `list` from collection `a`. Then the fourth slide will be `features` from collection `b`, followed by `code_highlighted` from collection `a`. The parens in -s had to be escaped 'cause bash.\r\n\r\nI also formed some classes from the functions and datastructures used in slidewinder to accompany the framework class. Namely, the `SlideCollection`, and `SlideDeck` classes. I think it makes sense, given that they are two datastructures central to slidewinder, and also central concepts - a deck is a ordered set of slides presented, a collection is more like an archive of slides and associated media.\n\n_Copied from original issue: Blahah/slidewinder/pull/11_"}}