Lade till stjärnmärkta artiklar
This commit is contained in:
@@ -22,11 +22,17 @@ def count():
|
||||
for article in hls:
|
||||
fresh = fresh + 1
|
||||
|
||||
strd = client.get_headlines(feed_id=-3)
|
||||
starred = 0
|
||||
for article in strd:
|
||||
starred = starred + 1
|
||||
|
||||
feeds = client.get_feed_count()
|
||||
|
||||
print "unread.value %s" % unread
|
||||
print "fresh.value %s" % fresh
|
||||
print "feeds.value %s" % feeds
|
||||
print "starred.value %s" % starred
|
||||
|
||||
|
||||
def config():
|
||||
@@ -53,6 +59,11 @@ feeds.colour 006699
|
||||
feeds.max 10000
|
||||
feeds.min 0
|
||||
feeds.info The number of subscribed feeds
|
||||
starred.label Starred
|
||||
starred.colour FDD017
|
||||
starred.max 10000
|
||||
starred.min 0
|
||||
starred.info The number of starred articles
|
||||
"""
|
||||
|
||||
if len(sys.argv) > 1:
|
||||
|
||||
Reference in New Issue
Block a user