feincms-syndication
can be used to add RSS feed output to your site.
Steps:
Install
feincms-syndication
into your virtualenv.Add
'feincms_syndication'
toINSTALLED_APPS
.Create the content type:
from feincms.module.page.models import Page from feincms_syndication.contents import FeedContent Page.create_content_type( FeedContent, TYPE_CHOICES=(('default', _('Default')),))
The content is looking for templates in the following order in the folder
content/feincms_syndication/
:
- Type +
.html
default.html