django-rss

Django: 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 detecting it as an xml document. My experience with HTTP tells me that there is a missing mime type in the Content-Type header. How do I ...

Django 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 going on, but I don't understand why. My RSS Feed class is below: class RSSFeed(Feed): title = settings.BLOG_NAME description = ...

Django syndication: How do I avoid description escaping?

Hello. 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 description template: {% autoescape off %} <img src="{{obj.img.url}}"/> {% endautoescape %} And this is the result: &lt;img src="h...

how to make RSS feeds where the /rss/ is at the end of the URL, not at the beginning?

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 http://example.com/rss/feedid/parameters/ I need it to be http://example.com/feedid/parameters/rss/ How to do that? ...

Django Generating RSS feed with description

Hey Guys, 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 work. I would like to generate the feed with a combination of several feeds in my modl. Here is the code i have tried: class...

Django 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" type="application/rss+xml" title="{{ feed_title }}" href="{{ url_of_feed }}" /> Link's HREF attribute can be easily found out, just use rev...

Django Feeds/Syndication - The functions item_title and item_description do not effect whats displayed?

Ive defined a a class that inherits from django.contrib.syndication.feeds.Feed class Rss(Feed): ... def item_title(self, item): return "Hello" def item_description(self, item): return "Test" The issue is whats returned from the methods item_title and item_description is not what is used in the feed, even when no...

Reusing 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 Feed from myapp.models import * class PopularFeed(Feed): title = '%s : Latest SOLs' % settings.SITE_NAME link = '/' description = 'Latest entries t...