Django comes with a syndication feed framework that allows you to create RSS and Atom feeds easily. RSS and Atom feeds are XML documents with specific semantics. They can be subscribed in an RSS reader such as Feedly or they can be aggregated in other websites, mobile applications, or desktop applications. In this recipe, we will create
BulletinFeed, which provides a bulletin board with images. Moreover, the results will be filterable by URL query parameters.
Create a new
bulletin_board app and put it under
INSTALLED_APPS in the settings.
We will create a
Bulletin model and an RSS feed for it. We will be able to filter the RSS feed by type or category so that it is possible to only subscribe ...