[conduit/tracker] Fix handling of fullname and birthdate



commit ccf0d97ff682452f17bcc889f81d9ba50e8b209f
Author: John Carr <john carr unrouted co uk>
Date:   Wed Jun 17 11:31:24 2009 +0100

    Fix handling of fullname and birthdate

 conduit/modules/TrackerModule/TrackerModule.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/conduit/modules/TrackerModule/TrackerModule.py b/conduit/modules/TrackerModule/TrackerModule.py
index 7211617..ffbfd31 100644
--- a/conduit/modules/TrackerModule/TrackerModule.py
+++ b/conduit/modules/TrackerModule/TrackerModule.py
@@ -131,10 +131,12 @@ class TrackerContacts(DataProvider.TwoWay):
         for key, value in tracker.properties():
             if key == "nco:gender":
                 c.vcard.add('x-gender').value = value
-            elif key == "nco:fullName":
+            elif key == "nco:fullname":
                 c.vcard.fn.value = value
             elif key == "nco:nickname":
                 c.vcard.add('nickname').value = value
+            elif key == "nco:birthDate":
+                c.vcard.add("bday").value = value
             elif key == "nco:note":
                 c.vcard.add('note').value = value
             elif key == "nco:hasEmailAddress":



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]