On 6/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > In this particular case, I need to hit a URL that will give me back > some XML. I need to process the XML and put it in data structures that > I want to present with Django. > > Since the fetching and processing of XML can take more than a few > seconds, I don't want to have to do it every time a page is fetched on > the Django website. I would like to be able to check the external XML > every minute or so and update my data structures at that moment.
I'd suggest having a separate script, independent of Web requests, that grabs the XML and formats it once a minute. Then just point Django at that already-formatted data and present it. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---