\documentclass{article}
\usepackage{ulem}
\usepackage{graphicx}
\usepackage{hyperref}
\pagestyle{headings}
\begin{document}
\part{<a href="https://wiki.horde.org/CardDAV">CardDAV</a>}
<a href="https://wiki.horde.org/CardDAV">CardDAV</a> is an address book client/server protocol designed to allow users to access and share contact data on a server.

The <a href="https://wiki.horde.org/CardDAV">CardDAV</a> protocol was developed by the IETF and has been published as RFC 6352 in August 2011. <a href="https://wiki.horde.org/CardDAV">CardDAV</a> is based on <a href="https://wiki.horde.org/WebDAV">WebDAV</a>, which is based on HTTP, and it uses vCard for contact data.

-- Wikipedia

\section{People}
<a href="https://wiki.horde.org/JanSchneider">Jan Schneider</a>

\section{Description}
Horde, specifically the Turba module for address books, supports <a href="https://wiki.horde.org/CardDAV">CardDAV</a> as a server for external address book clients, providing a central cloud storage for multiple devices of the users. It cannot use an external <a href="https://wiki.horde.org/CardDAV">CardDAV</a> server as an address book client on its own yet.

Horde utilizes the 3rd party <a href="http://code.google.com/p/sabredav/">SabreDAV</a> library for the grunt work of implementing the <a href="https://wiki.horde.org/CardDAV">CardDAV</a> and related protocols.

Full <a href="https://wiki.horde.org/CardDAV">CardDAV</a> support has been added with Horde 5.1/Turba 4.1.

\section{Configuration}
The Horde\_Dav library is automatically pulled in as a dependency when installing Turba. The necessary database tables can be created as usual from the Horde configuration screen or via \texttt{horde-db-migrate}. The storage backend for all DAV operations has to be enabled in the Horde configuration screen.

\section{Service Discovery}
Some <a href="https://wiki.horde.org/CardDAV">CardDAV</a> clients support automatic discovery of the <a href="https://wiki.horde.org/CardDAV">CardDAV</a> service end points just by providing the user's email address or a host name, and some even require it. To enable service discovery, redirect aliases have to be set in your web server's configuration. The redirect target is either the \texttt{horde/rpc/} directory if you have "pretty" URLs enabled in your Horde configuration, or the \texttt{horde/rpc.php} file otherwise. This is an example for Apache web servers:

<pre><code>
RedirectPermanent /.well-known/carddav /horde/rpc/
</code></pre>
See your web server's documentation about how to set up redirects.

\subsection{DNS}
Service Discovery can also be implemented via DNS setup. Please refer to <a href="http://code.google.com/p/sabredav/wiki/[ServiceDiscovery](ServiceDiscovery)">http://code.google.com/p/sabredav/wiki/[ServiceDiscovery](ServiceDiscovery)</a> for details.

\section{Client configuration}
There are two different kind of <a href="https://wiki.horde.org/CardDAV">CardDAV</a> service end points which may or may not be supported by different clients:

\begin{itemize}
\item \textbf{Principal URLs} are single URLs for each individual user. These provide information about the user himself, and all of his available (<a href="https://wiki.horde.org/CalDAV">CalDAV</a> and <a href="https://wiki.horde.org/CardDAV">CardDAV</a>) resources.


\item \textbf{Address book URLs} are URLs for each individual address book. Clients not supporting Principal URLs require users to enter each Address Book URL individually. They are also required if users want to suscribe to shared address books of other users.


\end{itemize}
Both types of URLs can be retrieved from the address books' edit forms. In the Turba interface click on the edit icon next to an address book name and copy the required URL from there.

\section{Features}
This is a list of devices known to work with Horde's <a href="https://wiki.horde.org/CardDAV">CardDAV</a> implementation. Please update if you gather new information, or have more detailed knowledge about the supported features or versions.

<table class="horde-table">Client/Device & Principal URLs & Address Book URLs & Service Discovery & Notes \\
\hline
\textit{Desktop Clients} &  &  &  &  \\
\hline
<a href="http://www.sogo.nu/english/downloads/frontends.html">SOGo Connector for Thunderbird</a> & No & Yes &  &  \\
\hline
<a href="https://sourceforge.net/projects/outlookcaldavsynchronizer/">Outlook CalDav Synchronizer</a> (Outlook <a href="https://wiki.horde.org/CalDAV/CardDAV">CalDAV/CardDAV</a> Plugin) & Yes & Yes & Yes &  \\
\hline
<a href="http://www.apple.com/osx/apps/#contacts">Apple Address Book</a> & Yes & Yes & Confirmed with Address Book 6.1/OS X 10.7 , works on manual for El Captain ,  Contacts 9.0 (1679) ; only loads one address book at the moment &  \\
\hline
\textit{Mobile Devices} &  &  &  &  \\
\hline
<a href="http://davdroid.bitfire.at">DAVdroid</a> (Android 4+) & Yes & Yes & Yes &  \\
\hline
<a href="https://play.google.com/store/apps/details?id=com.vcard.android">ContactSync</a> (Android) & Yes & Yes & Yes &  \\
\hline
<a href="https://play.google.com/store/apps/details?id=org.dmfs.carddav.Sync">!CardDAV-Sync</a> (Android) & Yes & Yes &  &  \\
\hline
iOS & Yes & Yes & Tested with iOS 5.1.1, 6.1.3, and 7.0.3. Service Discovery is required due to a buggy client implementation. &  \\
\hline
BlackBerry & Yes & Yes & Tested with BB10 simulator. &  \\
\hline
</table>
\end{document}
