{"action":"created","comment":{"url":"https://api.github.com/repos/gfontenot/website-source/pulls/comments/44196871","id":44196871,"diff_hunk":"@@ -20,12 +28,21 @@ main = hakyll $ do\n                 >>= loadAndApplyTemplate \"templates/default.html\" blogCtx\n                 >>= replaceIndexLinks\n \n-    match allPosts $ do\n-        route $ setExtension \"\" `composeRoutes` indexedRoute\n-        compile $ pandocCompiler\n-            >>= loadAndApplyTemplate \"templates/post.html\"    postCtx\n-            >>= loadAndApplyTemplate \"templates/default.html\" postCtx\n-            >>= replaceIndexLinks\n+    create [\"feed.xml\"] $ do\n+        route idRoute\n+        compile $ do\n+            posts <- recentFirst =<< loadAllSnapshots allPosts \"content\"\n+            let feedConfig = FeedConfiguration\n+                    siteTitle           -- title\n+                    \"Gordon Fontenot\"   -- description\n+                    \"Gordon Fontenot\"   -- author name\n+                    \"gordon@fonten.io\"  -- author email\n+                    siteHost            -- root\n+\n+            renderAtom feedConfig feedItemCtx posts\n+                >>= replaceIndexURLs siteHost\n+                >>= repairExternalURLs siteHost\n+                >>= replaceRelativeURLs siteHost","path":"site.hs","position":44,"original_position":44,"commit_id":"bb3d61f2462c8829dbaf087f449b7448f829f296","original_commit_id":"bb3d61f2462c8829dbaf087f449b7448f829f296","user":{"login":"sidraval","id":3432639,"avatar_url":"https://avatars.githubusercontent.com/u/3432639?v=3","gravatar_id":"","url":"https://api.github.com/users/sidraval","html_url":"https://github.com/sidraval","followers_url":"https://api.github.com/users/sidraval/followers","following_url":"https://api.github.com/users/sidraval/following{/other_user}","gists_url":"https://api.github.com/users/sidraval/gists{/gist_id}","starred_url":"https://api.github.com/users/sidraval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sidraval/subscriptions","organizations_url":"https://api.github.com/users/sidraval/orgs","repos_url":"https://api.github.com/users/sidraval/repos","events_url":"https://api.github.com/users/sidraval/events{/privacy}","received_events_url":"https://api.github.com/users/sidraval/received_events","type":"User","site_admin":false},"body":"Perhaps nested `do` here as well?","created_at":"2015-11-06T22:53:06Z","updated_at":"2015-11-06T22:53:06Z","html_url":"https://github.com/gfontenot/website-source/pull/3#discussion_r44196871","pull_request_url":"https://api.github.com/repos/gfontenot/website-source/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/gfontenot/website-source/pulls/comments/44196871"},"html":{"href":"https://github.com/gfontenot/website-source/pull/3#discussion_r44196871"},"pull_request":{"href":"https://api.github.com/repos/gfontenot/website-source/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/gfontenot/website-source/pulls/3","id":49915430,"html_url":"https://github.com/gfontenot/website-source/pull/3","diff_url":"https://github.com/gfontenot/website-source/pull/3.diff","patch_url":"https://github.com/gfontenot/website-source/pull/3.patch","issue_url":"https://api.github.com/repos/gfontenot/website-source/issues/3","number":3,"state":"open","locked":false,"title":"Generate an RSS feed","user":{"login":"gfontenot","id":124499,"avatar_url":"https://avatars.githubusercontent.com/u/124499?v=3","gravatar_id":"","url":"https://api.github.com/users/gfontenot","html_url":"https://github.com/gfontenot","followers_url":"https://api.github.com/users/gfontenot/followers","following_url":"https://api.github.com/users/gfontenot/following{/other_user}","gists_url":"https://api.github.com/users/gfontenot/gists{/gist_id}","starred_url":"https://api.github.com/users/gfontenot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfontenot/subscriptions","organizations_url":"https://api.github.com/users/gfontenot/orgs","repos_url":"https://api.github.com/users/gfontenot/repos","events_url":"https://api.github.com/users/gfontenot/events{/privacy}","received_events_url":"https://api.github.com/users/gfontenot/received_events","type":"User","site_admin":false},"body":"See commit messages for deets","created_at":"2015-11-06T04:37:08Z","updated_at":"2015-11-06T22:53:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d554e3b21ab9cbf1bbb2b3a975767501d14eceb3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gfontenot/website-source/pulls/3/commits","review_comments_url":"https://api.github.com/repos/gfontenot/website-source/pulls/3/comments","review_comment_url":"https://api.github.com/repos/gfontenot/website-source/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gfontenot/website-source/issues/3/comments","statuses_url":"https://api.github.com/repos/gfontenot/website-source/statuses/bb3d61f2462c8829dbaf087f449b7448f829f296","head":{"label":"gfontenot:rss","ref":"rss","sha":"bb3d61f2462c8829dbaf087f449b7448f829f296","user":{"login":"gfontenot","id":124499,"avatar_url":"https://avatars.githubusercontent.com/u/124499?v=3","gravatar_id":"","url":"https://api.github.com/users/gfontenot","html_url":"https://github.com/gfontenot","followers_url":"https://api.github.com/users/gfontenot/followers","following_url":"https://api.github.com/users/gfontenot/following{/other_user}","gists_url":"https://api.github.com/users/gfontenot/gists{/gist_id}","starred_url":"https://api.github.com/users/gfontenot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfontenot/subscriptions","organizations_url":"https://api.github.com/users/gfontenot/orgs","repos_url":"https://api.github.com/users/gfontenot/repos","events_url":"https://api.github.com/users/gfontenot/events{/privacy}","received_events_url":"https://api.github.com/users/gfontenot/received_events","type":"User","site_admin":false},"repo":{"id":39595208,"name":"website-source","full_name":"gfontenot/website-source","owner":{"login":"gfontenot","id":124499,"avatar_url":"https://avatars.githubusercontent.com/u/124499?v=3","gravatar_id":"","url":"https://api.github.com/users/gfontenot","html_url":"https://github.com/gfontenot","followers_url":"https://api.github.com/users/gfontenot/followers","following_url":"https://api.github.com/users/gfontenot/following{/other_user}","gists_url":"https://api.github.com/users/gfontenot/gists{/gist_id}","starred_url":"https://api.github.com/users/gfontenot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfontenot/subscriptions","organizations_url":"https://api.github.com/users/gfontenot/orgs","repos_url":"https://api.github.com/users/gfontenot/repos","events_url":"https://api.github.com/users/gfontenot/events{/privacy}","received_events_url":"https://api.github.com/users/gfontenot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gfontenot/website-source","description":"Source code for gordonfontenot.com","fork":false,"url":"https://api.github.com/repos/gfontenot/website-source","forks_url":"https://api.github.com/repos/gfontenot/website-source/forks","keys_url":"https://api.github.com/repos/gfontenot/website-source/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gfontenot/website-source/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gfontenot/website-source/teams","hooks_url":"https://api.github.com/repos/gfontenot/website-source/hooks","issue_events_url":"https://api.github.com/repos/gfontenot/website-source/issues/events{/number}","events_url":"https://api.github.com/repos/gfontenot/website-source/events","assignees_url":"https://api.github.com/repos/gfontenot/website-source/assignees{/user}","branches_url":"https://api.github.com/repos/gfontenot/website-source/branches{/branch}","tags_url":"https://api.github.com/repos/gfontenot/website-source/tags","blobs_url":"https://api.github.com/repos/gfontenot/website-source/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gfontenot/website-source/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gfontenot/website-source/git/refs{/sha}","trees_url":"https://api.github.com/repos/gfontenot/website-source/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gfontenot/website-source/statuses/{sha}","languages_url":"https://api.github.com/repos/gfontenot/website-source/languages","stargazers_url":"https://api.github.com/repos/gfontenot/website-source/stargazers","contributors_url":"https://api.github.com/repos/gfontenot/website-source/contributors","subscribers_url":"https://api.github.com/repos/gfontenot/website-source/subscribers","subscription_url":"https://api.github.com/repos/gfontenot/website-source/subscription","commits_url":"https://api.github.com/repos/gfontenot/website-source/commits{/sha}","git_commits_url":"https://api.github.com/repos/gfontenot/website-source/git/commits{/sha}","comments_url":"https://api.github.com/repos/gfontenot/website-source/comments{/number}","issue_comment_url":"https://api.github.com/repos/gfontenot/website-source/issues/comments{/number}","contents_url":"https://api.github.com/repos/gfontenot/website-source/contents/{+path}","compare_url":"https://api.github.com/repos/gfontenot/website-source/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gfontenot/website-source/merges","archive_url":"https://api.github.com/repos/gfontenot/website-source/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gfontenot/website-source/downloads","issues_url":"https://api.github.com/repos/gfontenot/website-source/issues{/number}","pulls_url":"https://api.github.com/repos/gfontenot/website-source/pulls{/number}","milestones_url":"https://api.github.com/repos/gfontenot/website-source/milestones{/number}","notifications_url":"https://api.github.com/repos/gfontenot/website-source/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gfontenot/website-source/labels{/name}","releases_url":"https://api.github.com/repos/gfontenot/website-source/releases{/id}","created_at":"2015-07-23T21:52:23Z","updated_at":"2015-07-28T03:44:51Z","pushed_at":"2015-11-06T07:42:47Z","git_url":"git://github.com/gfontenot/website-source.git","ssh_url":"git@github.com:gfontenot/website-source.git","clone_url":"https://github.com/gfontenot/website-source.git","svn_url":"https://github.com/gfontenot/website-source","homepage":"gordonfontenot.com","size":4348,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"gfontenot:master","ref":"master","sha":"5abb9719a781788f26c788c45da93ae4ae19968a","user":{"login":"gfontenot","id":124499,"avatar_url":"https://avatars.githubusercontent.com/u/124499?v=3","gravatar_id":"","url":"https://api.github.com/users/gfontenot","html_url":"https://github.com/gfontenot","followers_url":"https://api.github.com/users/gfontenot/followers","following_url":"https://api.github.com/users/gfontenot/following{/other_user}","gists_url":"https://api.github.com/users/gfontenot/gists{/gist_id}","starred_url":"https://api.github.com/users/gfontenot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfontenot/subscriptions","organizations_url":"https://api.github.com/users/gfontenot/orgs","repos_url":"https://api.github.com/users/gfontenot/repos","events_url":"https://api.github.com/users/gfontenot/events{/privacy}","received_events_url":"https://api.github.com/users/gfontenot/received_events","type":"User","site_admin":false},"repo":{"id":39595208,"name":"website-source","full_name":"gfontenot/website-source","owner":{"login":"gfontenot","id":124499,"avatar_url":"https://avatars.githubusercontent.com/u/124499?v=3","gravatar_id":"","url":"https://api.github.com/users/gfontenot","html_url":"https://github.com/gfontenot","followers_url":"https://api.github.com/users/gfontenot/followers","following_url":"https://api.github.com/users/gfontenot/following{/other_user}","gists_url":"https://api.github.com/users/gfontenot/gists{/gist_id}","starred_url":"https://api.github.com/users/gfontenot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfontenot/subscriptions","organizations_url":"https://api.github.com/users/gfontenot/orgs","repos_url":"https://api.github.com/users/gfontenot/repos","events_url":"https://api.github.com/users/gfontenot/events{/privacy}","received_events_url":"https://api.github.com/users/gfontenot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gfontenot/website-source","description":"Source code for gordonfontenot.com","fork":false,"url":"https://api.github.com/repos/gfontenot/website-source","forks_url":"https://api.github.com/repos/gfontenot/website-source/forks","keys_url":"https://api.github.com/repos/gfontenot/website-source/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gfontenot/website-source/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gfontenot/website-source/teams","hooks_url":"https://api.github.com/repos/gfontenot/website-source/hooks","issue_events_url":"https://api.github.com/repos/gfontenot/website-source/issues/events{/number}","events_url":"https://api.github.com/repos/gfontenot/website-source/events","assignees_url":"https://api.github.com/repos/gfontenot/website-source/assignees{/user}","branches_url":"https://api.github.com/repos/gfontenot/website-source/branches{/branch}","tags_url":"https://api.github.com/repos/gfontenot/website-source/tags","blobs_url":"https://api.github.com/repos/gfontenot/website-source/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gfontenot/website-source/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gfontenot/website-source/git/refs{/sha}","trees_url":"https://api.github.com/repos/gfontenot/website-source/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gfontenot/website-source/statuses/{sha}","languages_url":"https://api.github.com/repos/gfontenot/website-source/languages","stargazers_url":"https://api.github.com/repos/gfontenot/website-source/stargazers","contributors_url":"https://api.github.com/repos/gfontenot/website-source/contributors","subscribers_url":"https://api.github.com/repos/gfontenot/website-source/subscribers","subscription_url":"https://api.github.com/repos/gfontenot/website-source/subscription","commits_url":"https://api.github.com/repos/gfontenot/website-source/commits{/sha}","git_commits_url":"https://api.github.com/repos/gfontenot/website-source/git/commits{/sha}","comments_url":"https://api.github.com/repos/gfontenot/website-source/comments{/number}","issue_comment_url":"https://api.github.com/repos/gfontenot/website-source/issues/comments{/number}","contents_url":"https://api.github.com/repos/gfontenot/website-source/contents/{+path}","compare_url":"https://api.github.com/repos/gfontenot/website-source/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gfontenot/website-source/merges","archive_url":"https://api.github.com/repos/gfontenot/website-source/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gfontenot/website-source/downloads","issues_url":"https://api.github.com/repos/gfontenot/website-source/issues{/number}","pulls_url":"https://api.github.com/repos/gfontenot/website-source/pulls{/number}","milestones_url":"https://api.github.com/repos/gfontenot/website-source/milestones{/number}","notifications_url":"https://api.github.com/repos/gfontenot/website-source/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gfontenot/website-source/labels{/name}","releases_url":"https://api.github.com/repos/gfontenot/website-source/releases{/id}","created_at":"2015-07-23T21:52:23Z","updated_at":"2015-07-28T03:44:51Z","pushed_at":"2015-11-06T07:42:47Z","git_url":"git://github.com/gfontenot/website-source.git","ssh_url":"git@github.com:gfontenot/website-source.git","clone_url":"https://github.com/gfontenot/website-source.git","svn_url":"https://github.com/gfontenot/website-source","homepage":"gordonfontenot.com","size":4348,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gfontenot/website-source/pulls/3"},"html":{"href":"https://github.com/gfontenot/website-source/pull/3"},"issue":{"href":"https://api.github.com/repos/gfontenot/website-source/issues/3"},"comments":{"href":"https://api.github.com/repos/gfontenot/website-source/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/gfontenot/website-source/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/gfontenot/website-source/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gfontenot/website-source/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/gfontenot/website-source/statuses/bb3d61f2462c8829dbaf087f449b7448f829f296"}}}}