E-mail Addresses With Special Characters
I wanted to test some Unicode characters to see if they would sync properly. So, I made up an e-mail address: üḯǟôÕ@host.com. The e-mail address synced without any error messages, but when I tried to edit the contact in Gmail I was given the following error: “Please enter a valid email address.”
So, while gContactSync and Thunderbird fully support Unicode, it appears that Google supports Unicode in every field except for email.
Progress Update
L10n (Localization) Support
I finished adding support for localization to the extension. It previously used l10n for the XUL files, but I just finished localizing strings in the scripts. If you or somebody you know would like to help translate this extension please let me know.
Contact Conversion Rewrite
I completely re-wrote the methods that convert contacts from Google Contacts to Thunderbird Address Book cards and vice versa and went from nearly 700 lines of code to just under 275 (with comments). To do so, I defined an object that stores Thunderbird’s name for the property (like DisplayName), and information on how Google stores the contact data in Atom/XML (the namespace, tag name, whether the data is stored in an attribute or in the child node, and more).
As of now, the supported attributes in Thunderbird include:
DisplayName, Notes, PrimaryEmail, SecondEmail, CellularNumber, HomePhone, WorkPhone, PagerNumber, FaxNumber, HomeAddress, WorkAddress, _AimScreenName, Company, and JobTitle
Possible Name
I finally decided on a possible name that some initial searching on Google tells me is unique: gContactSync. Any feedback on the name is welcome and I’ll gladly change it if I find a better name.
Preferences
I removed the need for the “shortDelay” preference.
-
Archives
- June 2009 (1)
- May 2009 (3)
- April 2009 (3)
- March 2009 (4)
- February 2009 (3)
- January 2009 (3)
- November 2008 (1)
- October 2008 (2)
- September 2008 (1)
- August 2008 (14)
- July 2008 (14)
- June 2008 (9)
-
Categories
-
RSS
Entries RSS
Comments RSS