Installation
$ [sudo] pip install django-rss-link-view
views.py
from django_rss_link_view.views import RssLinkMixin
class MyView(RssLinkMixin,...):
def get_atom_title(self):
return 'atom title'
def get_atom_url(self):
return 'path/to/atom.xml'
def get_rss_title(self):
return 'rss title'
def get_rss_url(self):
return 'path/to/rss.xml'
class MyView(RssLinkMixin,...):
atom_title = 'atom title'
atom_url = 'path/to/atom.xml'
rss_title = 'rss title'
rss_url = 'path/to/rss.xml'