[turba] Replace VCARD
Jan Schneider
jan at horde.org
Thu Oct 2 01:45:58 PDT 2003
Zitat von Mikael Geijer <mikael at nufort.net>:
> 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.
As I understand it, this is what Horde_History is for.
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft
More information about the turba
mailing list