{"action":"created","issue":{"url":"https://api.github.com/repos/govCMS/govCMS/issues/131","labels_url":"https://api.github.com/repos/govCMS/govCMS/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/govCMS/govCMS/issues/131/comments","events_url":"https://api.github.com/repos/govCMS/govCMS/issues/131/events","html_url":"https://github.com/govCMS/govCMS/pull/131","id":122402747,"number":131,"title":"Allow calendar subscription of upcoming govCMS events, and .ics download for individual events","user":{"login":"srowlands","id":1256274,"avatar_url":"https://avatars.githubusercontent.com/u/1256274?v=3","gravatar_id":"","url":"https://api.github.com/users/srowlands","html_url":"https://github.com/srowlands","followers_url":"https://api.github.com/users/srowlands/followers","following_url":"https://api.github.com/users/srowlands/following{/other_user}","gists_url":"https://api.github.com/users/srowlands/gists{/gist_id}","starred_url":"https://api.github.com/users/srowlands/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srowlands/subscriptions","organizations_url":"https://api.github.com/users/srowlands/orgs","repos_url":"https://api.github.com/users/srowlands/repos","events_url":"https://api.github.com/users/srowlands/events{/privacy}","received_events_url":"https://api.github.com/users/srowlands/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-16T00:56:05Z","updated_at":"2015-12-16T01:19:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/govCMS/govCMS/pulls/131","html_url":"https://github.com/govCMS/govCMS/pull/131","diff_url":"https://github.com/govCMS/govCMS/pull/131.diff","patch_url":"https://github.com/govCMS/govCMS/pull/131.patch"},"body":"Currently govCMS events are very basic in their implementation. This PR allows for ongoing subscription to all govCMS events within a particular site via webcal:// protocol, as well as download of an .ics file for any individual event for import into calendars.\r\n\r\n- A subscription link will display on the main events listing page /news-media/events.\r\n- An individual event .ics file can be downloaded at /news-media/events/{NID}/calendar.ics\r\n\r\n*note:* this functionality depends on the sites timezone being correctly set (i.e in the same timezone the event is in). If per-user timezones are enabled (and they are in govCMS by default) then the content creators timezone will be used for any events they create.\r\n\r\n_Demo environment to follow_"},"comment":{"url":"https://api.github.com/repos/govCMS/govCMS/issues/comments/164953136","html_url":"https://github.com/govCMS/govCMS/pull/131#issuecomment-164953136","issue_url":"https://api.github.com/repos/govCMS/govCMS/issues/131","id":164953136,"user":{"login":"srowlands","id":1256274,"avatar_url":"https://avatars.githubusercontent.com/u/1256274?v=3","gravatar_id":"","url":"https://api.github.com/users/srowlands","html_url":"https://github.com/srowlands","followers_url":"https://api.github.com/users/srowlands/followers","following_url":"https://api.github.com/users/srowlands/following{/other_user}","gists_url":"https://api.github.com/users/srowlands/gists{/gist_id}","starred_url":"https://api.github.com/users/srowlands/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srowlands/subscriptions","organizations_url":"https://api.github.com/users/srowlands/orgs","repos_url":"https://api.github.com/users/srowlands/repos","events_url":"https://api.github.com/users/srowlands/events{/privacy}","received_events_url":"https://api.github.com/users/srowlands/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T01:19:06Z","updated_at":"2015-12-16T01:19:06Z","body":"*Demo environment:*\r\nFull events listing: http://govcms-pr131.52.64.233.163.xip.io/news-media/events\r\nYou can subscribe to all events by clicking the 'iCal' link. Depending on your calendar application you will be able to poll frequently for updates & changes to upcoming events.\r\n\r\nIndividual .ics download for one-time import:\r\n- http://govcms-pr131.52.64.233.163.xip.io/news-media/events/84/calendar.ics (Dec 24th 2015)\r\n- http://govcms-pr131.52.64.233.163.xip.io/news-media/events/85/calendar.ics (Dec 25th 2015)\r\n- http://govcms-pr131.52.64.233.163.xip.io/news-media/events/30/calendar.ics (Jun 30th 2016)\r\n\r\nNote these events are in my timezone (AU/BNE)."}}