Fantomas42/django-blog-zinnia — Issue #117: Missing full URL in feeds.py item_enclosure_url
Author: benjaoming
Created: 2011-11-22 11:29:24+00:00
State: open

In feeds.py, line 75:

def item_enclosure_url(self, item):
"""Returns an image for enclosure"""
if item.image:
return item.image.url
....

has to be

def item_enclosure_url(self, item):
"""Returns an image for enclosure"""
if item.image:
return self.site_url + item.image.url
....

Otherwise the feed won't validate and won't display in e.g. Firefox.