MailNews Talk:Address Book: Difference between revisions

File Formats and Export/Import
(File Formats and Export/Import)
Line 48: Line 48:


Similarly for individual vs. company (i.e. location) email addresses.
Similarly for individual vs. company (i.e. location) email addresses.
== File Formats and Export/Import ==
I'd like to see the import/export formats expanded. I believe the current PDA/Cell/iPod standard is VCARD, so this would be first. The future of the internet seems to heavily use XML, so I'd suggest developing towards that eventuality. There are already google-able pages up on RDF-VCARD formats in XML.
I see the double-email and associative/relational issues as issues of Object Definition.
What are the individual objects? [object ratio, ie- #Entry:#Objects]
As I understand it, the VCARD 3.0 is: (correct me if i'm wrong, and these are only the fields I think important)
* AddressBook Entry
** Name  [1:1]
*** Display Name / Formatted Name  [1:1]
*** Family Name / Last Name  [1:1]
*** Given Name / First Name  [1:1]
*** Suffixes and Prefixes
** Address  [1:*]
*** Type: Home, Work, etc.
** Phone  [1:*]
*** Type: Voice, Fax, Pager, Modem, Home, Work, Mobile  [1:1] (string of all that apply)
*** Value: The actual phone number, in x.500
** Email  [1:*]
*** Type: Home, Work, etc.
*** Value: actual email address
** URL  [1:*]
*** Type: Home, Work, Personal
*** Value: http://sub.domain.url
Contact merging isn't straightforward, reliably doing so would require a GUID for each contact, and that's not going to happen until Big Brother fully exists. However, during a "merge" or "compact", suspected duplicates could pop up a dialog box with both sets of info like:<br>
----
<pre>
( ) Name: John Public        |  (*) Name: John Q. Public
[x] Phone: +1-800-555-5555    |  [x] Phone: +1-555-800-5555
</pre>
and so on...
and you'd click the checkboxes you want in the merged contact. In the case of addresses and phone numbers, multiples can be checked, whereas for Name, only 1 can be chosen (radiobutton).
== Contact Input Dialog ==
This needs to incorporate the possibility of many more address, phone, URL, and email objects, including the ability to have many of the same type (ie. more than 1 HOME email, more than 1 WORK phone) Outlook had these capabilities, and so should this project.
1

edit