From d1a89ac3228ac6f6519c541f708a934074fb8131 Mon Sep 17 00:00:00 2001 From: Fredrik Wahlberg Date: Mon, 17 Nov 2014 14:56:31 +0000 Subject: [PATCH] =?UTF-8?q?Lade=20till=20stj=C3=A4rnm=C3=A4rkta=20artiklar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tinyrss_feeds | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tinyrss_feeds b/tinyrss_feeds index fb6f8cf..73ef739 100755 --- a/tinyrss_feeds +++ b/tinyrss_feeds @@ -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: