On Wed, 2012-02-22 at 18:52 +0100, Milan Crha wrote: > On Wed, 2012-02-22 at 08:19 -0500, Adam Tauno Williams wrote: > > There are correct ways to do discovery. It isn't even that hard. At > > the DAV root a server can publish available collections; such as > > calendars can be advertised by making a DAV:calendar-home-set > > available. CardDAV uses the DAV:addressbook-home-set property. > > Clients should use those. The collections pointed to by these > > properties [values are URLs] can be enumerated to list the available > > calendars / addressbooks. > I suppose, as a starter, there should work to get the "Browse Server" > code from CalDAV plugin and add it to the WebDAV plugin, with the above > changes, and couple more (there is checked what the collection provides > and thus whether it can be used as a result of the browse operation) and > that's basically it?
Yep, that should be it. a. retrieve the addressbook-home-set property from the server's DAV root b. enumerate the collection indicated by that property It is pretty simple, but the number of clients that implement it can probably be counted on one hand. Most seem to try to do URL guessing or server-agent detection [the reverse of a server doing user-agent detection]. -- System & Network Administrator [ LPI & NCLA ] <http://www.whitemiceconsulting.com> OpenGroupware Developer <http://www.opengroupware.us> Adam Tauno Williams _______________________________________________ evolution-list mailing list [email protected] To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
