Also, using the update_feeds that's part of the Django Community
Aggregator worked initially, but I started over adding a m2m field on
the Feed model for Sites. I'll have several "sites" as part of the
Django app, like team1.mysite.com, team2.mysite.com, etc.

When I added that field to the models and tried to run the
update_feeds script it did nothing. It didn't import the feeds, didn't
throw an error, etc.

update_feeds:
https://github.com/django/djangoproject.com/blob/master/django_website/aggregator/management/commands/update_feeds.py
my models: http://dpaste.com/551322/

Thanks,

On Jun 6, 4:55 pm, Chris McComas <[email protected]> wrote:
> This could be the wrong place to ask (maybe a BeautifulSoup)
> question...
>
> I have a Django app that is based around the Django Community
> Aggregator, it gets feeds from various sites and displays them on my
> site. What I am wanting to do, if possible, is when it gets a feed if
> a certain zip code is the feed Title or Summary then I want to create
> a entry for that zipcode with that feed?
>
> I have a model for the zip codes, so the list to compare should be
> pulled from that. There'd be a cron that'd run to do this, so for
> example if one of the zip codes is 12345 and one of the feeds it gets
> on the hourly cron has 12345 in the summary, then it'd go to the model
> linking the two and create/save an entry.
>
> Here are the pertinent models:http://dpaste.com/551223/
>
> Thanks,

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" 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/django-users?hl=en.

Reply via email to