Webcal和WebDAV / CalDAV有什么区别? [英] What's the difference between Webcal and WebDAV/CalDAV?

查看:864
本文介绍了Webcal和WebDAV / CalDAV有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据我所知,CalDAV是WebDAV的扩展,用于管理iCalendar订阅。

As I understand it, CalDAV is an extension to WebDAV to manage iCalendar subscriptions.

Webcal是一个URL方案,具有相同的功能,但并不标准化。

And Webcal is a URL scheme that does the same thing, but not standarized.

我在这里吗?
这两种方法的利弊是什么?

I'm I right here? Whats the pros/cons for going either way?

推荐答案

朱利安所说的全部,但大概的真正问题是关于纯HTTP上的iCalendar(通常称为webcal, iCalendar订阅或已订阅日历)与CalDAV之间的区别。或换句话说:CalDAV添加了什么。

All what Julian said, but presumably the real question is about the difference between plain iCalendar-over-HTTP (commonly called webcal, 'iCalendar subscription' or 'subscribed calendar') and CalDAV. Or in other words: what does CalDAV add.

简单地说:在iCoHTTP中,您通常将整个日历存储在一个URL下,
如' http://yahoo.com/sports/nba/schedule-2015.ics (或webcal :)。这个网址
代表完整的日历,几乎总是只读的(您不能对该网址进行PUT)。这是为什么?由于要在这样的日历中添加/更改/删除单个事件,因此您需要重新传输完整的日历。

Simply put: in iCoHTTP you usually store a whole calendar under one URL, like 'http://yahoo.com/sports/nba/schedule-2015.ics' (or webcal:). This URL represents a full calendar and is almost always readonly (you can't do a PUT to this URL). Why is that? Because to add/change/delete a single event in such a calendar, you would need to re-transfer the full calendar.

在CalDAV中,日历是WebDAV集合,有一个代表日历的URL,例如:' http://icloud.com/calendars/joe/ home / ,那么每个事件都有一个子URL。就像 http://icloud.com/calendars/joe/home/buy-beer .ics http://icloud.com/calendars/ joe / home / family-meeting.ics 等。然后,您可以仅删除,放入等此类集合中的单个项目。

In CalDAV a calendar is a WebDAV collection, there is one URL which represents the calendar, e.g.: 'http://icloud.com/calendars/joe/home/' and then you have one child URL for each event. Like 'http://icloud.com/calendars/joe/home/buy-beer.ics', 'http://icloud.com/calendars/joe/home/family-meeting.ics' and so on. You can then just DELETE, PUT etc individual items of such a collection.

总而言之:
如果您只是想发布很少更改的日历,并且通过其他方式(例如CMS)进行管理,您可以使用HTTP上的iCal。
如果要提供用户(或可能是一群人)可以在其日历客户端中更改的日历,则要使用CalDAV。

In summary: If you simply want to publish a calendar which rarely changes and is managed by other means (like a CMS), you can use iCal-over-HTTP. If you want to provide a calendar which the user (or maybe a group of people) can change from within their calendar client, you want to use CalDAV.

CalDAV还具有一组扩展,例如许多CalDAV服务器可以自动为您执行计划操作(设置会议等)。有一个扩展可以与其他人共享日历,依此类推。

CalDAV also has a set of extensions, e.g. many CalDAV server can automatically perform scheduling operations for you (setting up meetings and such). There is an extension to share calendars with other people, and so on.

PS:这有点令人困惑,但是,Apple也可以使用WebDAV来管理iCalendar订阅。但这是与CalDAV一起使用的另一件事。

P.S.: This is a bit confusing, but yes, Apple also has a way of using WebDAV to manage iCalendar subscriptions. But this is yet another thing which works alongside CalDAV.

这篇关于Webcal和WebDAV / CalDAV有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆