Esempio n. 1
0
 def get(self):
     rsss = RSSService()
     posts = rsss.posts_from("http://visaoagil.wordpress.com/feed/")
     msgs = rsss.posts_from("http://rss.groups.yahoo.com/group/visaoagil/rss")
     page = view.Page()
     page.render(self, 'templates/index/index.html', {'posts':posts, 'msgs':msgs})
Esempio n. 2
0
    def get(self):
        rsss = RSSService()
        items = rsss.materiais()

        page = view.Page()
        page.render(self, 'templates/index/biblioteca.html', {'items':items})