def item_description(self, obj):
        if isinstance(obj, Object):
            if obj.body:
                return obj.body
            else:
                return obj.details
        elif isinstance(obj, UpdateRecord):
            body = ''
            for object in obj.about.all():
                body += '<a href="' + self.site_url + \
                    object.get_absolute_url(
                    ) + '">' + unicode(object) + ' (' + object.get_human_type() + ')</a><br />'
            body += obj.get_full_message()
            return body
Returns object's body, details or full message
dataset/ETHPy150Open treeio/treeio/treeio/core/rss.py/ObjectFeed.item_description