1

I wanted to ask a question about server data. I am new to server programming, but I have to learn about the CardDav server (CardDav is developed by the WebDav).

I only know the CardDav server is used to hold the address book data, but what form of the data does the server actually hold (e.g. .CSV or .txt)? Can anyone help me? Thank you very much.

ccellar
  • 10,326
  • 2
  • 38
  • 56
Questions
  • 20,055
  • 29
  • 72
  • 101

2 Answers2

8

The format on the server is up to the server. The format on the wire is vCard (RFC 2426, to be updated soonish).

Julian Reschke
  • 40,156
  • 8
  • 95
  • 98
2

The file format used is vCard; the wikipedia entry contains a basic explanation of the file format: http://en.wikipedia.org/wiki/VCard

For the gory details, take a look at RFC2426: https://www.rfc-editor.org/rfc/rfc2426

Community
  • 1
  • 1
Greg S
  • 12,333
  • 2
  • 41
  • 48
  • would you mind I ask one more question about the server. What is the file type stored of the CalDav server. Thank you. – Questions Aug 11 '10 at 08:35
  • @MarkSiu: this depends on the CalDAV server, there are several implementations. Atmail (http://atmail.com/), for example, uses a MySQL database, and I assume that other products also use a similar approach. – Greg S Aug 11 '10 at 08:55
  • thank you for your reply. I found some information in the wiki and I found that one of the format is the iCalendar. Is it right? – Questions Aug 11 '10 at 09:05