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

Partial calendar export as ICS #11301

Closed
matepate opened this issue Sep 20, 2018 · 3 comments
Closed

Partial calendar export as ICS #11301

matepate opened this issue Sep 20, 2018 · 3 comments

Comments

@matepate
Copy link

Hey, first let me say thanks for your great work.

I'd like to know, if there is an option to export only parts of a calendar via the ?export flag (as ics file).
I'm asking, because i have noticed that, especially on mobile devices with low bandwidth, importing/syncing large calendars via ics takes a huge amount of time and therefore leads to a faster discharge of the battery.

I know other systems, which support calendar sharing via ics that put only a part of the calendar into the exported file. Like events from the last 2 weeks and upcoming events for the next 6 months.

If there is no option in nextcloud for this, where would i've a starting point to dig into the code and maybe figure out by myself which parts needs to be modified to support such a behavior.

thanks in advance, matepate

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #564 (occ tool to export/import calendars and addressbooks), #2864 (Export all personal calendars as a zip file), #3734 (No calendar export possible, internal server error), #1662 (Calendar and Contacts Trashbin), and #4451 ("Delete Calendar" Issue).

@BernieO
Copy link
Contributor

BernieO commented Sep 24, 2018

There is an option like this already. Just append desired start and end times (as unix time stamp) as well as expand=1 to the export link. Have a look at the following example which would export the last 2 weeks (roughly from Sep 10th, 10am to Sep 24th 10am):

https://NEXTCLOUD.EXAMPLE.COM/remote.php/dav/calendars/USERNAME/CALENDARURI?export&start=1536567360&end=1537776960&expand=1

@georgehrke
Copy link
Member

As @BernieO said, this is already possible.
Closing

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