{"action":"opened","number":16,"pull_request":{"url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/pulls/16","id":27790793,"html_url":"https://github.com/cityoffortworth/FortWorthTexas.gov/pull/16","diff_url":"https://github.com/cityoffortworth/FortWorthTexas.gov/pull/16.diff","patch_url":"https://github.com/cityoffortworth/FortWorthTexas.gov/pull/16.patch","issue_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/issues/16","number":16,"state":"open","locked":false,"title":"Create Jekyll pages from CSV files","user":{"login":"gregoryjscott","id":51882,"avatar_url":"https://avatars.githubusercontent.com/u/51882?v=3","gravatar_id":"","url":"https://api.github.com/users/gregoryjscott","html_url":"https://github.com/gregoryjscott","followers_url":"https://api.github.com/users/gregoryjscott/followers","following_url":"https://api.github.com/users/gregoryjscott/following{/other_user}","gists_url":"https://api.github.com/users/gregoryjscott/gists{/gist_id}","starred_url":"https://api.github.com/users/gregoryjscott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregoryjscott/subscriptions","organizations_url":"https://api.github.com/users/gregoryjscott/orgs","repos_url":"https://api.github.com/users/gregoryjscott/repos","events_url":"https://api.github.com/users/gregoryjscott/events{/privacy}","received_events_url":"https://api.github.com/users/gregoryjscott/received_events","type":"User","site_admin":false},"body":"This creates Jekyll pages from a CSV file as part of the Jekyll build process. After the build, the `_site` directory contains a `whatever/` directory contains `.html` files. (This is just an experiment at this point.)\r\n\r\nThere are pros and cons to this approach of always generating the pages at build time versus just creating the pages once and checking them into the repository. We can discuss later.\r\n\r\nThis will close #11 when the tasks are completed.\r\n\r\nTasks\r\n- [ ] Deal with the content columns. I had to (temporarily) delete the columns containing the CDATA in order to read the example CSV file. Currently the code is just throwing in some \"Hello there\" content.\r\n- [ ] Make this generic so that it can be used to import any CSV export from the legacy CMS. It's currently hardcoded to look for `_data/whatever.csv` and write to a `whatever` directory.\r\n- [ ] How should the layout for the pages be set? It's currently hard-coded to `default`.","created_at":"2015-01-21T20:13:07Z","updated_at":"2015-01-21T20:13:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/pulls/16/commits","review_comments_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/pulls/16/comments","review_comment_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/pulls/comments/{number}","comments_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/issues/16/comments","statuses_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/statuses/9231cd47b6774846f44dedc0c82a96b653c0c6b4","head":{"label":"cityoffortworth:csv-import","ref":"csv-import","sha":"9231cd47b6774846f44dedc0c82a96b653c0c6b4","user":{"login":"cityoffortworth","id":7333811,"avatar_url":"https://avatars.githubusercontent.com/u/7333811?v=3","gravatar_id":"","url":"https://api.github.com/users/cityoffortworth","html_url":"https://github.com/cityoffortworth","followers_url":"https://api.github.com/users/cityoffortworth/followers","following_url":"https://api.github.com/users/cityoffortworth/following{/other_user}","gists_url":"https://api.github.com/users/cityoffortworth/gists{/gist_id}","starred_url":"https://api.github.com/users/cityoffortworth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cityoffortworth/subscriptions","organizations_url":"https://api.github.com/users/cityoffortworth/orgs","repos_url":"https://api.github.com/users/cityoffortworth/repos","events_url":"https://api.github.com/users/cityoffortworth/events{/privacy}","received_events_url":"https://api.github.com/users/cityoffortworth/received_events","type":"Organization","site_admin":false},"repo":{"id":16429937,"name":"FortWorthTexas.gov","full_name":"cityoffortworth/FortWorthTexas.gov","owner":{"login":"cityoffortworth","id":7333811,"avatar_url":"https://avatars.githubusercontent.com/u/7333811?v=3","gravatar_id":"","url":"https://api.github.com/users/cityoffortworth","html_url":"https://github.com/cityoffortworth","followers_url":"https://api.github.com/users/cityoffortworth/followers","following_url":"https://api.github.com/users/cityoffortworth/following{/other_user}","gists_url":"https://api.github.com/users/cityoffortworth/gists{/gist_id}","starred_url":"https://api.github.com/users/cityoffortworth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cityoffortworth/subscriptions","organizations_url":"https://api.github.com/users/cityoffortworth/orgs","repos_url":"https://api.github.com/users/cityoffortworth/repos","events_url":"https://api.github.com/users/cityoffortworth/events{/privacy}","received_events_url":"https://api.github.com/users/cityoffortworth/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cityoffortworth/FortWorthTexas.gov","description":"City of Fort Worth website content and templates","fork":false,"url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov","forks_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/forks","keys_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/teams","hooks_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/hooks","issue_events_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/issues/events{/number}","events_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/events","assignees_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/assignees{/user}","branches_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/branches{/branch}","tags_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/tags","blobs_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/git/refs{/sha}","trees_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/statuses/{sha}","languages_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/languages","stargazers_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/stargazers","contributors_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/contributors","subscribers_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/subscribers","subscription_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/subscription","commits_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/commits{/sha}","git_commits_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/git/commits{/sha}","comments_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/comments{/number}","issue_comment_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/issues/comments/{number}","contents_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/contents/{+path}","compare_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/merges","archive_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/downloads","issues_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/issues{/number}","pulls_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/pulls{/number}","milestones_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/milestones{/number}","notifications_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/labels{/name}","releases_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/releases{/id}","created_at":"2014-02-01T07:03:34Z","updated_at":"2015-01-21T02:00:55Z","pushed_at":"2015-01-21T19:56:12Z","git_url":"git://github.com/cityoffortworth/FortWorthTexas.gov.git","ssh_url":"git@github.com:cityoffortworth/FortWorthTexas.gov.git","clone_url":"https://github.com/cityoffortworth/FortWorthTexas.gov.git","svn_url":"https://github.com/cityoffortworth/FortWorthTexas.gov","homepage":"","size":257052,"stargazers_count":0,"watchers_count":0,"language":"ASP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":13,"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"base":{"label":"cityoffortworth:master","ref":"master","sha":"cda604d1aa4db00c9d8a79c1a0a768590a6069f1","user":{"login":"cityoffortworth","id":7333811,"avatar_url":"https://avatars.githubusercontent.com/u/7333811?v=3","gravatar_id":"","url":"https://api.github.com/users/cityoffortworth","html_url":"https://github.com/cityoffortworth","followers_url":"https://api.github.com/users/cityoffortworth/followers","following_url":"https://api.github.com/users/cityoffortworth/following{/other_user}","gists_url":"https://api.github.com/users/cityoffortworth/gists{/gist_id}","starred_url":"https://api.github.com/users/cityoffortworth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cityoffortworth/subscriptions","organizations_url":"https://api.github.com/users/cityoffortworth/orgs","repos_url":"https://api.github.com/users/cityoffortworth/repos","events_url":"https://api.github.com/users/cityoffortworth/events{/privacy}","received_events_url":"https://api.github.com/users/cityoffortworth/received_events","type":"Organization","site_admin":false},"repo":{"id":16429937,"name":"FortWorthTexas.gov","full_name":"cityoffortworth/FortWorthTexas.gov","owner":{"login":"cityoffortworth","id":7333811,"avatar_url":"https://avatars.githubusercontent.com/u/7333811?v=3","gravatar_id":"","url":"https://api.github.com/users/cityoffortworth","html_url":"https://github.com/cityoffortworth","followers_url":"https://api.github.com/users/cityoffortworth/followers","following_url":"https://api.github.com/users/cityoffortworth/following{/other_user}","gists_url":"https://api.github.com/users/cityoffortworth/gists{/gist_id}","starred_url":"https://api.github.com/users/cityoffortworth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cityoffortworth/subscriptions","organizations_url":"https://api.github.com/users/cityoffortworth/orgs","repos_url":"https://api.github.com/users/cityoffortworth/repos","events_url":"https://api.github.com/users/cityoffortworth/events{/privacy}","received_events_url":"https://api.github.com/users/cityoffortworth/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cityoffortworth/FortWorthTexas.gov","description":"City of Fort Worth website content and templates","fork":false,"url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov","forks_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/forks","keys_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/teams","hooks_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/hooks","issue_events_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/issues/events{/number}","events_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/events","assignees_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/assignees{/user}","branches_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/branches{/branch}","tags_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/tags","blobs_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/git/refs{/sha}","trees_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/statuses/{sha}","languages_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/languages","stargazers_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/stargazers","contributors_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/contributors","subscribers_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/subscribers","subscription_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/subscription","commits_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/commits{/sha}","git_commits_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/git/commits{/sha}","comments_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/comments{/number}","issue_comment_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/issues/comments/{number}","contents_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/contents/{+path}","compare_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/merges","archive_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/downloads","issues_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/issues{/number}","pulls_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/pulls{/number}","milestones_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/milestones{/number}","notifications_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/labels{/name}","releases_url":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/releases{/id}","created_at":"2014-02-01T07:03:34Z","updated_at":"2015-01-21T02:00:55Z","pushed_at":"2015-01-21T19:56:12Z","git_url":"git://github.com/cityoffortworth/FortWorthTexas.gov.git","ssh_url":"git@github.com:cityoffortworth/FortWorthTexas.gov.git","clone_url":"https://github.com/cityoffortworth/FortWorthTexas.gov.git","svn_url":"https://github.com/cityoffortworth/FortWorthTexas.gov","homepage":"","size":257052,"stargazers_count":0,"watchers_count":0,"language":"ASP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":13,"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/pulls/16"},"html":{"href":"https://github.com/cityoffortworth/FortWorthTexas.gov/pull/16"},"issue":{"href":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/issues/16"},"comments":{"href":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/cityoffortworth/FortWorthTexas.gov/statuses/9231cd47b6774846f44dedc0c82a96b653c0c6b4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":1162,"deletions":0,"changed_files":3}}