link: keywords: author:
comments:
  • by: text:
def data_urls(self, context, data): return self.service.getAll() def render_url(self, context, data): id, url = data context.tag.fillSlots('link', url.getLink()) context.tag.fillSlots('keywords', ", ".join(url.getKeywords())) context.tag.fillSlots('author', url.getAuthor()) return context.tag def data_comments(self, context, data): return data[1].getComments() def render_comment(self, context, data): context.tag.fillSlots('author', data[0]) context.tag.fillSlots('comment', data[2]) return context.tag