def render(self, context):
        if self.url:
            context[self.var_name] = feedparser.parse(self.url)
        else:
            try:
                context[self.var_name] = feedparser.parse(
                    context[self.url_var_name])
            except __HOLE__:
                raise template.TemplateSyntaxError, "the variable \"%s\" can't be found in the context" % self.url_var_name
        for entry in context[self.var_name]['entries']:
            date_published = entry.get('published', entry.get('updated'))
            date_published = dateutil.parser.parse(date_published)
            entry['date_published'] = date_published
        return ''
dataset/ETHPy150Open zorna/zorna/zorna/templatetags/zorna_tags.py/RssParserNode.render