I am of the opinion that people using feed readers should not have to click through to the website to read the full text of either.
def add_item(self, feed, obj, kwargs=None):
defaults = {
'title': obj.title,
def add_item(self, feed, obj, kwargs=None):
defaults = {
'title': obj.title,
- 'description': obj.excerpt or obj.content,
+ 'description': obj.content,
'author_name': obj.author.get_full_name(),
'pubdate': obj.date
}
'author_name': obj.author.get_full_name(),
'pubdate': obj.date
}
'title': obj.title,
'author_name': ', '.join([author.get_full_name() for author in obj.authors.all()]),
'pubdate': obj.date,
'title': obj.title,
'author_name': ', '.join([author.get_full_name() for author in obj.authors.all()]),
'pubdate': obj.date,
- 'description': obj.lede or obj.full_text,
+ 'description': obj.full_text,
'categories': [tag.name for tag in obj.tags.all()]
}
defaults.update(kwargs or {})
'categories': [tag.name for tag in obj.tags.all()]
}
defaults.update(kwargs or {})