[turba] Replace VCARD

Mikael Geijer mikael at nufort.net
Thu Oct 2 01:11:46 PDT 2003


Chuck Hagenbuch wrote:

>Quoting Mikael Geijer <mikael at nufort.net>:
>
>  
>
>>I need to add one more method to the Turba API to get the Syncml/VCard
>>exchange working. I want to replace an existing turba-enty with data
>>from a new VCARD. I guess there are a couple of ways to do that, one is
>>doing it field by field another is deleting the old entry and do an
>>import VCARD, this will render a new object_id and that is not a good
>>thing.  Ideas/opinions are welcome.
>>    
>>
>
>Seems like there should be a method to pass in a new set of attributes for an
>object, and probably a second method to turn vcard data into a set of
>attributes. Then those 2 calls should do what you need, and provide other
>flexibility too.
>
Looks like I can use the setObject- method in the Driver. I'll dive into 
it. One more design issue here, maybe a totally new subject, but anyway.
I would like to be able to sync objects that are modified and newly 
added in the Turba addressbook. I have a timestamp when the last sync 
was made in my sync-app and would like to have two timestamps on the 
Turba objects:
- a creation timestamp
- a "modified" timestamp (as exists on the kronolith_event object).
And then of course some new methods in the api to find newly added and 
modified objects.
Is this something you would consider to include in the Turba object?
Guess it's quite a lot of work, maybe it's better to keep that 
information outside of Horde, but I think the information is quite vital 
to future sync-projects.

Cheers

/Mikael

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=- Mikael Geijer, nufort HB (nufort.net), Oebb AB (oebb.net)
=- mobile: +46 70 7455239 office +46 70 7455239
=- email:  mikael at nufort.net
=- snail:  Kyrklunden 8, 122 32 Enskede, Sweden
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=




More information about the turba mailing list