[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[coldsync-hackers] Help! - adding field mapping feature to addressbook conduit
- To: coldsync-hackers at lusars dot net
- Subject: [coldsync-hackers] Help! - adding field mapping feature to addressbook conduit
- From: "Brian Johnson" <bjohnson at jecinc dot on.ca>
- Date: Thu, 08 Aug 2002 02:41:09 +0000
- Reply-To: coldsync-hackers at lusars dot net
- Sender: owner-coldsync-hackers at lusars dot net
I would like to add a feature to my addressbook conduit that syncs to a database to
allow the user to place some lists in the ~/.coldsyncrc file (for this conduit)
that establishes the field mapping. That way the user can determine the fields
order used to fill up the 5 phone fileds
Could someone help me a bit with the coding here
If I add an item (let's call it 'field_order') that contains a comma separated list
in the HEADERS section of the conduit, how can I do a for loop through it.
How would I refer to the individiual items (ie how do I refer to the third item?)?
Is this possible? Is there a better way to do it?
--
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.