From fabc4c5d44edacb68d7327bed2a640132e3b57dc Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Thu, 17 Apr 2014 17:28:08 -0700 Subject: [PATCH] added outlook web mapping --- bbdb3-csv-import.el | 46 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/bbdb3-csv-import.el b/bbdb3-csv-import.el index b644e52..7632258 100644 --- a/bbdb3-csv-import.el +++ b/bbdb3-csv-import.el @@ -126,7 +126,8 @@ ;; note. PO Box and Extended Address are added as additional address street lines if they exist. -;; If you don't like this, you can remove them. If you want some other special handling, it will need to be coded. +;; If you don't like this, just delete them from this fiel. +;; If you want some other special handling, it will need to be coded. (defconst bbdb3-csv-import-gmail '(("firstname" "Given Name") ("lastname" "Family Name") @@ -161,6 +162,7 @@ (repeat ("Custom Field 1 - Type" "Custom Field 1 - Value")))) "Gmail csv export format") + (defconst bbdb3-csv-import-gmail-typed-email (append (car (last bbdb3-csv-import-gmail)) '((repeat "E-mail 1 - Type"))) "Like the first Gmail mapping, but use custom fields to store @@ -168,6 +170,48 @@ people don't use those labels and using the default labels would create useless custom fields.") +(defconst bbdb3-csv-import-outlook-web-typed-email + (append (car (last bbdb3-csv-import-outlook-web)) '((repeat "E-mail 1 - Type"))) + "Like the previous var, but for outlook-web. +Adds email labels as custom fields.") + + +(defconst bbdb3-csv-import-outlook-web + '(("firstname" "First Name") + ("lastname" "Last Name") + ("middlename" "Middle Name") + ("mail" "E-mail Address" "E-mail 2 Address" "E-mail 3 Address") + ("phone" + "Assistant's Phone" "Business Fax" "Business Phone" + "Business Phone 2" "Callback" "Car Phone" + "Company Main Phone" "Home Fax" "Home Phone" + "Home Phone 2" "ISDN" "Mobile Phone" + "Other Fax" "Other Phone" "Pager" + "Primary Phone" "Radio Phone" "TTY/TDD Phone" "Telex") + ("address" + (("business address" + (("Business Street") + "Business City" "Business State" + "Business Postal Code" "Business Country")) + ("home address" + (("Home Street") + "Home City" "Home State" + "Home Postal Code" "Home Country")) + ("other address" + (("Other Street") + "Other City" "Other State" + "Other Postal Code" "Other Country")))) + ("organization" "Company") + ("xfields" + "Anniversary" "Family Name Yomi" "Given Name Yomi" + "Suffix" "Department" "Job Title" "Birthday" "Manager's Name" "Notes" + "Spouse" "Web Page")) + "Hotmail.com, outlook.com, live.com, etc. +Based on 'Export for outlook.com and other services', +not the export for Outlook 2010 and 2013.") + + + (defvar bbdb3-csv-import-mapping-table nil "The table which maps bbdb3 fields to csv fields. Use the default as an example to map non-thunderbird data. -- 2.30.2