On Aug 1, 2006, at 9:36 AM, a wrote:

> preparing rss feeds
>
> i hav a table in postgres and it has title and body columns, i want to
> create a rss file on the fly when this table is updated wat is the  
> best
> way to get it done
> thanks a lot

If that table is part of your Django project, just add a method to  
the post_save signal that's sent whenever that particular model is  
updated/saved. I don't think it's documented anywhere, but I did  
throw up some rudimentary documentation here:

http://code.djangoproject.com/wiki/Signals

As for outputting an RSS feed, it's wonderfully simple. Just go here:

http://www.djangoproject.com/documentation/syndication/

Hope this helps!

-Tyson


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to