Artifact ae6b12dd5ff2664826af89af8b3f31b60aa38a10:
- File applications/mobileblur/controllers/feeds.py — part of check-in [6548f791b4] at 2011-08-15 01:53:32 on branch develop — Mobileblur can log in for a user and get all feeds with unread content above a hardcoded threshold (user: spiffy, size: 384) [annotate] [blame] [check-ins using]
# -*- coding: utf-8 -*- # this file is released under public domain and you can use without limitations from pprint import pprint newsblur = local_import("newsblur") username = "" password = "" threshold = 0 thresholds = ["nt", "ps", "ng"] # indices -1, 0, 1 for negative, neutral, ane positive inhelligence filters def view(): newsblur.login(username, password) return