Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export as ics file #256

Open
mielvds opened this issue May 15, 2017 · 4 comments
Open

Export as ics file #256

mielvds opened this issue May 15, 2017 · 4 comments

Comments

@mielvds
Copy link
Member

mielvds commented May 15, 2017

Nice to have: an export to calendar for every route. Maybe with this script: https://gist.github.com/jakebellacera/635416

@avdg
Copy link

avdg commented May 15, 2017

What about a composer package to solve the problem? I saw something like https://packagist.org/packages/eluceo/ical

@kidk
Copy link
Contributor

kidk commented Jul 13, 2017

I want to take some time implementing this, but I could use some feedback. As far as I can see we have two options:

  • Adding the composer package mentioned above and generating the ICS file in PHP. This would mean sending all the data through a GET/POST request.
  • Adding a Javascript dependency ( https://github.com/nwcell/ics.js ) to generate the file in the browser. This looks promising, but activity on the project is low.

My feeling is that the GET/POST approach would work best, where I send the information from /route/ call back to the back-end to generate the ICS file.

@mielvds
Copy link
Member Author

mielvds commented Jul 13, 2017

I agree, that will also allow you to archive and cache the ics files if desired.

@kidk
Copy link
Contributor

kidk commented Jul 17, 2017

Pull request is live, still a bit WIP, but comments welcome. #260

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants