예제 #1
0
def display_config():
    print "Managing"
    rss_sources = dh.get_rss_sources()
    rss_sources = enumerate(rss_sources)
    return render_template("manage.html", Rss_sources=rss_sources)
예제 #2
0
def hello_world():
    sources = dh.get_rss_sources()
    feed = rh.get_rss_feed(sources)
    # template = render_template('index.html', Sources=sources)
    return render_template("index.html", Feed=feed)