Re: Starting imports from filesystem via other mechanisms
"Scott Hernandez" <[email protected]> Tue, 29 Jun 2004 11:57:51 -0700
| Newsgroups | gmane.mail.zoe.general |
|---|---|
| Message-ID | <004f01c45e0a$fa957800$2045a8c0@tik> |
Where are the mbox files; on the same machine running Zoe? If they are, what is wrong with initiating the import process using a web browser and moving the files into ~/Library? That would seems like the easiest way. BTW. The import code is pretty straight forward once you are able to compile, package and run from source. ----- Original Message ----- From: "Michael Hanisch" <[email protected]> > > Hi, > > I want to do bulk imports of various .mbox files from the filesystem, > mainly for performance reasons. > The files are already in place, all that is left to do is to start Zoe's > import process... > > At the moment, I see 3 different possible solutions: > - "reverse-engineer" the form and use HTTP POST > - use XML-RPC (is this documented somewhere? Where?) > - write a smallish Java program that does starts the import > > >From what I can tell now, > - the first possibility is the ugliest (but probably the fastest) > - the second sounds cool, that is, IF I can find docs on the XML-RPC API > - the third possibility would probably be the most useful for me, but > would probably take the longest time (figuring out which classes to > use, setting up the context for those classes etc.) > While I'm at it, I could probably write a command line option for Zoe > that starts the import process... > Also, I could get rid of the need to place all .mbox files (huge!) > in ~/Library, which is on an NFS server (slow!)... > > Can anyone give me some hints which direction I should take? > Or maybe tell me that this has already been done? ;-) > > TIA, > Michael. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com