feeds.py #coding:utf-8 __author__ = 'similarface' from django.contrib.syndication.views import Feed from django.template.defaultfilters import truncatewords from .models import Post class LastestPostsFeed(Feed): title='博客园' link='/myblog' description