Kozea / Radicale

A simple CalDAV (calendar) and CardDAV (contact) server.
https://radicale.org
GNU General Public License v3.0
3.23k stars 423 forks source link

vdirsyncer config with webcal #1496

Open DhruvaSambrani opened 2 months ago

DhruvaSambrani commented 2 months ago

I have set up a webcal calendar and DAVx/ICSx on android works perfectly good with it.

However, i am not entirely sure how to set up the vdirsyncer so that it picks up the metadata and events. This is my current setup:

[pair feiertage]
a = "feiertage_local"
b = "feiertage_remote"
collections = null

# Calendars also have a color property
metadata = ["displayname", "color"]

[storage feiertage_local]
type = "filesystem"
path = "~/.calendars/feiertage"
post_hook = "notify-send"
fileext = ".ics"

[storage feiertage_remote]
type = "http"
url = "https://archacer.rove-koi.ts.net/radicale/dhruva/nrw-holidays/"
username = "dhruva"
password = "mypassforradicalehere" 

No events are picked, and metasync gives

error: Unknown error occurred for feiertage: This storage does not support metadata.
DhruvaSambrani commented 2 months ago

Probably similar to #1484

pbiering commented 1 month ago

"vdirsyncer" has either to honor the response and sync with provided source or skip.

applesoff commented 1 month ago

I do not see any documentation regarding how to set up webcals. for the source am I pointing this to another calendar? or is this webcal its own standalone calendar?

pbiering commented 1 month ago

added a page in Wiki now: https://github.com/Kozea/Radicale/wiki/Collection-type-VSUBSCRIBED-(Webcal)

applesoff commented 1 month ago

Thanks for that. I am not that technically inclined. Firstly, is there a better spot to ask questions about these? I would be happy to move it off this issue.

I see the wiki, but when I saw the source listed it was "http://i.cal.to/ical/65/bayern/feiertage/499a5ad5.07785850-d8e6092a.ics" I was curious if "https://radicale.mydomain.com/user/8bdc9bfa-b6c5-7227-c41c-ab1cec7d6ad1/" was also good. Essentially referencing a calendar I made as the source of a webcal to send to others. I may be convoluting this. Is there an easy way to share a calendar with others that updates automatically when I add/remove events? Most don't want to install DAVx5 or add my server when I want to share my calendar

pbiering commented 1 month ago

Most don't want to install DAVx5 or add my server when I want to share my calendar

What do you want now? Serving a calendar URL like the "feiertage" above?

pbiering commented 1 month ago

@applesoff : I've checked and found a way how to use "radicale" to share a collection as read-only to public while being able to administrate the collection content as admin.

Example documented in the Wiki now: https://github.com/Kozea/Radicale/wiki/Sharing-Collections#sharing-a-collections-read-only-to-public-as-webcal.