Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/u/l/ulipad-HEAD/plugins/rssreader/RssReader.py   ulipad(Download)
    def refresh_feed_unread(self, rssid):
        RssDb.init(Globals.rss_dbfile)
 
        feed = RssDb.Feed.get(rssid)
        number = RssDb.Data.un_read_count(rssid)
            self.add_category_ids(i.id, root)
            for f in RssDb.Feed.select(RssDb.Feed.c.category_id==i.id, order_by=[RssDb.Feed.c.title]):
                number = RssDb.Data.un_read_count(f.id)
                if number:
                    caption = u"(%d)%s" % (number, f.title)