Exemplo n.º 1
0
def get_default_rssfeeds(count):
    d = {}
    for i in range(count):
        d[str(i)] = yarss_config.get_fresh_rssfeed_config(key=str(i))
    return d
Exemplo n.º 2
0
def get_default_rssfeeds(count):
    d = {}
    for i in range(count):
        d[str(i)] = yarss_config.get_fresh_rssfeed_config(key=str(i))
    return d
Exemplo n.º 3
0
 def on_button_add_rssfeed_clicked(self, event=None, a=None, col=None):
     # Get fresh config
     fresh_subscription_config = yarss_config.get_fresh_rssfeed_config(obey_ttl=True)
     rssfeed_dialog = DialogRSSFeed(self, fresh_subscription_config)
     rssfeed_dialog.show()
Exemplo n.º 4
0
	def _verify_feed(feed):
		new_feed = get_fresh_rssfeed_config()
		new_feed.update(feed)
		return new_feed
Exemplo n.º 5
0
	def _verify_feed(feed):
		has_key = 'key' in feed
		_verify_types(feed['key'] if has_key else "", feed, get_fresh_rssfeed_config())
		if not has_key and 'key' in feed:
			del feed['key']
		return feed
Exemplo n.º 6
0
 def on_button_add_rssfeed_clicked(self,Event=None, a=None, col=None):
     # Get fresh config
     fresh_subscription_config = yarss_config.get_fresh_rssfeed_config(obey_ttl=True)
     rssfeed_dialog = DialogRSSFeed(self, fresh_subscription_config)
     rssfeed_dialog.show()