[Answered ]-How to make RSS feeds where the /rss/ is at the end of the URL, not at the beginning?

2👍

Since Django’s URLs are based on regexes, I think that you can use a rule like this:

(r'^(?P<url>.*)/rss/$', 'django.contrib.syndication.views.feed', {'feed_dict': feeds}),

Though personally, I have never used the Django syndication framework – I just use generic views (or wrappers around generic views) with the content_type option, and generate the RSS/Atom with a template.

Leave a comment