On 10/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, I'm new to python and I am trying to implement a website which > parses newsgroups for cooking recipes.
My recommendation would be to write a separate script (not directly using Pylons) that parses the newsgroups and adds the recipes to the database. You could then have this script running in a cronjob, and the Pylons app could handle reading the recipes from the database. I do much the same thing (only kind of in reverse) to handle sending mail from my Pylons app; I put mail in an emailqueue table and have a runner every five minutes to send the mail. That way, if the smtp server is down or something, the app can keep chugging along as normal. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss -~----------~----~----~----~------~----~------~--~---
