[google-appengine] Re: External database dump

2009-01-12 Thread Greg Temchenko
I don't think you can use bulk uploader for your purposes but you can just investigate how it works. However yes, you can update records. Just use the same key name for updated records. On Jan 11, 9:23 pm, gabon nuthink...@googlemail.com wrote: Well, Bulk Data Uploader seems definitely very

[google-appengine] Re: External database dump

2009-01-12 Thread gabon
This HandleEntity looks very cool! thanks a lot, chr On Jan 12, 9:05 am, djidjadji djidja...@gmail.com wrote: You can implement your own HandleEntity() class MyLoader(bulkload.Loader):   def HandleEntity(self, entityNew): - look for an entity with the same primary key - if found      

[google-appengine] Re: External database dump

2009-01-11 Thread Greg Temchenko
I guess you have to split your XML file and work with it by steps. Did you see how bulkloader works? On Jan 11, 2:04 pm, gabon nuthink...@googlemail.com wrote: I would like to use GAE with the data created and maintained in a different application in a different server. My solution was to

[google-appengine] Re: External database dump

2009-01-11 Thread gabon
I started optimizing everywhere. Now I have a textarea input where I paste a json string (I presume is faster to parse than xml). I still got problems. Is it really the solution to split the operation in more manual steps? Is it not possible to have an automatized and longer process, giving for

[google-appengine] Re: External database dump

2009-01-11 Thread Gipsy Gopinathan
I think one other wired way of achieving this will be to go for a javascript Ajax solution. Let the javascript in browser do the xml parsing and hit appengine for each entities via an Ajax request. in this case you have the control of including a wait period between your calls. cheeers gipsy

[google-appengine] Re: External database dump

2009-01-11 Thread djidjadji
Bulkloader is a GAE util http://code.google.com/appengine/articles/bulkload.html It reads CSV files but maybe you can rewrite it to read XML files 2009/1/11 gabon nuthink...@googlemail.com: With bulkloader, you mean the actionscript 3 library?

[google-appengine] Re: External database dump

2009-01-11 Thread Greg Temchenko
I mean GAE data uploader. You can read here: http://code.google.com/appengine/articles/bulkload.html It splits a csv file into 10 lines requests and inserts it step by step. On Jan 11, 3:45 pm, gabon nuthink...@googlemail.com wrote: I started optimizing everywhere. Now I have a textarea input

[google-appengine] Re: External database dump

2009-01-11 Thread gabon
Well, Bulk Data Uploader seems definitely very useful. What if I would like to update the records? (every now and then) Thanks, chr On Jan 11, 3:31 pm, Greg Temchenko soid@gmail.com wrote: I mean GAE data uploader. You can read here:http://code.google.com/appengine/articles/bulkload.html