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

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

src/u/l/ulipad-HEAD/plugins/rssreader/RssReader.py   ulipad(Download)
            if not i.has_key('guid'):
                i.guid = i.link
            data = RssDb.Data.get_by(feed_id=rssid, guid=i.guid)
            if data:
                if i.title!= data.title or i.description!=data.description:

src/u/l/ulipad-HEAD/plugins/rssreader/RssPage.py   ulipad(Download)
    def OnCheck(self, index, checkflag):
        RssDb.init(Globals.rss_dbfile)
 
        data = RssDb.Data.get_by(guid=self.guids[index])
        data.read = checkflag
        item = event.GetIndex()
        index = self.list.GetItemData(item)
        data = RssDb.Data.get_by(guid=self.guids[index])
        v = {}
        v["title"] = data.title