Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revisionBoth sides next revision | ||
owncloud [27.03.2016 17:04] – Pascal Suter | owncloud [27.03.2016 18:34] – Pascal Suter | ||
---|---|---|---|
Line 128: | Line 128: | ||
export CPLUS_INCLUDE_PATH=/ | export CPLUS_INCLUDE_PATH=/ | ||
/ | / | ||
+ | now it's time to configure your vdirsyncer.. in my case i wanted to sync a html read-only source (ical format) to owncloud. here is my config file: | ||
+ | < | ||
+ | [pair photokiste] | ||
+ | a = photokiste_crm | ||
+ | b = photokiste_owncloud | ||
+ | collections = null | ||
+ | conflict_resolution = a wins | ||
+ | |||
+ | [storage photokiste_crm] | ||
+ | type = http | ||
+ | url = https:// | ||
+ | |||
+ | [storage photokiste_owncloud] | ||
+ | type = caldav | ||
+ | url = https:// | ||
+ | username = myuser | ||
+ | password = mysecret | ||
+ | </ | ||
+ | the owncloud calendar name can be viewed by hovering over the calendar. it will appear as mouse pointer tooltip. | ||
+ | |||
+ | one thing on the ical format.. i used a library called '' | ||
+ | DTSTART; | ||
+ | and a line like this for date + time start and end dates: | ||
+ | DTSTART: | ||
+ | (PHP iCalWriter never added the ; | ||
+ | this might be an onwcloud problem, as owncloud exports the " | ||
+ | |||
+ | once the config file is written, vdirsyncer can be run through cron or manually like this: | ||
+ | VDIRSYNCER_CONFIG=/ | ||
+ | |||
+ | that's it :) .. theoretically vdirsyncer should also support two way sync, but i haven' | ||