ICal Export: Difference between revisions

Jump to navigation Jump to search
Line 76: Line 76:


== Data Options ==
== Data Options ==
Additional parameters can be added to the calendar URL to further specify the export data.
1. These options can be used to setup two way syncing to a google or other calendar without re-exporting imports and creating duplicate bookings. See also the options for iCal import to ignore duplicates.
{| class="wikitable"
|-
! scope="col"| Paramenter
! scope="col"| Use
|-


These options can be used to setup two way syncing to a google or other calendar without re-exporting imports and creating duplicate bookings. See also the options for iCal import to ignore duplicates.
| &icalimport1=hide
'''&icalimport1=hide''' - add this to not include bookings imported from channel Ical Import 1.
| add this to not include bookings imported from channel Ical Import 1.
'''&icalimport2=hide''' - add this to not include bookings imported from channel Ical Import 2.
|-
'''&icalimport3=hide''' - add this to not include bookings imported from channel Ical Import 3.


| &icalimport2=hide
| add this to not include bookings imported from channel Ical Import 2.
|-


This option will export the end date of the booking as the date of the last night, i.e. one day before the checkout date.
| &icalimport3=hide
'''&end=lastnight''' - add this to export end date as last night.
| add this to not include bookings imported from channel Ical Import 3.
|-


|}


This option will only show check-in days, not the rest of the booking.
2. Additional parameters can be added to the calendar URL to further specify the export data.
'''&dates=checkin''' - add this to export only the check-in day to the calendar.
{| class="wikitable"
|-
! scope="col"| Paramenter
! scope="col"| Use
|-


| &end=lastnight
| Exports the end date of the booking as the date of the last night, i.e. one day before the checkout date
|-


This option will only show check-out days, not the rest of the booking.
| &dates=checkin
'''&dates=checkout''' - add this to export only the check-out day to the calendar.
| Only shows check-in days, not the rest of the booking
|-


| &dates=checkout
| Only shows check-out days, not the rest of the booking
|-


This option should only be used if your software requires dates including time information.
| &showtime=true''
'''&showtime=true''' - add this to add time to the calendar dates. Default checkin is added at 2PM and checkout at 10AM
| Adds time to the calendar dates. Default checkin is added at 2PM and checkout at 10AM  
<span style="color:#fe746c;“ >{{#fas:exclamation-triangle}}  </span>This option should only be used if your software requires dates including time information.
|-


Specify a different event start time when using &showtime=true.
| &starttime=hh:mm
<code>&starttime=hh:mm</code>- add this to specify the event start time, for example 07:30
| Specifies the event start time, for example 16:00 when using &showtime=true
|-


Specify a different event end time when using &showtime=true.
| &endtime=hh:mm
<code>&endtime=hh:mm</code> - add this to specify the event end time, for example 11:00
| Specifies the event end time, for example 11:00 when using &showtime=true
|-


Specify a time zone when using &showtime=true.
<code>'&timezone=Europe/London</code>- add this to specify the timezone if your calendar needs it, the timezone must be a valid ical timezone value.
Valid timezone values can be found in the TZ* column at this link http://en.wikipedia.org/wiki/List_of_tz_database_time_zones


Hide request status bookings
| &timezone=Europe/London
<code>&hiderequest=true</code> - add this to prevent request status bookings appearing in the ical
| Specify the timezone if your calendar needs it, the timezone must be a valid ical timezone value. Valid timezone values can be found in the TZ* column at this link http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|-


Include bookings from linked rooms
| &hiderequest=true
'''&includerooms=true''' - add this to include the details of bookings included from other rooms as per the room dependency "Include Bookings From" settings.
|Hides request status bookings to prevent request status bookings appearing in the ical
|-


Number of days into the future to include unavailable dates
| &includerooms=true
<code>'&unavaildates=365</code>- the default is 365 days, this can be overridden with this parameter to any value between 0 and 750 days in advance.
| Include the details of bookings included from other rooms as per the room dependency "Include Bookings From" settings.
|-
 
| &unavaildates=365
| The he default days in the future is 365 days, this can be overridden with this parameter to any value between 0 and 750 days in advance.
|-
 
| &nourl
|
|-
 
 
|}


== Troubleshooting ==
== Troubleshooting ==