Django RSS feed: any way to cache M2M relationship to display in item_title?
Example models Author and Book are linked via M2M. I've found a way to cache the relationship in items, but that doesn't really help because I need to display some info about Author in the Book...
View ArticleDjango: RSS and ATOM feeds Content-Type header?
I followed along this tutorial for django's RSS and ATOM feeds and I got it to work.However the test development server keeps making the browser download the feeds as a file instead of the browser...
View ArticleHow to access data in get_context_data RSS Feed django 2.2
I'm trying to access the context dictionary that is returned by a modified 'get_context_data' function in the LatestVideosFeed so I can use it in a 'news feed' I'm trying to make because the context...
View ArticleDjango Feeds/Syndication - The functions item_title and item_description do...
Ive defined a a class that inherits from django.contrib.syndication.feeds.Feedclass Rss(Feed):... def item_title(self, item): return "Hello" def item_description(self, item): return "Test"The issue is...
View ArticleDjango Syndication Framework
How to add images to rss feeds, here is my code snippetsclass ArticlesRss(Feed): description_template = 'feeds/city_description.html' def get_object(self, request, categoryid): if categoryid == 'all':...
View ArticleDjango RSS feed 500 error
I'm working on setting up an RSS feed for my Django-based blog. I'm getting 500 errors when I try and access the URL:$ curl -I http://172.16.91.140:8000/blogg/feeds/latest/HTTP/1.0 500 INTERNAL SERVER...
View ArticleReusing a Django RSS Feed for different Date Ranges
What would be a way to have date range based rss feeds in Django. For instance if I had the following type of django rss feed model.from django.contrib.syndication.feeds import Feedfrom myapp.models...
View ArticleDjango Generating RSS feed with description
I am trying to generate a full rss feed, however when loading the feed in Mail, it just shows the title, with a read more link at the bottom. I have tried several different options. But none seem to...
View ArticleDjango DRY Feeds
I'm using the Django Feeds Framework and it's really nice, very intuitive and easy to use. But, I think there is a problem when creating links to feeds in HTML.For example:<link rel="alternate"...
View Articlehow to make RSS feeds where the /rss/ is at the end of the URL, not at the...
http://docs.djangoproject.com/en/dev/ref/contrib/syndication/ describes the way to use the Feeds class, and it works well for me, but it requires the URL to be like...
View ArticleDjango RSS Feed Problems
I'm working on a blogging application, and trying to made just a simple RSS feed system function. However, I'm running into an odd bug that doesn't make a lot of sense to me. I understand what's likely...
View ArticleDjango syndication: How do I avoid description escaping?
I'm trying to make a webcomic RSS feed with Django, but I can't put an image in the description field, because the html code gets escaped, even if it's in an {% autoescape off %} block.Here is my...
View Article