I'm new to python & GAE, so go easy on me :). I'm trying to pull xml data and put it in the datastore. I've created my db.Model class and I've got urlfetch.fetch(url) working to retrieve the xml data.
What's the most efficient way of putting the retrieved xml content (it could be JSON if that would help) into the datastore? This is not a one-off data extraction. I have it working currently by parsing using ElementTree.XML and creating a load function on the db.model class which retrieves values from the xml tree, but it seems very manual and difficult to maintain. I can't help but wonder if there's a standard way of tying db.model classes to xml feeds in a more elegant way. Thanks for any help. --Dave --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
