from scaffold.web import www class control(www.default.html_ui): """rss feed widgets""" def create(self): self.data = [] return self def append(self, title, author, date, link, image, description=''): self.data.append({ 'title': title, 'author': author, 'date': date, 'link': link, 'image': image, 'description': description}) def render(self): htm = u'' for project in self.data: htm += u'
%s