Now printing rss feeds insted of events
This commit is contained in:
parent
b7e8a5c662
commit
1ac32e2545
1 changed files with 8 additions and 3 deletions
|
@ -16,6 +16,7 @@ from settings import *
|
|||
from MonthOvPanel import MonthOvPanel
|
||||
import OwmForecasts
|
||||
import IcalEvents
|
||||
import RssParserPosts
|
||||
|
||||
locale.setlocale(locale.LC_ALL, datetime_locals[language])
|
||||
debug = DebugConsole()
|
||||
|
@ -59,9 +60,13 @@ def main ():
|
|||
owm = OwmForecasts.OwmForecasts(api_key)
|
||||
design.add_weather(OwmForecasts.OwmForecasts(api_key))
|
||||
|
||||
debug.print_line('Fetching events from your calendar')
|
||||
events_cal = IcalEvents.IcalEvents(ical_urls)
|
||||
design.add_calendar(events_cal)
|
||||
#debug.print_line('Fetching events from your calendar')
|
||||
#events_cal = IcalEvents.IcalEvents(ical_urls)
|
||||
#design.add_calendar(events_cal)
|
||||
|
||||
debug.print_line('Fetching posts from your rss-feeds')
|
||||
rss = RssParserPosts.RssParserPosts(rss_feeds)
|
||||
design.add_rssfeed(rss)
|
||||
|
||||
for output in output_adapters:
|
||||
output.render(design)
|
||||
|
|
Loading…
Reference in a new issue