Hello,

I have been working on some simplistic programs that allow for off
Palm storage of the main DBs in an XML format and for the restoration,
or importation, of that, or new, info back up to the Palm via an XML
parser. I'd like to get some feedback on what I've done so far, so
here goes.

The work builds on the pilot-link suite and other ideas I've seen
from

Norm Walsh's Palm DTDs                http://nwalsh.com/palm/index.html
James Clark's Expat XML parser        http://sourceforge.net/projects/expat/
Vadim Zaliva's ExpenseDB in xml code  A posting to this list from
                                       [EMAIL PROTECTED]

So far, there are read/install pairs for the Address, Datebook,
Expense, Memo and ToDo DBs. They all look very similar and all do the
same thing and appear to, me to, be lossless (although some attributes
are not currently saved, which probably should be were this ever to be
used in anger).
 
If anyone wants to take a look at the codes and tell me what they
think (or where to stick them) then they can be found at:

http://www.lancs.ac.uk/~kevin/pilot-link/kmb-pl-xml.tgz

There is a readme file called "Notes" inside that tells a fuller story.

They are not meant to replace anything in the main pilot-link suite,
indeed I hope that their functionality will be in the main suite at
some point, and so they are really just my attempt to do something
with, and get a better understanding of, XML and the pilot-link suite,
but if anyone out there likes playing with other people's codes, any
feedback would be welcome.


Can I also ask a question: 

The Address, Expense, Memo and ToDo DBs all appear to be able to have
entries in them deleted by category and there is an API call to do
this, as used in the original pilot-addresses (the -d and -D flags).

Deleting all entries in a DB this way leaves the category info on the
Palm, in a way that deleting the whole DB with say, pilot-xfer, does not.

Although the Datebook DB in normal use doesn't have categories, I've
seen info that suggests the structures are there and that some
non-Palm apps make use of these.

I have tried using this call on the datebook DB but no entries get
deleted (presumably as the Palm "recognises" that the entries have no
category, not even unfiled) although no major error occurs.

Is there then, a way [API call(s)] to delete entries in the Datebook
DB in this "by category" way, ie without potentially removing the
whole DB ?

All the best
Kevin

-- 
Regards,

----------------------------------------------------------------------
*  Kevin M. Buckley              e-mail: [EMAIL PROTECTED]   *
*                                                                    *
*  Systems Administrator                                             *
*  Computer Centre                                                   *
*  Lancaster University          Voice:  +44 (0) 1524 5 93718        *
*  LANCASTER. LA1 4YW            Fax  :  +44 (0) 1524 5 25113        *
*  England.                                                          *
*                                                                    *
*  My PC runs Linux/GNU, you still computing the Bill Gate$' way ?   *
----------------------------------------------------------------------
_______________________________________________
Pilot-unix mailing list
[EMAIL PROTECTED]
http://hcirisc.cs.binghamton.edu/mailman/listinfo/pilot-unix

Reply via email to