In etpanX, I need an address book to choose easily the recipient when writing a message.
I could use my own format such as abook did. But that would imply writing an address book editor, which is not my goal. And for interoperability reasons, this would not be a smart choice. Then, I think that for address book format, vCard is the best choice since much address book programs can export to this format.
This format was first designed by versit consortium (which as Apple, IBM and Siemens). This is mostly a standard by use but this is now an internet standard (RFC 2426).
Now, which parser to use ?
- KDE uses its own parser in kdelibs.
- mozilla uses its own parser (embedded).
- rolo has implemented its vcard library (LGPL).
- we can find ccard (MPL).
- gnome-pim uses its own parser.
In mozilla, in fact, we can find a parser that is based on an old code from versit consortium (libversit). That code is free for all usage. Then I choose to use that. Though, it needed some fixes so that it works with vcard files generated by Mac OS X Address Book.app. By searching on the internet, I could find some version of this vcard parser that had the source of the parser.
There are no much choice to use a vcard parser without breaking the licence (which is planned to be BSD for etpanX). libversit will be used.
