Radicale
Radicale copied to clipboard
Advertise WebCal calendar URLs (feature request)
According to this a CalDav server can advertise Webcal calendars. These are typically used to access read-only, shared calendars.
DAVdroid recognizes Webcal calendars in the calendar home set which are published with resourcetype: subscribed and shows them in the DAVdroid account activity. If you select such a Webcal collection for synchronization, DAVdroid passes the URL to an installed Webcal-capable app like ICSdroid so that this app can subscribe to the calendar.
It would be nice if I could add these calendar URLs to my account so DAVdroid and other clients would display those extra calendars automagically.
Would be really great to see this functionality added!
Some research (e.g. here) showed me the "advertisement" should at least contain the following xml:
<d:response>
<d:href>/<user>/<calendar-name>/</d:href>
<d:propstat>
<d:prop>
<d:resourcetype>
<d:collection/>
<cs:subscribed/>
</d:resourcetype>
<cs:source>
<d:href>http://www.somesite.com/public-calendar.ics</d:href>
</cs:source>
</d:prop>
<d:status>HTTP/1.1 200 OK</d:status>
</d:propstat>
</d:response>
So, instead of <c:calendar/>
, it should contain <cs:subscribed/>
and an <cs:source>
tag for specifying the (public) ics file. (Where 'cs' would be the calendarserver namespace, e.g. xmlns:cs="http://calendarserver.org/ns/"
.)
The subscribed calendars could be stored inside a single .props
file in the root of each collection (e.g. .subscriptions.props
).
Like this each user could have their own subscriptions in a multi user instance - given that each collection refers to one user.
Any update on this? @Kozea
I second the request.
I, too, second the request.
Any update on this?
Came here to leave a comment, this feature would be highly appreciated!
I would also really like this feature.
Update: This issue has been open for a while and I finally found some time to look into it again. I'd like to present a proposed implementation over at PR #1229.
Note: For the moment webcal subscriptions have to be added manually. The PR adds the relevant backend functionality for Radicale to advertise webcal subscriptions, internally stored as collections. A second step would be to add a more user-friendly way to add those subscriptions (e.g. via the Radicale web interface).
Wow! I'm really shocked to see that the changes are that simple. Great work! :D
This is the only feature missing, for me, in this great project.
I second the request. There are still many people waiting for this feature after such a long time, I believe this feature needs to be put on the agenda.
https://github.com/Kozea/Radicale/pull/1229 merged into 3.2-devel