The syndication feed framework
Django comes with a high-level syndication-feed-generating framework that makes creating RSS and Atom feeds easy.
To create any syndication feed, all you have to do is write a short Python class. You can create as many feeds as you want.
Django also comes with a lower-level feed-generating API. Use this if you want to generate feeds outside of a Web context, or in some other lower-level way.
The high-level framework
Overview
The high-level feed-generating framework is a view that’s hooked to /feeds/ by default. Django uses the remainder of the URL (everything after /feeds/) to determine which feed to output.
To create a feed, just write a Feed class and point to it in your URLconf.
No comments:
Post a Comment