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

[coldsync-hackers] Re: deleted-flag in PDB todo



 On 11-Nov-02 at 23:08:52,
  Pierre Phaneuf <pp@ludusdesign.com> wrote:


> Andrew Arensburger wrote:

> Oops, guess I should write something, eh?

>> If you want to use a Dump conduit, you'll need to compare the 
>> contents of the SQL database and the .pdb file. If your SQL database 
>> stores the Palm record ID, then you can just iterate over all the SQL
>> records, and if there's no matching record in the .pdb file, then
>> delete the SQL record. Alternately, you can write a Sync conduit, but
>> the logic for that is significantly harder than for Fetch or Dump
>> conduits.

> That'd be a good reason to have a "declined" return status for Sync
> conduits, so that others can carry on, including the generic conduit.
> Then, it would be really easy to have a simple Sync conduit that glances
> over things on the Palm, then does the usual (and more complicated)
> stuff...

you can just put two conduits in your config file.. it should work.

-- 

  - alex.



-- 
This message was sent through the coldsync-hackers mailing list.  To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body.  For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.