Frederic Devernay writes: > Hello, > > I saw you message on adding palm support to gnucash on the list, did > you come to any conclusion? Yes, I have thought about it, but I've put the project on hold until gnucash has the ability to store metadata (including rules to map Palm expense app categories to gnucash accounts) in .xac files. This ability will come in the 1.5 series, I believe. > I think the best idea is to implement a gnucash conduit, separate from > gnucash. It would just synchronize the expense DB with a local gnucash > file. To read and write to a gnucash file, you need to link in the gnucash engine anyway. You are correct, though, a conduit should be run independently of the gnucash app. It could be either a single binary (as are the conduits in > pilot-link), or -even better for GNOME users- a GNOME conduit. Yes, I think a gnome-based conduit would be a good idea, considering GnuCash is a gnome app. I presume you've looked at gnome-pilot? > Gnucash would just have to check if the file was modified, and ask if > it should reload it (a bit like emacs does). Unfortunately, that won't work quite right. Gnucash uses the straightforward save/load model, which means any changes made in the current session would be lost. The best solution is for gnucash to move to a database-driven approach (preliminary work on this is happening right now), but there are a couple of alternative approaches that will do the trick if this takes too long - basically, write the data to an intermediate file, and import Palm data on opening a file. You could also (automatically) periodically check to see whether any new Palm data has been written to the intermediate file, and import that. > I've never used gnucash or the expense app on my Palm, but I'm willing > to help on this project. > That'd be really good. Have you had a look at how gnome-pilot is coded? If you've got a chance, download the source code and have a look. However, until we have metadata in our file format, there's not really much point in doing much active work on it. ------------------------------------------------------------ Robert Merkel [EMAIL PROTECTED] ------------------------------------------------------------ -- Gnucash Developer's List To unsubscribe send empty email to: [EMAIL PROTECTED]